Show EOL distros: 

shadow_robot: sr_description | sr_example | sr_gazebo_plugins | sr_hand | sr_hardware_interface | sr_kinematics | sr_mechanism_controllers | sr_mechanism_model | sr_move_arm | sr_movements | sr_robot_msgs | sr_tactile_sensors | sr_utilities

Package Summary

sr_utilities contains different useful header libraries (math libraries, etc...).

shadow_robot: sr_description | sr_example | sr_gazebo_plugins | sr_hand | sr_hardware_interface | sr_mechanism_controllers | sr_mechanism_model | sr_moveit_config | sr_movements | sr_robot_msgs | sr_self_test | sr_tactile_sensors | sr_utilities

Package Summary

sr_utilities contains different useful header libraries (math libraries, etc...).

shadow_robot: sr_description | sr_example | sr_hand | sr_hardware_interface | sr_mechanism_controllers | sr_mechanism_model | sr_movements | sr_robot_msgs | sr_self_test | sr_tactile_sensors | sr_utilities

Package Summary

sr_utilities contains different useful header libraries (math libraries, etc...).

sr_core: sr_gazebo_sim | sr_hand | sr_hardware_interface | sr_mechanism_controllers | sr_mechanism_model | sr_tactile_sensors | sr_utilities

Package Summary

sr_utilities contains different useful header libraries (math libraries, etc...).

Overview

sr_utilities contains a merger for the joint_states. It is a simple and non optimal merger:

  • subscribe to two joint_states topics
  • when a message is received on one of those topics, wait until another message is received on the second topic.
  • when both messages are received, publish the merged message to the output topic.

Please note that the robot_state_publisher should soon implement this feature (with a cleaner implementation), as stated by Wim in the mailing list.

ROS API

Input Topics

The node subscribes to the two topics to merge: /srh/position/joint_states and /sr_arm/position/joint_states. These are hard coded for the time being.

Output Topics

Publishes the merged joint state messages to /position/joint_states.

Wiki: sr_utilities (last edited 2014-02-17 11:53:24 by UgoCupcic)