mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-21 13:23:33 +08:00
Pr update matrix (#15520)
* Update submodule Matrix * replace deprecated matrix functions * update submodule ECL * Update Matrix submodule * Use absolute value of loiter radius * Update ECL submodule
This commit is contained in:
@@ -268,7 +268,7 @@ void Sih::generate_force_and_torques()
|
||||
// apply the equations of motion of a rigid body and integrate one step
|
||||
void Sih::equations_of_motion()
|
||||
{
|
||||
_C_IB = _q.to_dcm(); // body to inertial transformation
|
||||
_C_IB = matrix::Dcm<float>(_q); // body to inertial transformation
|
||||
|
||||
// Equations of motion of a rigid body
|
||||
_p_I_dot = _v_I; // position differential
|
||||
|
||||
Reference in New Issue
Block a user