ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
![]() | 1 | initial version |
I figured it out. I have to implement NodeMain in the main java file, save the passed NodeConfiguration to a global volatile, read it from the runnable() which contains the RosNode. I am sure there is a better way of doing it (such as simply passing the NodeConfiguration to the run() method) but this works for now. If I run into problems with it, I will post an update.
![]() | 2 | No.2 Revision |
I figured it out. I have to implement NodeMain in the main java file, save the passed NodeConfiguration to a global volatile, and read it from the runnable() which contains the RosNode. I am sure there is a better way of doing it (such as simply passing the NodeConfiguration to the run() method) but this works for now. If I run into problems with it, I will post an update.