Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
wolf_ros_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_ros
wolf_ros_laser
Commits
dc22b33f
Commit
dc22b33f
authored
2 years ago
by
Alejandro Lopez Gestoso
Browse files
Options
Downloads
Patches
Plain Diff
Fixed bug in getParam load_params_from_msg
parent
3d31cee4
No related branches found
No related tags found
1 merge request
!8
Devel
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/subscriber_laser2d.cpp
+1
-1
1 addition, 1 deletion
src/subscriber_laser2d.cpp
with
1 addition
and
1 deletion
src/subscriber_laser2d.cpp
+
1
−
1
View file @
dc22b33f
...
...
@@ -34,7 +34,7 @@ SubscriberLaser2d::SubscriberLaser2d(const std::string& _unique_name,
sensor_laser_
=
std
::
dynamic_pointer_cast
<
SensorLaser2d
>
(
sensor_ptr_
);
assert
(
sensor_laser_
!=
nullptr
&&
"SubscriberLaser2d: sensor provided is not of type SensorLaser2d"
);
laser_params_from_msg_
=
not
_server
.
getParam
<
bool
>
(
prefix_
+
"/load_params_from_msg"
);
laser_params_from_msg_
=
_server
.
getParam
<
bool
>
(
prefix_
+
"/load_params_from_msg"
);
upside_down_
=
getParamWithDefault
<
bool
>
(
_server
,
prefix_
+
"/upside_down"
,
false
);
}
...
...
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