Closed lklimkiewicz7 closed 8 months ago
The addition of rclpy.ok to prevent multiple calls to init is a good workaround however, there is an issue of calls to other rclpy states such as shutdown. I will be opening another pull request to introduce node ownership parameter to make sure all node state managing functions are accessible to only one robot.
@lklimkiewicz7 Thanks for your valuable contribution!
One (like me) may want to control multiple interbotix arms from single process using python API. Currently it throws exception due to calling
rclpy.init()
twice. These simple changes seem to fix this issue.