mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-08 17:08:28 -04:00
AP_Beacon_Marvelmind: Relax the precision of the position of Hedge
But we are conservative here and use 20cm instead (until MM provides us with a proper accuracy value)
This commit is contained in:
parent
4f26bc7cad
commit
0a04a2a8c2
@ -373,7 +373,8 @@ void AP_Beacon_Marvelmind::set_stationary_beacons_positions()
|
|||||||
hedge.cur_position.x__mm * 0.001f,
|
hedge.cur_position.x__mm * 0.001f,
|
||||||
-hedge.cur_position.z__mm * 0.001f); //Transform Marvelmind ENU to Ardupilot NED
|
-hedge.cur_position.z__mm * 0.001f); //Transform Marvelmind ENU to Ardupilot NED
|
||||||
//TODO: Calculate Accuracy of the received signal. Marvelmind *advertises* +/- 2cms
|
//TODO: Calculate Accuracy of the received signal. Marvelmind *advertises* +/- 2cms
|
||||||
set_vehicle_position(vehicle_position_NED__m, 0.02f);
|
// But we are conservative here and use 20cm instead (until MM provides us with a proper accuracy value)
|
||||||
|
set_vehicle_position(vehicle_position_NED__m, 0.2f);
|
||||||
set = true;
|
set = true;
|
||||||
Debug(2,
|
Debug(2,
|
||||||
"Hedge is at N%.2f, E%.2f, D%.2f",
|
"Hedge is at N%.2f, E%.2f, D%.2f",
|
||||||
|
Loading…
Reference in New Issue
Block a user