Andrew Tridgell
98f87f5087
SITL: fixed gimbal for tailsitter
7 years ago
Andrew Tridgell
d1f67f6ded
SITL: added diagonal, off-diagonal and orientation of SITL compass
7 years ago
Patrick José Pereira
2ba6f64281
SITL: Remove unused variables
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
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
Peter Barker
6d6366df48
SITL: Sim_Vicon: set CLOEXEC on vicon file decsriptor
7 years ago
Ebin
10914d88b7
SITL: all unchanged variables declared const in BalanceBot::update()
7 years ago
Ebin
3a171c56b5
SITL: Added BalanceBot
7 years ago
Patrick José Pereira
b66b4775bc
SITL: Replace find_object with SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
ae378f0fb3
SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
f68b07df1f
SITL: Use SITL singleton
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Andrew Tridgell
e455958c87
SITL: fixed build with new vicon_position_estimate message extension
7 years ago
Peter Barker
19fd133ef8
SITL: correct compilation for transitive include fail
7 years ago
Pierre Kancir
0fd8d94924
SITL: Fix printf format warning
7 years ago
Peter Barker
a137afd11b
SITL: add singleton
7 years ago
Andrew Tridgell
0078a68fbb
SITL: fixed segv when running examples under SITL
7 years ago
Andrew Tridgell
4ba5a368ff
SITL: adjust vicon simulated lag approach
7 years ago
Peter Barker
c92554001f
SITL: send buffer rather than mavlink msg on channel
7 years ago
Eugene Shamaev
d086edc762
SITL: add wind type parameters
7 years ago
Peter Barker
767f81265b
Sub: correct compilation under clang++ on MacOSX
7 years ago
Peter Barker
e7b5978d8d
SITL: use a 16-bit mask for GPIO out
7 years ago
Peter Barker
871661c65f
SITL: SIM_Vicon: use existing channel for packing messages
...
Also correct sending of Vicon message; too many bytes were sent
7 years ago
Peter Barker
994e3e7092
SITL: SIM_Vicon: fix compiler warning
7 years ago
Peter Barker
08189e0754
SITL: add parameter for Vicon observation delay
7 years ago
Peter Barker
dfcf4788d3
SITL: add vicon-over-mavlink support
7 years ago
Peter Barker
0d77cfb6c3
SITL: method to return current vehicle location
7 years ago
Eugene Shamaev
6954a0035a
SITL: SITL of several airspeed sensors
7 years ago
Andrew Tridgell
d75e47a4d8
SITL: cope with cygwin64
7 years ago
Peter Barker
1915244960
SITL: correct compiler warning
...
In file included from ../../libraries/SITL/SIM_last_letter.cpp:19:
../../libraries/SITL/SIM_last_letter.h:74:17: warning: private field
'frame_str' is not used [-Wunused-private-field]
const char *frame_str;
SITL: correct compiler warning
In file included from ../../libraries/SITL/SIM_Sprayer.cpp:19:
../../libraries/SITL/SIM_Sprayer.h:55:14: warning: private field
'start_time_us' is not used [-Wunused-private-field]
uint64_t start_time_us;
SITL: correct compiler warnings
In file included from ../../libraries/SITL/SIM_Gripper_Servo.cpp:19:
../../libraries/SITL/SIM_Gripper_Servo.h:56:10: warning: private field
'zero_report_done' is not used [-Wunused-private-field]
bool zero_report_done = false;
SITL: correct compiler warnings
In file included from ../../libraries/SITL/SIM_ADSB.cpp:19:
../../libraries/SITL/SIM_ADSB.h:49:28: warning: private field 'fdm' is
not used [-Wunused-private-field]
const struct sitl_fdm &fdm;
7 years ago
Peter Barker
6a862c6e24
SITL: make home location parsing verbose
...
Given we don't fail to start SITL if the home location fails to parse,
we should at least make the user very aware that their home location
string is bad.
This commit makes failures verbose, and outputs the parsed location
values rather than regurgitating the location string the user supplied;
it was very misleading in that the location could simply fail to parse
and thus be unused.
7 years ago
Andrew Tridgell
6a89fdf268
SITL: use AP_Declination for magnetic tables
7 years ago
Nicholas Engle
1103e92884
SITL: Add SIM_WIND_DIR_Z parameter for SITL
...
This controls the vertical pitch of the 3d wind vector, allowing futher control of the wind
using systems like dronekit. This change directly effects the calcuation of the wind vector
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
Patrick José Pereira
28ff272017
SIM_Submarine: Solve problem when frame is above water level
...
Fix bluerobotics/ardusub/issues/128
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
Co-Authored-By: jaxxzer <jwalser90@gmail.com>
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
Peter Barker
62f7acff52
SITL: reduce max accel of simulated rover
7 years ago
hiro2233
7d304073ed
SITL: fixed include case sensitive
...
On case sensitive cygwin feature enabled, this build ok.
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
Andrew Tridgell
74265f523a
SITL: support -roll180 option to frames
7 years ago
Mark Whitehorn
dedb40ce0b
SITL: add parameter to simulate reversed pitot tube order
8 years ago
mirkix
93b3970141
SITL: Add tilthvec frame
8 years ago
Andrew Tridgell
7ade37bd4e
SITL: added SIM_GPS_ALT_OFS
...
this is used to give a bad GPS height in SITL, which is very useful for
testing origin vs home issues
8 years ago
Peter Barker
85ebe923b6
SITL: avoid FPE when running fly.ArduPlane
...
Program received signal SIGFPE, Arithmetic exception.
__expf_finite () at ../sysdeps/x86_64/fpu/e_expf.S:132
132 ../sysdeps/x86_64/fpu/e_expf.S: No such file or directory.
(gdb) u
8 years ago
Andrew Tridgell
4aa068d63d
SITL: added simple launch sim for plane
...
allow for bungee, catapult and hand launches
8 years ago
Michael du Breuil
4dbe282121
SITL: Add airspeed failure parameters
8 years ago
Andrew Tridgell
a7967e00e4
SITL: added SIM_GPS_LOCKTIME parameter
8 years ago
Andrew Tridgell
907534d55f
SITL: added dspoiler support
8 years ago
Pierre Kancir
b176ba53d7
SIM_Aircraft: move advance in time from update_position to time_advance
8 years ago
Pierre Kancir
579f655e76
SIM_Aircraft: change define in favor of static constexpr
8 years ago