ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You subscribe to joint_states like you subscribe for any other topic: Tutorial

You subscribe to joint_states like you subscribe for any other topic: Tutorial

You subscribe to joint_states like you subscribe for any other topic: Tutorial

You subscribe to joint_states like you subscribe for any other topic: Tutorial

Example for accessing joint state: for(unsigned int i = 0; i < msg.position.size(); i++) { msg.position[i] += 0.03; } You can lookup the message definitions in the ROS wiki.

You subscribe to joint_states like you subscribe for any other topic: Tutorial

Example for accessing joint state: state:

for(unsigned int i = 0; i < msg.position.size(); i++) { msg.position[i] += 0.03; }

You can lookup the message definitions in the ROS wiki.

You subscribe to joint_states like you subscribe for any other topic: Tutorial

Example for accessing joint state:

for(unsigned int i = 0; i < msg.position.size(); i++) { msg.position[i] += 0.03; }

You can lookup the message definitions in the ROS wiki.wiki.