How pspals02/hw5_rbe4540 works
This ROS 2 package provides robot-motion interfaces and a pick-and-place demo. The principal workflow is a caller triggering the demo, which receives camera images and issues Cartesian/joint motion and gripper commands. A separate motion node exposes pose control, plans Cartesian paths, tracks joint state, and sends trajectory actions. Service schemas are generated in multiple language bindings. The demo and motion-node excerpts are partial; relationships are shown only where the excerpts or source index support them, and the behavior of move_hover is not sampled.
Main entry points: hover_func.py Pick-place runner · ur_move_simple_interface.py Motion service node · srv Motion service schemas · _common_interfaces_merlab_s.ep.rosidl_typesupport_introspection_c.c Generated service bindings
Components 11
Pick-place demo
- Pick-place runner
hover_above/hover_above/hover_func.py - Hover motion
hover_above/hover_above/move_hover.py
Robot motion
- Motion service node
hover_above/hover_above/ur_move_simple_interface.py
ROS interfaces
- Motion service schemas
install/common_interfaces_merlab/lib/python3.12/site-packages/common_interfaces_merlab/srv - Generated service bindings
install/common_interfaces_merlab/lib/python3.12/site-packages/common_interfaces_merlab/_common_interfaces_merlab_s.ep.rosidl_typesupport_introspection_c.c
Other components
- Demo caller
- Camera topic
- Gripper controller
- Joint states
- Cartesian planner
- Trajectory action
Connections 10
- Demo caller → Pick-place runner: triggers
- Camera topic → Pick-place runner: publishes images
hover_above/hover_above/hover_func.py - Pick-place runner → Gripper controller: commands
hover_above/hover_above/hover_func.py - Pick-place runner → Motion service node: requests motion
- Joint states → Motion service node: publishes state
hover_above/hover_above/ur_move_simple_interface.py - Motion service node → Cartesian planner: requests path
hover_above/hover_above/ur_move_simple_interface.py - Motion service node → Trajectory action: sends goals
hover_above/hover_above/ur_move_simple_interface.py - Pick-place runner → Motion service schemas: uses services
hover_above/hover_above/hover_func.py - Motion service node → Motion service schemas: serves pose
hover_above/hover_above/ur_move_simple_interface.py - Motion service schemas → Generated service bindings: has type support
install/common_interfaces_merlab/lib/python3.12/site-packages/common_interfaces_merlab/_common_interfaces_merlab_s.ep.rosidl_typesupport_introspection_c.c