MCPcopy Create free account
hub / github.com/RoboVerseOrg/RoboVerse / LowStateHgHandler

Method LowStateHgHandler

scripts/unitree_deploy/deploy_real.py:104–108  ·  view source on GitHub ↗

Handle incoming low state messages for HG transports.

(self, msg: LowStateHG)

Source from the content-addressed store, hash-verified

102 init_cmd_go(self.low_cmd, weak_motor=self.config.weak_motor)
103
104 def LowStateHgHandler(self, msg: LowStateHG):
105 """Handle incoming low state messages for HG transports."""
106 self.low_state = msg
107 self.mode_machine_ = self.low_state.mode_machine
108 self.remote_controller.set(self.low_state.wireless_remote)
109
110 def LowStateGoHandler(self, msg: LowStateGo):
111 """Handle incoming low state messages for GO transports."""

Callers

nothing calls this directly

Calls 1

setMethod · 0.80

Tested by

no test coverage detected