mirror of https://github.com/ArduPilot/ardupilot
Rover: log STER dataflash message regardless of mode
It is useful to at least have the pilot's steering in request even in manual modes
This commit is contained in:
parent
5f62cde550
commit
de196f818d
|
@ -269,9 +269,7 @@ void Rover::update_logging1(void)
|
||||||
void Rover::update_logging2(void)
|
void Rover::update_logging2(void)
|
||||||
{
|
{
|
||||||
if (should_log(MASK_LOG_STEERING)) {
|
if (should_log(MASK_LOG_STEERING)) {
|
||||||
if (!control_mode->manual_steering()) {
|
Log_Write_Steering();
|
||||||
Log_Write_Steering();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if (should_log(MASK_LOG_RC)) {
|
if (should_log(MASK_LOG_RC)) {
|
||||||
|
|
Loading…
Reference in New Issue