Andrew Tridgell
1486a473bd
AP_Math: remove unused rotation_matrix_norm()
4 years ago
Andrew Tridgell
0f2f0d4cb2
AP_Math: allow for double EKF build
4 years ago
Randy Mackay
b263a1d751
AP_Math: add Quaternion::roll_pitch_difference
4 years ago
hs293go
8bc02ab00b
AP_Math: Implement quaternion vector rotation operator
...
Overloads operator*() with semantics of applying a rotation to a vector, in
common with usage in Eigen/OpenGL. This implementation carries out 30
operations, compared to 58 operations for the q*v*q.inverse() formula
4 years ago
Patrick José Pereira
5d7d955378
AP_Math: Add missing const in member functions
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Randy Mackay
61a06bbb04
AP_Math: add quaternion rotate, from_rotation and invert
5 years ago
Randy Mackay
9c8a5a7392
AP_Math: add comments above some quaternion methods
...
thanks to jchallinger
5 years ago
Peter Barker
4c434c2df9
AP_Math: add WARN_IF_UNUSED to bool methods
6 years ago
Randy Mackay
07f7d793df
AP_Math: add quaternion::angular_difference
6 years ago
Peter Barker
20d22f3629
AP_Math: quaternion requires isnan, so include math.h to get it
7 years ago
Peter Barker
c343a286c5
AP_Math: quaternion: add contructor from float[4]
7 years ago
Mathieu OTHACEHE
152edf7189
Global: remove mode line from headers
...
Using a global .dir-locals.el file is a better alternative than
reincluding the same emacs header in every file of the project.
8 years ago
Leonard Hall
8afd29cc85
AP_Math: add quaternion::rotation_matrix_norm
9 years ago
Gustavo Jose de Sousa
39f72610e2
AP_Math: quaternion: fix style
...
Remove trailing spaces and run astyle.
9 years ago
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
9 years ago
Lucas De Marchi
b4a8a0b961
AP_Math: replace header guard with pragma once
9 years ago
Peter Barker
80bc7a50d7
AP_Math: define MATH_CHECK_INDEXES
...
Wrapped in ifndefs so the top-level Makefile can override
Assume MATH_CHECK_INDEXES is always defined
9 years ago
Andrew Tridgell
2a8f645d81
AP_Math: use matrix3 euler312 operations in quaternion library
10 years ago
Randy Mackay
eaedeeb7bf
AP_Math: add quaternion.initialise
10 years ago
Jonathan Challinger
fb8da1b2d8
AP_Math: add get_euler_(roll|pitch|yaw) functions to quaternion
10 years ago
Jonathan Challinger
6baec4952b
AP_Math: add conversions to and from 3-1-2 euler angles
10 years ago
Jonathan Challinger
a1d4f40c16
AP_Math: change quaternion operator* and operator/ to const
10 years ago
Grant Morphett
300a02f4e4
AP_Math: Changes to fix the warnings in rover sitl build.
...
We are starting the process of resolving all the warnings in the
ardupilot builds of all vehicles and platforms.
10 years ago
Paul Riseborough
17445d03f0
AP_Math: Add quaternion division
10 years ago
Andrew Tridgell
fefdc37a4d
AP_Math: fixed warnings on bounds checking in quaternion
10 years ago
Jonathan Challinger
3befe74afa
AP_Math: change quaternion class to use const references where optimal
10 years ago
Jonathan Challinger
1f7e393e38
AP_Math: refactor quaternion library
10 years ago
Andrew Tridgell
009913ec60
AP_Math: make is_nan const for quaternion and add .zero() for vector2
11 years ago
Andrew Tridgell
689f230d40
AP_Math: added quaternion.from_rotation_matrix()
11 years ago
Andrew Tridgell
90c41981ac
AP_Math: added quaternion normalization
11 years ago
Andrew Tridgell
4c99d09265
AP_Math: fixed build of vectorN class on PX4
11 years ago
Andrew Tridgell
96df09fd08
AP_Math: add const to quaternion API
11 years ago
Andrew Tridgell
2c1e0ba130
AP_Math: added vectorN class, and index checking
11 years ago
Andrew Tridgell
97b7130bb9
libraries: update license header to GPLv3
...
we switched to GPLv3 a long time ago, but neglected to update the
per-file license headers
12 years ago
Andrew Tridgell
5024da2695
AP_Math: fixed indent-tabs-mode
12 years ago
uncrustify
d50c606c97
uncrustify libraries/AP_Math/quaternion.h
13 years ago
Andrew Tridgell
9f0cb78f08
AP_Math: re-work quaternion functions to be more C++ like
...
thanks to Adam for the suggestion!
13 years ago
Andrew Tridgell
1ec4c0777c
Math: added comment on quaternion constructor
13 years ago
Andrew Tridgell
c7d5f06b21
AP_Math: added quaternion helper functions and a test suite
13 years ago