mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-02 05:04:08 +08:00
21 lines
339 B
C++
21 lines
339 B
C++
#include "Euler.hpp"
|
|
#include "Scalar.hpp"
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
using namespace matrix;
|
|
|
|
int main()
|
|
{
|
|
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;
|
|
}
|
|
|
|
/* vim: set et fenc=utf-8 ff=unix sts=0 sw=4 ts=4 : */
|