Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
L
laser
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mobile_robotics
wolf_projects
wolf_lib
plugins
laser
Commits
3633a2ff
Commit
3633a2ff
authored
3 years ago
by
Joan Solà Ortega
Browse files
Options
Downloads
Patches
Plain Diff
follow core 422
parent
845abf29
No related branches found
No related tags found
3 merge requests
!30
Release after RAL
,
!29
After 2nd RAL submission
,
!26
Resolve "Follow core 422"
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/laser/processor/processor_odom_icp.h
+3
-3
3 additions, 3 deletions
include/laser/processor/processor_odom_icp.h
src/processor/processor_odom_icp.cpp
+2
-2
2 additions, 2 deletions
src/processor/processor_odom_icp.cpp
with
5 additions
and
5 deletions
include/laser/processor/processor_odom_icp.h
+
3
−
3
View file @
3633a2ff
...
@@ -42,7 +42,7 @@ namespace wolf {
...
@@ -42,7 +42,7 @@ namespace wolf {
WOLF_PTR_TYPEDEFS
(
ProcessorOdomIcp
);
WOLF_PTR_TYPEDEFS
(
ProcessorOdomIcp
);
WOLF_STRUCT_PTR_TYPEDEFS
(
ParamsProcessorOdomIcp
);
WOLF_STRUCT_PTR_TYPEDEFS
(
ParamsProcessorOdomIcp
);
struct
ParamsProcessorOdomIcp
:
public
ParamsProcessorTracker
,
public
Params
Is
Motion
struct
ParamsProcessorOdomIcp
:
public
ParamsProcessorTracker
,
public
ParamsMotion
Provider
{
{
// ICP Params
// ICP Params
laserscanutils
::
icpParams
icp_params
;
laserscanutils
::
icpParams
icp_params
;
...
@@ -60,7 +60,7 @@ struct ParamsProcessorOdomIcp : public ParamsProcessorTracker, public ParamsIsMo
...
@@ -60,7 +60,7 @@ struct ParamsProcessorOdomIcp : public ParamsProcessorTracker, public ParamsIsMo
ParamsProcessorOdomIcp
()
=
default
;
ParamsProcessorOdomIcp
()
=
default
;
ParamsProcessorOdomIcp
(
std
::
string
_unique_name
,
const
ParamsServer
&
_server
)
:
ParamsProcessorOdomIcp
(
std
::
string
_unique_name
,
const
ParamsServer
&
_server
)
:
ParamsProcessorTracker
(
_unique_name
,
_server
),
ParamsProcessorTracker
(
_unique_name
,
_server
),
Params
Is
Motion
(
_unique_name
,
_server
)
ParamsMotion
Provider
(
_unique_name
,
_server
)
{
{
// keyframe voting
// keyframe voting
vfk_min_dist
=
_server
.
getParam
<
double
>
(
prefix
+
_unique_name
+
"/keyframe_vote/min_dist"
);
vfk_min_dist
=
_server
.
getParam
<
double
>
(
prefix
+
_unique_name
+
"/keyframe_vote/min_dist"
);
...
@@ -127,7 +127,7 @@ struct ParamsProcessorOdomIcp : public ParamsProcessorTracker, public ParamsIsMo
...
@@ -127,7 +127,7 @@ struct ParamsProcessorOdomIcp : public ParamsProcessorTracker, public ParamsIsMo
}
}
};
};
class
ProcessorOdomIcp
:
public
ProcessorTracker
,
public
Is
Motion
class
ProcessorOdomIcp
:
public
ProcessorTracker
,
public
Motion
Provider
{
{
protected:
protected:
// Useful sensor stuff
// Useful sensor stuff
...
...
This diff is collapsed.
Click to expand it.
src/processor/processor_odom_icp.cpp
+
2
−
2
View file @
3633a2ff
...
@@ -29,7 +29,7 @@ namespace wolf
...
@@ -29,7 +29,7 @@ namespace wolf
ProcessorOdomIcp
::
ProcessorOdomIcp
(
ParamsProcessorOdomIcpPtr
_params
)
:
ProcessorOdomIcp
::
ProcessorOdomIcp
(
ParamsProcessorOdomIcpPtr
_params
)
:
ProcessorTracker
(
"ProcessorOdomIcp"
,
"PO"
,
2
,
_params
),
ProcessorTracker
(
"ProcessorOdomIcp"
,
"PO"
,
2
,
_params
),
Is
Motion
(
"PO"
,
_params
),
Motion
Provider
(
"PO"
,
_params
),
odom_origin_
(
Eigen
::
Vector3d
::
Zero
()),
odom_origin_
(
Eigen
::
Vector3d
::
Zero
()),
odom_last_
(
Eigen
::
Vector3d
::
Zero
()),
odom_last_
(
Eigen
::
Vector3d
::
Zero
()),
odom_incoming_
(
Eigen
::
Vector3d
::
Zero
()),
odom_incoming_
(
Eigen
::
Vector3d
::
Zero
()),
...
@@ -372,7 +372,7 @@ VectorComposite ProcessorOdomIcp::getState(const TimeStamp& _ts, const StateStru
...
@@ -372,7 +372,7 @@ VectorComposite ProcessorOdomIcp::getState(const TimeStamp& _ts, const StateStru
void
ProcessorOdomIcp
::
setProblem
(
ProblemPtr
_problem_ptr
)
void
ProcessorOdomIcp
::
setProblem
(
ProblemPtr
_problem_ptr
)
{
{
NodeBase
::
setProblem
(
_problem_ptr
);
NodeBase
::
setProblem
(
_problem_ptr
);
addToProblem
(
_problem_ptr
,
std
::
dynamic_pointer_cast
<
Is
Motion
>
(
shared_from_this
()));
addToProblem
(
_problem_ptr
,
std
::
dynamic_pointer_cast
<
Motion
Provider
>
(
shared_from_this
()));
}
}
}
// namespace wolf
}
// namespace wolf
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment