Improve Ardupilot AC_PrecLand logging
fnoop opened this issue · 5 comments
Improve AC_PrecLand dataflash logging to include new LANDING_TARGET fields, and better data.
Should add: uint64_t sensor_time_us;
, but depends on #9020, so add after that PR is merged.
Currently, log fields:
pos_x : target_pos_rel.x,
pos_y : target_pos_rel.y,
vel_x : target_vel_rel.x,
vel_y : target_vel_rel.y
data is obtained from _target_pos_rel_out_NE and _target_pos_rel_out_NE which are the final calculated target position after estimation, offsets and predictions, in body frame.
Would be helpful for debugging where the original sensor data is not immediately available (ie. IRLock) to also log _target_pos_rel_meas_NED which is the target vector before estimation.
Distance and alt should also be logged but again that's dependent on another PR #9125.
PR raised: ArduPilot/ardupilot#9130
PR #9130 closed, need to add target_type and target_num to logging.