mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-11 10:28:29 -04:00
Quaternion: update for new Quaternion interface
This commit is contained in:
parent
eea63ecd6e
commit
36e92bf4ba
@ -75,7 +75,7 @@ public:
|
||||
float get_error_yaw(void);
|
||||
Matrix3f get_dcm_matrix(void) {
|
||||
Matrix3f ret;
|
||||
quaternion_to_rotation_matrix(q, ret);
|
||||
q.rotation_matrix(ret);
|
||||
return ret;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user