How quanjb/hri_thuc_hanh works
This ROS 2 package turns a text request (currently only “Q”) into robot drawing waypoints, previews the path in RViz, then asks MoveIt to approach the start and execute a Cartesian trajectory. Its main runtime is two Python nodes joined by a custom service; a launch file starts them together, while a separate launch file brings up UR3 simulation. The README describes an unrelated TurtleBot navigation system, so it does not document this package’s capabilities. Relationships below are based on the sampled source; MoveIt and RViz are external dependencies.
Main entry points: moveit_executor_node.py MoveIt executor node · draw_text_app.launch.py Drawing app launch · text_to_waypoints_node.py Text-to-waypoints node · ur3_sim_bringup.launch.py UR3 simulation launch
Components 11
Launch and simulation
- Drawing app launch
src/ur3_text_drawer/launch/draw_text_app.launch.py - UR3 simulation launch
src/ur3_text_drawer/launch/ur3_sim_bringup.launch.py
Trajectory generation
- Text trajectory service
src/ur3_text_drawer/srv/GenerateTextTrajectory.srv - Text-to-waypoints node
src/ur3_text_drawer/ur3_text_drawer/text_to_waypoints_node.py
Robot execution
- MoveIt executor node
src/ur3_text_drawer/ur3_text_drawer/moveit_executor_node.py
Other components
- Operator
- UR simulation MoveIt
- RViz
- Cartesian path service
- MoveGroup action
- Execute trajectory action
Connections 11
- Operator → Drawing app launch: starts
src/ur3_text_drawer/launch/draw_text_app.launch.py - Operator → UR3 simulation launch: starts
src/ur3_text_drawer/launch/ur3_sim_bringup.launch.py - Drawing app launch → Text-to-waypoints node: launches
src/ur3_text_drawer/launch/draw_text_app.launch.py - Drawing app launch → MoveIt executor node: launches
src/ur3_text_drawer/launch/draw_text_app.launch.py - UR3 simulation launch → UR simulation MoveIt: includes
src/ur3_text_drawer/launch/ur3_sim_bringup.launch.py - MoveIt executor node → Text trajectory service: requests
src/ur3_text_drawer/ur3_text_drawer/moveit_executor_node.py - Text-to-waypoints node → Text trajectory service: serves
src/ur3_text_drawer/ur3_text_drawer/text_to_waypoints_node.py - Text-to-waypoints node → RViz: publishes preview
src/ur3_text_drawer/ur3_text_drawer/text_to_waypoints_node.py - MoveIt executor node → MoveGroup action: plans approach
src/ur3_text_drawer/ur3_text_drawer/moveit_executor_node.py - MoveIt executor node → Cartesian path service: computes path
src/ur3_text_drawer/ur3_text_drawer/moveit_executor_node.py - MoveIt executor node → Execute trajectory action: executes path
src/ur3_text_drawer/ur3_text_drawer/moveit_executor_node.py