Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
mobile_robotics
wolf_projects
wolf_ros
wolf_ros_laser
Commits
39d1c50f
Commit
39d1c50f
authored
Apr 27, 2022
by
Joan Solà Ortega
Browse files
Rename getSensor(name) --> findSensor(name)
parent
b143d3fa
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/publisher_falko.cpp
View file @
39d1c50f
...
...
@@ -45,7 +45,7 @@ PublisherFalko::PublisherFalko(const std::string &_unique_name, const ParamsServ
max_points_
=
getParamWithDefault
<
int
>
(
_server
,
prefix_
+
"/max_points"
,
1e3
);
extrinsics_
=
_server
.
getParam
<
bool
>
(
prefix_
+
"/extrinsics"
);
sensor_
=
_problem
->
get
Sensor
(
_server
.
getParam
<
std
::
string
>
(
prefix_
+
"/sensor"
));
sensor_
=
_problem
->
find
Sensor
(
_server
.
getParam
<
std
::
string
>
(
prefix_
+
"/sensor"
));
// dynamic_ptr_cast(sensor_)
if
(
!
sensor_
)
throw
std
::
runtime_error
(
"sensor not found"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment