Browse Source

Update EKF2 version

sbg
Lorenz Meier 9 years ago
parent
commit
236304b929
  1. 2
      src/modules/ekf2/ekf2_main.cpp

2
src/modules/ekf2/ekf2_main.cpp

@ -554,7 +554,7 @@ void Ekf2::task_main()
lpos.timestamp = hrt_absolute_time(); lpos.timestamp = hrt_absolute_time();
// Position in local NED frame // Position in local NED frame
_ekf->copy_position(pos); _ekf->get_position(pos);
lpos.x = pos[0]; lpos.x = pos[0];
lpos.y = pos[1]; lpos.y = pos[1];
lpos.z = pos[2]; lpos.z = pos[2];

Loading…
Cancel
Save