mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 21:48:28 -04:00
Rover: make it possible to change board orientation at runtime
This commit is contained in:
parent
595d3c694a
commit
be3c80127a
@ -792,6 +792,9 @@ static void one_second_loop()
|
|||||||
Log_Write_Current();
|
Log_Write_Current();
|
||||||
// send a heartbeat
|
// send a heartbeat
|
||||||
gcs_send_message(MSG_HEARTBEAT);
|
gcs_send_message(MSG_HEARTBEAT);
|
||||||
|
|
||||||
|
// allow orientation change at runtime to aid config
|
||||||
|
ahrs.set_orientation();
|
||||||
}
|
}
|
||||||
|
|
||||||
static void update_GPS(void)
|
static void update_GPS(void)
|
||||||
|
Loading…
Reference in New Issue
Block a user