Functions | |
def | callback (msgs) |
def | config_callback (config, level) |
def | find_mesh (link_name) |
Variables | |
alpha = rospy.get_param("~alpha", 0.5) | |
doc = parseString(robot_description) | |
g_config = None | |
g_links = doc.getElementsByTagName('link') | |
pub = rospy.Publisher('~marker', MarkerArray) | |
rgb = rospy.get_param("~rgb", [1, 0, 0]) | |
robot_description = rospy.get_param("/robot_description") | |
scale = rospy.get_param("~scale", 1.02) | |
srv = Server(ContactStateMarkerConfig, config_callback) | |
sub = rospy.Subscriber("~input", ContactStatesStamped, callback) | |
Colorize link according to hrpsys_ros_bridge/ContactState using visualization_msgs/Marker
def contact_state_marker.callback | ( | msgs | ) |
Definition at line 47 of file contact_state_marker.py.
def contact_state_marker.config_callback | ( | config, | |
level | |||
) |
Definition at line 19 of file contact_state_marker.py.
def contact_state_marker.find_mesh | ( | link_name | ) |
Definition at line 24 of file contact_state_marker.py.
contact_state_marker.alpha = rospy.get_param("~alpha", 0.5) |
Definition at line 90 of file contact_state_marker.py.
contact_state_marker.doc = parseString(robot_description) |
Definition at line 96 of file contact_state_marker.py.
contact_state_marker.g_config = None |
Definition at line 18 of file contact_state_marker.py.
contact_state_marker.g_links = doc.getElementsByTagName('link') |
Definition at line 97 of file contact_state_marker.py.
contact_state_marker.pub = rospy.Publisher('~marker', MarkerArray) |
Definition at line 99 of file contact_state_marker.py.
contact_state_marker.rgb = rospy.get_param("~rgb", [1, 0, 0]) |
Definition at line 89 of file contact_state_marker.py.
contact_state_marker.robot_description = rospy.get_param("/robot_description") |
Definition at line 92 of file contact_state_marker.py.
contact_state_marker.scale = rospy.get_param("~scale", 1.02) |
Definition at line 91 of file contact_state_marker.py.
contact_state_marker.srv = Server(ContactStateMarkerConfig, config_callback) |
Definition at line 98 of file contact_state_marker.py.
contact_state_marker.sub = rospy.Subscriber("~input", ContactStatesStamped, callback) |
Definition at line 100 of file contact_state_marker.py.