mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Arducopter - commands: Add home logging
This commit is contained in:
parent
67ecaa9252
commit
d34ca0e6ea
@ -198,7 +198,10 @@ static void init_home()
|
|||||||
// -------------------
|
// -------------------
|
||||||
// no need to save this to EPROM
|
// no need to save this to EPROM
|
||||||
set_cmd_with_index(home, 0);
|
set_cmd_with_index(home, 0);
|
||||||
print_wp(&home, 0);
|
//print_wp(&home, 0);
|
||||||
|
|
||||||
|
if (g.log_bitmask & MASK_LOG_CMD)
|
||||||
|
Log_Write_Cmd(0, &home);
|
||||||
|
|
||||||
// Save prev loc this makes the calcs look better before commands are loaded
|
// Save prev loc this makes the calcs look better before commands are loaded
|
||||||
prev_WP = home;
|
prev_WP = home;
|
||||||
|
Loading…
Reference in New Issue
Block a user