How airoa-org/yubi-sw works
YUBI is the operator-side ROS 2 bringup for a two-handed robot-manipulation data-collection interface. The main workflow launches variant-configured hardware and control nodes: gripper encoders and Quest or footpedal inputs publish ROS data for the collection stack. The launch registry selects nodes from merged configuration; a separate data-collection launch adds command dispatch and rosbridge. The README documents setup and variants, while excerpts show encoder processing and Quest transport. Some hardware and topic wiring is documented but not fully sampled, so uncertain links are omitted.
Main entry points: launch_registry.py Node registry · yubi_data_collection.launch.py Collection launch · yubi_bringup.launch.py Bringup launch · encoder_node.py Encoder node
Components 18
Bringup orchestration
- Bringup launch
yubi_bringup/launch/yubi_bringup.launch.py - Collection launch
yubi_bringup/launch/yubi_data_collection.launch.py - Node registry
yubi_bringup/yubi_bringup/launch_registry.py - Robot description
yubi_description/urdf/yubi_hand.urdf.xacro - ROS websocket
yubi_bringup/launch/yubi_data_collection.launch.py
Hardware sensing
- Gripper encoders
- AS5601 driver
firmware/ESP32C6_AS5601/AS5601.cpp - Encoder node
yubi_bringup/yubi_bringup/encoder_node.py
Operator controls
- Footpedal
footpedal_ros/src/footpedal_node.cpp - Click detector
yubi_bringup/yubi_bringup/double_click_detector.py - Gripper click node
yubi_bringup/yubi_bringup/gripper_double_click_node.py - Portable controls
yubi_bringup/yubi_bringup/portable_joy_command_node.py - Command dispatch
yubi-core
Quest integration
- Quest device
- Quest bridge
airoa_quest/airoa_quest_bridge/airoa_quest_bridge/quest_bridge_node.py - TCP JSON transport
airoa_quest/airoa_quest_bridge/airoa_quest_bridge/transport/tcp_json.py
Other components
- Operator
- Collection backend
yubi-core
Connections 21
- Operator → Collection launch: starts collection
README.md - Collection launch → Bringup launch: includes bringup
yubi_bringup/launch/yubi_data_collection.launch.py - Bringup launch → Node registry: selects nodes
yubi_bringup/launch/yubi_bringup.launch.py - Collection launch → Node registry: selects nodes
yubi_bringup/launch/yubi_data_collection.launch.py - Bringup launch → Robot description: loads model
yubi_bringup/launch/yubi_bringup.launch.py - Node registry → Encoder node: launches
yubi_bringup/yubi_bringup/launch_registry.py - Node registry → Quest bridge: launches
yubi_bringup/yubi_bringup/launch_registry.py - Node registry → Footpedal: launches
yubi_bringup/yubi_bringup/launch_registry.py - Node registry → Gripper click node: launches
yubi_bringup/yubi_bringup/launch_registry.py - Node registry → Portable controls: launches
yubi_bringup/yubi_bringup/launch_registry.py - Node registry → Command dispatch: launches
yubi_bringup/yubi_bringup/launch_registry.py - Gripper encoders → AS5601 driver: rotate sensor
README.md - AS5601 driver → Encoder node: streams readings
README.md - Encoder node → Gripper click node: publishes joint state
yubi_bringup/yubi_bringup/gripper_double_click_node.py - Gripper click node → Click detector: detects clicks
yubi_bringup/yubi_bringup/gripper_double_click_node.py - Footpedal → Command dispatch: provides input
- Portable controls → Command dispatch: provides input
- Quest device → TCP JSON transport: streams data
airoa_quest/airoa_quest_bridge/airoa_quest_bridge/transport/tcp_json.py - TCP JSON transport → Quest bridge: delivers frames
airoa_quest/airoa_quest_bridge/airoa_quest_bridge/quest_bridge_node.py - Collection launch → ROS websocket: starts service
yubi_bringup/launch/yubi_data_collection.launch.py - ROS websocket → Collection backend: exposes ROS data
README.md