MCPcopy Create free account
hub / github.com/InternRobotics/OpenHomie / JoystickHandler

Method JoystickHandler

HomieDeploy/unitree_sdk2/g1_control.cpp:240–244  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

238 }
239
240 void JoystickHandler(const void *message)
241 {
242 std::lock_guard<std::mutex> lock(joystick_mutex);
243 joystick_msg = *(unitree_go::msg::dds_::WirelessController_ *)message;
244 }
245
246 void _simpleLCMThread(){
247 while(true){

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected