Skip to content

Commit

Permalink
add rostopic_stats_logger
Browse files Browse the repository at this point in the history
  • Loading branch information
iche033 committed Mar 31, 2020
1 parent 9da2c21 commit a610ef5
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions subt_ros/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -76,3 +76,7 @@ install(TARGETS pose_tf_broadcaster subt_ros_relay set_pose_relay bridge_logger
install(DIRECTORY launch
DESTINATION ${CATKIN_PACKAGE_SHARE_DESTINATION}
)

install(PROGRAMS scripts/rostopic_stats_logger.sh
DESTINATION ${CATKIN_PACKAGE_BIN_DESTINATION}
)
7 changes: 7 additions & 0 deletions subt_ros/launch/competition_init.launch
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
<arg name="robot_names" default=""/>
<arg name="enable_ground_truth" default="0"/>

<param name="/enable_statistics" value="true"/>
<param name="/use_sim_time" value="true"/>
<param name="/world_name" value="$(arg world_name)"/>
<rosparam param="/robot_names" subst_value='true'>$(arg robot_names)</rosparam>
Expand All @@ -22,6 +23,12 @@
type="bridge_logger"
name="bridge_logger"/>


<node
pkg="subt_ros"
type="rostopic_stats_logger.sh"
name="rostopic_stats_logger"/>

<group if="$(arg enable_ground_truth)">
<!-- In the case that ground truth is enabled, also relay the /set_pose
service, which allows teleportation of models in the sim environment.
Expand Down

0 comments on commit a610ef5

Please sign in to comment.