Conversation
Greptile SummaryThis PR adds Rage Mode support for the Unitree Go2 via WebRTC, using undocumented Confidence Score: 4/5Safe to merge after addressing the unconditional True return in enable_rage_mode; the RPC state-guard concern is lower priority but worth noting. Both findings are P2, but the unconditional True return is an inconsistency with every other command method's contract and could mask real failures silently — worth a fix before merging. The RPC guard concern is a documentation/safety hardening note. All other changes (KeyboardTeleop refactor, blueprint, stubs) are clean. dimos/robot/unitree/connection.py — enable_rage_mode return value logic Important Files Changed
Sequence DiagramsequenceDiagram
participant B as Blueprint
participant G as GO2Connection
participant C as UnitreeWebRTCConnection
participant R as Robot (WebRTC)
B->>G: start() [mode=rage]
G->>C: start()
G->>C: standup()
C->>R: SPORT_MOD {StandUp}
Note over G: sleep(3s)
G->>C: balance_stand()
C->>R: SPORT_MOD {BalanceStand}
Note over G: mode == RAGE
G->>C: enable_rage_mode()
C->>R: SPORT_MOD {api_id: 2059, data: true}
Note over C: sleep(2s)
C->>R: SPORT_MOD {SwitchJoystick, data: true}
C-->>G: True (always)
G->>C: set_obstacle_avoidance(true)
C->>R: OBSTACLES_AVOID {enable: 1}
Note over G: Robot ready — ~2.5 m/s envelope active
Reviews (1): Last reviewed commit: "feat: mode enum" | Re-trigger Greptile |
leshy
left a comment
There was a problem hiding this comment.
haha were you brave enough to test existing nav with rage mode on?
Nice idea, Notyet. will try increasing max velocity from 1m/s to max, step-by-step, and spectate behavior, untill out-of-control |
Problem
No Rage Mode (~2.5 m/s forward velocity) on the Go2 via WebRTC
Solution
unitree-go2-webrtc-rage-keyboard-teleopblueprint with higher base speeds (1.25 m/s linear, 1.2 rad/s angular) tuned for rage's envelopeBreaking Changes
None
How to Test
dimos run unitree-go2-webrtc-rage-keyboard-teleopRobot should stand up, enter Rage Mode (visible gait change), then accept keyboard velocity commands
WASD at base speed should move at ~1.25 m/s, Shift+W should hit ~2.5 m/s
Contributor License Agreement