mirror of
https://github.com/CopterExpress/clever-show.git
synced 2026-05-30 00:39:32 +00:00
copter_client: Increase position answer accuracy
This commit is contained in:
@@ -177,7 +177,7 @@ def _response_cal_status():
|
||||
@messaging.request_callback("position")
|
||||
def _response_position():
|
||||
telem = FlightLib.get_telemetry(client.active_client.FRAME_ID)
|
||||
return "{:.1f} {:.1f} {:.1f} {:.1f} {}".format(
|
||||
return "{:.2f} {:.2f} {:.2f} {:.1f} {}".format(
|
||||
telem.x, telem.y, telem.z, math.degrees(telem.yaw), client.active_client.FRAME_ID)
|
||||
|
||||
@messaging.request_callback("calibrate_gyro")
|
||||
|
||||
Reference in New Issue
Block a user