mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
Quaternion: Use template type instead of single hardcoded type
This commit is contained in:
parent
9a30828a0a
commit
8a59b463f2
@ -530,7 +530,7 @@ public:
|
||||
* XXX DEPRECATED, can use assignment or ctor
|
||||
*/
|
||||
Quaternion from_dcm(const Matrix<Type, 3, 3>& dcm) {
|
||||
return Quaternion(Dcmf(dcm));
|
||||
return Quaternion(Dcm<Type>(dcm));
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user