mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-06-28 20:00:35 +08:00
Formatting and added Scalar.
This commit is contained in:
+9
-6
@@ -1,4 +1,5 @@
|
||||
#include "Euler.hpp"
|
||||
#include "Scalar.hpp"
|
||||
#include <assert.h>
|
||||
#include <stdio.h>
|
||||
|
||||
@@ -6,10 +7,12 @@ using namespace matrix;
|
||||
|
||||
int main()
|
||||
{
|
||||
Eulerf e;
|
||||
float dp = e.T()*e;
|
||||
Dcmf dcm = Dcmf(e);
|
||||
Quatf q = Quatf(e);
|
||||
float n = e.norm();
|
||||
return 0;
|
||||
Eulerf e;
|
||||
float dp = Scalarf(e.T()*e);
|
||||
(void)dp;
|
||||
Dcmf dcm = Dcmf(e);
|
||||
Quatf q = Quatf(e);
|
||||
float n = e.norm();
|
||||
(void)n;
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user