Robotics StackExchange | Archived questions

Is it possible to run a ros node with an independant class method ?

I am new to ROS2, and I am wondering if it is possible to have a method that "ros run" my node. I only have acces to some data through this ros node subscription topics, and I want to use it to communicate with external ports. (only my function in Folder1/FUNCTIONS has access to the external ports) I have an folder: FOLDER1/FUNCTIONS .. FOLDER1/myros2package.

Asked by frieder on 2022-11-11 10:53:27 UTC

Comments

duplicate of #q409266

Asked by ravijoshi on 2022-11-14 04:06:53 UTC

Answers