Andrew Tridgell
119df09c44
SITL: cope with a socket error in FlightAxis
...
this fixes an issue that has arisen with the new threading approach
where RF would occasionally freeze
3 years ago
Andrew Tridgell
d62346f8d0
SITL: use a thread to create sockets for RealFlight
...
this reduces the cost of the socket creation on each frame, resulting
in higher frame rates. Typical improvement is around 30%
3 years ago
Gone4Dirt
7be9773f95
SITL: Update RPM param in FlightAxis defaults
4 years ago
Andrew Tridgell
9507f7883f
SITL: prevent flip over of RF9 quadplanes on reboot
...
send a zero channel mask until we are initialised
4 years ago
Andrew Tridgell
5eaf76cdc8
SITL: separate origin and home in SITL
...
this allows for accurate sensor data when flying a very long distance
from the takeoff location
4 years ago
Andrew Tridgell
fb275c9874
SITL: convert to double precision for positions
4 years ago
Peter Barker
03bb3237ef
SITL: set default RPM_TYPE to 10 for FlightAxis
4 years ago
Patrick José Pereira
ba293084e3
SITL: Remove pointer check before delete
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
4 years ago
Andrew Tridgell
5def8a64ab
SITL: avoid negative current and voltage in flightaxis
...
RealFlight9 will sometimes give meaningless negative values
4 years ago
Andrew Tridgell
a31ea88ff5
SITL: use async SOAP requests for flightaxis
...
this greatly improves performance for cygwin
4 years ago
Andrew Tridgell
8d6d5c6b49
SITL: removed flightaxis threading
4 years ago
Andrew Tridgell
849cb960e5
SITL: enable battery monitoring for flight axis by default
5 years ago
Mark Whitehorn
f9e129e617
SITL: read 12 flightaxis input channels
5 years ago
Peter Barker
30c65e57be
SITL: remove use of Vector3 as function
5 years ago
Mark Whitehorn
db1c7d9bdd
SITL: add support for AHRS_ORIENTATION=ROTATION_CUSTOM
5 years ago
Mark Whitehorn
dbfbe50737
SITL: update flightaxis defaults
5 years ago
Mark Whitehorn
76b985fc9c
SITL: only recalculate ahrs rotation matrix if necessary
5 years ago
Mark Whitehorn
ab33679124
SITL: include ahrs_orientation in airspeed calculation
5 years ago
Andy Piper
c807267bab
SITL: add rpm-based motor noise per-motor to gyros and accels
...
convert multicopter thrust to rpm per motor
5 years ago
Peter Barker
f7b47679bb
SITL: remove home_str from constructor
6 years ago
Andrew Tridgell
ac7e969aae
SITL: improve airspeed in FlightAxis for RF8
...
use 3D wind to get airspeed along X axis of aircraft
6 years ago
Peter Barker
b47733142f
GLOBAL: rename DataFlash_Class to AP_Logger
6 years ago
Andrew Tridgell
e3cd081064
SITL: support up to 12 actuators with RealFlight8
...
the new beta release supports up to 12 channels
6 years ago
Andrew Tridgell
feea73ee1a
SITL: use WITH_SEMAPHORE()
...
and removed usage of hal.util->new_semaphore()
6 years ago
Peter Barker
3e9294a2ae
SITL: eliminate float-equals issues
7 years ago
Andrew Tridgell
dc54babe41
SITL: setup more defaults with flightaxis
...
with copters now you only need to set FRAME_CLASS to fly
7 years ago
Andrew Tridgell
d75e47a4d8
SITL: cope with cygwin64
7 years ago
Guglie
4eaa1f17df
SITL: fix pthread_setname_np to build on mac
7 years ago
Andrew Tridgell
917d9842c4
SITL: support AHRS_ORIENTATION in SITL
...
this allows for tailsitters in RealFlight
7 years ago
Andrew Tridgell
964d64a623
SITL: adjust FlightAxis defaults
...
and map 0,0 to CMAC location, to improve how SITL works in
MissionPlanner
7 years ago
Andrew Tridgell
cdd350f93e
SITL: fixed build under cygwin
7 years ago
Andrew Tridgell
c5cd1b873c
SITL: use thread for FlightAxis comms
...
this allows us to run SITL at a much higher framerate than RF can
provide, and results in the EKF being much happier
7 years ago
Pierre Kancir
b176ba53d7
SIM_Aircraft: move advance in time from update_position to time_advance
8 years ago
Andrew Tridgell
d338d9c0aa
SITL: fixed whitespace on flightaxis code
8 years ago
Andrew Tridgell
8bd1fc63d5
SITL: support pitch90 and pitch270 in FlightAxis
...
used for flying tailsitters
8 years ago
murata
c808ee2f49
Global: To nullptr from NULL.
...
RC_Channel: To nullptr from NULL.
AC_Fence: To nullptr from NULL.
AC_Avoidance: To nullptr from NULL.
AC_PrecLand: To nullptr from NULL.
DataFlash: To nullptr from NULL.
SITL: To nullptr from NULL.
GCS_MAVLink: To nullptr from NULL.
DataFlash: To nullptr from NULL.
AP_Compass: To nullptr from NULL.
Global: To nullptr from NULL.
Global: To nullptr from NULL.
8 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
Murilo Belluzzo
0b86532b5c
Global: Remove '\r' character from all source code files
8 years ago
Andrew Tridgell
a6e927d434
SITL: default gyro cal off in XPlane and FlightAxis
...
pointless doing cal on these backends
9 years ago
Andrew Tridgell
16595d2f3b
SITL: auto-set AHRS_EKF_TYPE to 10 for XPlane and FlightAxis
9 years ago
Paul Riseborough
078284e2e2
SITL: Add magnetic field environment to simulation
...
Includes parameters enabling a ground level magnetic anomaly to be modelled.
TODO - add automatic setting of declination, inclination and field strength using WGS-84 position.
9 years ago
Andrew Tridgell
9e9a048016
SITL: make heli RPM rpm1 in FlightAxis
9 years ago
Andrew Tridgell
79ffc28f68
SITL: fixed ground accel for helis in FlightAxis
...
fixes landing detection
9 years ago
Andrew Tridgell
f6a7c1839a
SITL: use FlightAxis body accel
...
less noisy than rotating early accel
9 years ago
Andrew Tridgell
f6e42cb3e2
SITL: cope with restarting RealFlight while connected
9 years ago
Andrew Tridgell
9c13ac997e
SITL: use FlightAxis accel when not touching the ground
9 years ago
Andrew Tridgell
0b9fca6ef9
SITL: use quaternion attitude from FlightAxis
9 years ago
Andrew Tridgell
f4f0ae8c8b
SITL: auto-reconnect FlightAxis on reset button
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