Browse Source

ekf2: send flow sensor yaw rate data

sbg
Paul Riseborough 9 years ago committed by Lorenz Meier
parent
commit
7acd5fda22
  1. 1
      src/modules/ekf2/ekf2_main.cpp

1
src/modules/ekf2/ekf2_main.cpp

@ -457,6 +457,7 @@ void Ekf2::task_main() @@ -457,6 +457,7 @@ void Ekf2::task_main()
flow.quality = optical_flow.quality;
flow.gyrodata(0) = optical_flow.gyro_x_rate_integral;
flow.gyrodata(1) = optical_flow.gyro_y_rate_integral;
flow.gyrodata(2) = optical_flow.gyro_z_rate_integral;
flow.dt = optical_flow.integration_timespan;
if (!isnan(optical_flow.pixel_flow_y_integral) && !isnan(optical_flow.pixel_flow_x_integral)) {

Loading…
Cancel
Save