ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.