Skip to content

Commit

Permalink
wip: update constants.
Browse files Browse the repository at this point in the history
  • Loading branch information
dmbuck32 committed Mar 27, 2022
1 parent a2bed2a commit 1b219ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion nodelet_plugins.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<library path="lib/libtransformPointcloud">
<class name="transform_pointcloud/transformPointcloud" type="transform_pointcloud::transformPointcloud" base_class_type="nodelet::Nodelet">
<description>
Transform pointcloud nodelet
Transform pointcloud nodelet.
</description>
</class>
</library>
2 changes: 2 additions & 0 deletions package.xml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,11 @@
<build_depend>tf</build_depend>
<build_depend>tf2_sensor_msgs</build_depend>

<build_export_depend>nodelet</build_export_depend>
<build_export_depend>roscpp</build_export_depend>
<build_export_depend>sensor_msgs</build_export_depend>
<build_export_depend>tf</build_export_depend>
<build_export_depend>tf2_sensor_msgs</build_export_depend>

<exec_depend>nodelet</exec_depend>
<exec_depend>roscpp</exec_depend>
Expand Down
4 changes: 2 additions & 2 deletions src/transform_pointcloud_nodelet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ void transformPointcloud::onInit()
ReferenceFrame = reference_frame;

// Get the transform timeout.
double transform_timeout = 0.01;
double transform_timeout = 0.02;
nhp.getParam("transform_timeout", transform_timeout);
TransformTimeout = ros::Duration(transform_timeout);

// Get the polling timeout.
double polling_timeout = 0.01;
double polling_timeout = 0.02;
nhp.getParam("polling_timeout", polling_timeout);
PollingTimeout = ros::Duration(polling_timeout);

Expand Down

0 comments on commit 1b219ca

Please sign in to comment.