You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
That makes integration of MoveItPy with other rclpy tools (subscribers, services, ...) more complicated for beginners who cannot rely on official ROS 2 tutorials to assemble with MoveItPy.
Is there a recommanded way to use the MoveItPy + rclpy.node.Node combo?
The text was updated successfully, but these errors were encountered:
You might be able to create something that subclasses from a node and stick the MoveItPy instance inside it as an attribute, but I haven't tried this myself.
Shouldn't the tutos create a regular node like this instead? This is confusing for newcomers, they're told in regular ROS tutorials to create a node via class inheritance, but MoveItPy is not demonstrated this way.
If you'd be willing to add a new tutorial on "Using MoveItPy in existing ROS 2 nodes", that would be a good addition to the currently small set of Python tutorials.
Hi,
The MoveItPy tutorials do not create a
rclpy.node.Node
instance:moveit2_tutorials/doc/examples/motion_planning_python_api/scripts/motion_planning_python_api_tutorial.py
Lines 53 to 77 in 12edc7e
In my opinion this is somehow inconsistent with
rclpy
tutorials that recommand to inherit fromrclpy.node.Node
here:https://docs.ros.org/en/jazzy/Tutorials/Beginner-Client-Libraries/Writing-A-Simple-Py-Publisher-And-Subscriber.html
That makes integration of MoveItPy with other rclpy tools (subscribers, services, ...) more complicated for beginners who cannot rely on official ROS 2 tutorials to assemble with MoveItPy.
Is there a recommanded way to use the
MoveItPy
+rclpy.node.Node
combo?The text was updated successfully, but these errors were encountered: