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

Method send_cmd

scripts/unitree_deploy/deploy_real.py:115–118  ·  view source on GitHub ↗

Send a low-level command to the robot.

(self, cmd: LowCmdGo | LowCmdHG)

Source from the content-addressed store, hash-verified

113 self.remote_controller.set(self.low_state.wireless_remote)
114
115 def send_cmd(self, cmd: LowCmdGo | LowCmdHG):
116 """Send a low-level command to the robot."""
117 cmd.crc = CRC().Crc(cmd)
118 self.lowcmd_publisher_.Write(cmd)
119
120 def wait_for_low_state(self):
121 """Block until at least one low state message arrives."""

Callers 5

zero_torque_stateMethod · 0.95
move_to_default_posMethod · 0.95
default_pos_stateMethod · 0.95
runMethod · 0.95
deploy_real.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected