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

return exit the fonction so it's normal not to go into the two conditions. I would advise you to get some knwoledge in python before getting into ROS since ROS isn't a way to learn a programming language.

So just get rid of the line return mode and you will get your data.