dgrat
41661f815f
AP_Math: Replace the pythagorous* functions with a variadic template
...
The new function can deal with a variable number of function parameters.
Additionally, I renamed the functions to norm(), because this is the
standard name used in several other projects.
9 years ago
Gustavo Jose de Sousa
9fa85d9bcf
SITL: add SIM_Calibration
...
That model can be used to run compass and accelerometer calibration by rotating
the vehicle through the servos channels.
9 years ago
Gustavo Jose de Sousa
45754ef37c
SITL: Multicopter: remove leftover comment
...
That went unnoticed by 8a98ce4
("SITL: moved to common code for attitude/pos
update")
9 years ago
Gustavo Jose de Sousa
ce8766e1cd
SITL: remove set_yaw_degrees()
...
That function isn't being used anywhere.
9 years ago
Andrew Tridgell
7cdab2a6c9
SITL: FlightAxis can support 8 channels
9 years ago
Andrew Tridgell
3b0cd9f101
SITL: added RC input from FlightAxis
...
use the interlink controller for input for 6 channels
9 years ago
Andrew Tridgell
68e17af070
SITL: allow for changing FlightAxis controller IP
9 years ago
Andrew Tridgell
e428d1e72d
SITL: support tricopter quadplanes
9 years ago
Andrew Tridgell
9e01d7de6c
SITL: added support for "quad-fast" frame
...
much more powerful copter for testing nav at high speed
9 years ago
Andrew Tridgell
785ad0614a
SITL: fixed coverity 125055
9 years ago
Andrew Tridgell
ed4e8b635a
SITL: fixed fd leak
...
coverity #125056
9 years ago
Andrew Tridgell
847483d744
SITL: fixed coverity warning
9 years ago
Andrew Tridgell
180a7905e5
SITL: make Z down in motors
9 years ago
Andrew Tridgell
aa80851138
SITL: support fireflyY6 quadplane model
9 years ago
Andrew Tridgell
8880635fe1
SITL: support vtail and elevon planes in builtin plane sim
...
remove old tiltrotor in favor of new tiltrotor code
9 years ago
Andrew Tridgell
b4d24d8e03
SITL: fixed rotations of motors by large angles
9 years ago
Andrew Tridgell
71ca534ec6
SITL: added Y6 frame
9 years ago
Andrew Tridgell
49822effca
SITL: added tricopter simulator
9 years ago
Andrew Tridgell
c262d6a1b4
SITL: break up multicopter into Motor/Frame/Multicopter classes
...
ready for more tiltrotors
9 years ago
Andrew Tridgell
57aef8e1e9
SITL: added basic wind support in multicopter, plane and quadplane
...
this adds non-turbulent wind support for the built-in simulators. I
added it primarily for quadplane testing, but it should also be useful
for multicopter navigation testing.
9 years ago
Grant Morphett
5861b754cc
Rover: fixing a bug the Rover simulation
...
Just a small change to ensure the max_wheel_turn parameter is used
instead of a hard coded value.
9 years ago
Andrew Tridgell
7dcd17a2fa
SITL: make multicopter motors only effective above 10%
9 years ago
Andrew Tridgell
73a2c99d56
SITL: limit rotational rate to 2000dps
9 years ago
Andrew Tridgell
1d42b0281a
SITL: ADSB: fixed heading and fixed windows startup
9 years ago
Andrew Tridgell
b0ac6c26e0
SITL: support octaquad in quadplane sim
9 years ago
Will Sackfield
8b5fa9d23d
SITL: Initialise yaw_rate and pitch_rate
...
* Clang requires these variables to be initialized
9 years ago
dgrat
5148e41c1a
AP_Math: Cleaned macro definitions
...
Moved Definitions into a separate header. Replaced PI with M_PI and
removed the M_PI_*_F macros.
9 years ago
Tom Pittenger
faa4238370
SITL: fixed warning comparing signed vs unsigned
9 years ago
Tom Pittenger
f20841f491
SITL: add reverse thrust to Plane Sim
9 years ago
Tom Pittenger
1f714ed75d
SITL: handle negative throttle
...
- negative throttle was causing negative offsets
9 years ago
Andrew Tridgell
d820eeaec6
SITL: use AP_Motors conventions for multicopters
...
this makes it easier to add a simulated vehicle to match a
MotorsMatrix frame type
9 years ago
Andrew Tridgell
5efe98a814
SITL: allow quadplane simulator to simulate other frame types
9 years ago
Andrew Tridgell
e62d6711c3
SITL: added very simple tiltrotor simulation
...
uses channel 9 to control tilt of rotors
9 years ago
Andrew Tridgell
6baae735de
SITL: updated fixed wing model based on last_letter skywalker_2013
...
many thanks to Georacer for this code!
9 years ago
Andrew Tridgell
a828db792e
SITL: added SIM_GYR_SCALE_{X,Y,Z}
...
allows testing of gyro scale factor learning in EKF2
9 years ago
Andrew Tridgell
7a7bd0607f
SITL: first version of FlightAxis SITL support
9 years ago
Andrew Tridgell
2777ff63ba
SITL: heli-sim: prevent ground rotation and reduced affect of ground impact
9 years ago
Andrew Tridgell
62b2a2117d
SITL: only report ground contact at most once per second
9 years ago
Andrew Tridgell
0966398d8d
SITL: improved realism of fixed wing sim somewhat
...
still not good, but a bit better for manual flight
9 years ago
Andrew Tridgell
22873ee687
SITL: reduced drag in plane model
9 years ago
Andrew Tridgell
619a4c0925
SITL: use common dynamics code for QuadPlane
9 years ago
Andrew Tridgell
33998a58ac
SITL: prevent aircraft going below ground level
9 years ago
Andrew Tridgell
d425965f6d
SITL: expose home yaw to FDMs
9 years ago
Andrew Tridgell
630d4410d4
SITL: removed debug code from QuadPlane
9 years ago
Andrew Tridgell
8a98ce427c
SITL: moved to common code for attitude/pos update
9 years ago
Andrew Tridgell
f2c8193f8b
SITL: added a QuadPlane model
9 years ago
Andrew Tridgell
6f9e9d761f
SITL: move calculations into multicopter frame class
...
this will enable a QuadPlane model
9 years ago
Andrew Tridgell
fcfd11ef53
SITL: very simple fixed wing simulator
...
useful for debugging
9 years ago
Tom Pittenger
37054d9571
SITL: update units for new adsb mavlink msg
9 years ago
Tom Pittenger
7236b48518
SITL: compiler warning: double to float demotion
...
- replace atof() with strtof() for the correct return time
9 years ago