|
|
|
@ -5,6 +5,7 @@
@@ -5,6 +5,7 @@
|
|
|
|
|
#include <AP_AHRS/AP_AHRS.h> |
|
|
|
|
#include <AP_Vehicle/AP_Vehicle.h> |
|
|
|
|
#include <AP_OpticalFlow/AP_OpticalFlow.h> |
|
|
|
|
#include <AP_WheelEncoder/AP_WheelEncoder.h> |
|
|
|
|
|
|
|
|
|
#if APM_BUILD_TYPE(APM_BUILD_Replay) |
|
|
|
|
#include <AP_NavEKF2/AP_NavEKF2.h> |
|
|
|
@ -65,6 +66,7 @@ void AP_DAL::start_frame(AP_DAL::FrameType frametype)
@@ -65,6 +66,7 @@ void AP_DAL::start_frame(AP_DAL::FrameType frametype)
|
|
|
|
|
_RFRN.available_memory = hal.util->available_memory(); |
|
|
|
|
_RFRN.ahrs_trim = ahrs.get_trim(); |
|
|
|
|
_RFRN.opticalflow_enabled = AP::opticalflow() && AP::opticalflow()->enabled(); |
|
|
|
|
_RFRN.wheelencoder_enabled = AP::wheelencoder() && (AP::wheelencoder()->num_sensors() > 0); |
|
|
|
|
WRITE_REPLAY_BLOCK_IFCHANGED(RFRN, _RFRN, old); |
|
|
|
|
|
|
|
|
|
// update body conversion
|
|
|
|
|