mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
EKF2 build fix
This commit is contained in:
parent
5af62c8e49
commit
91144f502f
@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2015 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2015-2017 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@ -763,7 +763,7 @@ void Ekf2::task_main()
|
||||
ev_data.posNED(0) = ev_pos.x;
|
||||
ev_data.posNED(1) = ev_pos.y;
|
||||
ev_data.posNED(2) = ev_pos.z;
|
||||
Quatf q(ev_att.q);
|
||||
matrix::Quatf q(ev_att.q);
|
||||
ev_data.quat = q;
|
||||
|
||||
// position measurement error from parameters. TODO : use covariances from topic
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user