Closed ManuelKochETH closed 2 years ago
I assume this is because, in creating the InterbotixManipulatorXS
object, you're creating another node in the same process or context. To get around this, take a look at the xsarm_robot script for an example of how to do this. Basically, you would sub-class the InterbotixManipulatorXS
class and use its core (the actual node) to create subs/pubs, use parameters, get the logger, etc.
Ah this makes sense. Thanks for the quick answer.
Question
I'd like to use the Interbotix Python Arm Module from a custom node. The goal is to use the set_ee_pose_components function when a certain ROS message is received with x,y and z depending on the message content. But including the InterbotixManipulatorXS class in a custom node leads to the node crashing with RuntimeError.
Here the code for a minimal subscriber as in the ROS2 documentation:
And the error obtained when running the node:
Is there a way of using the API this way?
Robot Model
wx250s
Operating System
Ubuntu 20.04
ROS Version
ROS2 Galactic
Anything Else
No response