velocity_smoother.launch.xml 1.1 KB

12345678910111213141516171819202122232425
  1. <!--
  2. Velocity smoother
  3. -->
  4. <launch>
  5. <arg name="nodelet_manager"/>
  6. <arg name="navigation_topic"/>
  7. <node pkg="nodelet" type="nodelet" name="follower_velocity_smoother"
  8. args="load yocs_velocity_smoother/VelocitySmootherNodelet $(arg nodelet_manager)">
  9. <rosparam file="$(find carebot_follower)/param/smoother.yaml" command="load"/>
  10. <remap from="follower_velocity_smoother/smooth_cmd_vel" to="$(arg navigation_topic)"/>
  11. <!-- Robot velocity feedbacks; use the default base configuration -->
  12. <remap from="follower_velocity_smoother/odometry" to="/odom"/>
  13. <remap from="follower_velocity_smoother/robot_cmd_vel" to="/mobile_base/commands/velocity"/>
  14. <!-- connecting between follower/cmd_vel in mobile_base_nodelet and smoother/raw_cmd_vel in camera_nodelet -->
  15. <!-- <remap from="follower_velocity_smoother/raw_cmd_vel" to="/mobile_base_nodelet_camera_nodelet/raw_cmd_vel"/> -->
  16. <!-- Configure velocity smoother to allow more aggressive motion -->
  17. <param name="accel_lim_v" value="0.1"/>
  18. <param name="accel_lim_w" value="0.5"/>
  19. <param name="decel_factor" value="0.5"/>
  20. </node>
  21. </launch>