How stevejaman/unitree_go2_agricultural works
This repository adds autonomous exploration, navigation orchestration, live camera viewing, and D1-T arm control to the Go2 platform; it also includes a Gazebo simulation and archived CMU mapping software. The main user workflow starts navigation through the runtime script, explores using the frontier node and Nav2, and sends motion to the robot; arm operation is an independent optional workflow. The README documents these system-level connections. Several implementation links, especially explorer-to-Nav2 and simulation wiring, are not shown in the excerpts, so they are omitted or marked unverified.
Main entry points: wifi_nav.sh Wi-Fi navigation launcher · frontier_explorer.py Frontier explorer · nav2_bringup.launch.py Nav2 navigation stack · start_arm.sh Arm startup and fold
Components 18
Navigation and exploration
- Wi-Fi navigation launcher
scripts/runtime/wifi_nav.sh - Robot network discovery
scripts/runtime/go2_net.sh - Frontier explorer
scripts/nodes/frontier_explorer.py - Nav2 navigation stack
cmu-legacy/go2_integration_pkg/launch/nav2_bringup.launch.py - Go2 robot and motors
Arm control
- Arm startup and fold
scripts/runtime/start_arm.sh - D1 arm controller
scripts/nodes/d1_arm_control.py - Arm calibration
scripts/nodes/d1_arm_calibration.py - Unitree D1-T arm
Simulation
- Go2 and arm model builder
gazebo/sim/build_model.py - Simulation robot bridge
gazebo/sim/sim_robot_bridge.py - Gazebo simulator
Archived mapping
- Legacy map ROS node
cmu-legacy/go2_integration_pkg/go2_integration_pkg/map_node.py - Occupancy and point-cloud mapping
cmu-legacy/go2_integration_pkg/go2_integration_pkg/core/mapping.py
Camera and operator interface
- RViz exploration panel
src/go2_explore_panel/src/explore_panel.cpp - Live camera relay
scripts/nodes/go2_camera_relay.py - Waypoint tour export
scripts/tools/export_tour.py
Other components
- Operator
Connections 18
- Operator → Wi-Fi navigation launcher: starts navigation
README.md - Wi-Fi navigation launcher → Robot network discovery: resolves addresses
README.md - Wi-Fi navigation launcher → Frontier explorer: launches navigation
- Frontier explorer → Nav2 navigation stack: requests navigation
- Nav2 navigation stack → Go2 robot and motors: sends velocity
README.md - Operator → RViz exploration panel: toggles exploration
src/go2_explore_panel/src/explore_panel.cpp - RViz exploration panel → Frontier explorer: publishes resume
- Go2 robot and motors → Live camera relay: provides camera stream
README.md - Operator → Arm startup and fold: requests arm fold
README.md - Wi-Fi navigation launcher → Arm startup and fold: starts optionally
README.md - Arm startup and fold → D1 arm controller: commands arm
- D1 arm controller → Unitree D1-T arm: sends DDS commands
README.md - Operator → Arm calibration: calibrates joints
README.md - Arm calibration → D1 arm controller: uses arm control
- Go2 and arm model builder → Gazebo simulator: generates robot model
- Gazebo simulator → Simulation robot bridge: provides simulated data
- Simulation robot bridge → Nav2 navigation stack: bridges robot topics
- Legacy map ROS node → Occupancy and point-cloud mapping: uses mapping core
cmu-legacy/go2_integration_pkg/go2_integration_pkg/map_node.py