Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
9 years ago
Michael Oborne
b861233677
AP_HAL_SITL: add file based gps
10 years ago
Gustavo Jose de Sousa
a02e7730ea
SITL: standardize inclusion of libaries headers
...
This commit changes the way libraries headers are included in source files:
- If the header is in the same directory the source belongs to, so the
notation '#include ""' is used with the path relative to the directory
containing the source.
- If the header is outside the directory containing the source, then we use
the notation '#include <>' with the path relative to libraries folder.
Some of the advantages of such approach:
- Only one search path for libraries headers.
- OSs like Windows may have a better lookup time.
10 years ago
Tom Pittenger
0c9cec7958
SITL: param SITL_ARSP_FAIL should be a float instead of byte
...
this param was meant to represent an airspeed which is a float
10 years ago
Tom Pittenger
250dcd31a2
SITL: Add ARSP_FAIL param
...
This will allow testing pitot tube hardware failures
10 years ago
Randy Mackay
2b4aaf2368
SITL: add vibe monitor and SIM_ACC2_RND to sitl
10 years ago
Andrew Tridgell
f8944ab6be
SITL: define number of RC out channels
10 years ago
Andrew Tridgell
2bb5f677c7
SITL: removed earth frame rates
10 years ago
Andrew Tridgell
42c6801d61
SITL: reformat SITL code with astyle
10 years ago
Andrew Tridgell
19147a05f6
SITL: support functions for new simulators
10 years ago
Fergus Noble
0480867de2
SITL: Update SBP simulation functions for pseudo-absolute mode
10 years ago
Andrew Tridgell
1ce9cb693a
SITL: added SIM_MAG_OFS for setting compass offsets in SITL
10 years ago
Sean O\'Brien
6474aa2477
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Andrew Tridgell
63c792bc1c
SITL: added SIM_GPSDRIFTALT simulation control
10 years ago
Andrew Tridgell
228b04e21e
SITL: added SIM_FLOW_DELAY parameter
10 years ago
Andrew Tridgell
5758f39127
SITL: added SIM_FLOW_RATE parameter
10 years ago
Andrew Tridgell
9b65376961
SITL: added SIM_TERRAIN parameter
...
to choose either flat earth or AP_Terrain for sonar and optical flow
AGL emulation
10 years ago
Andrew Tridgell
254aa32d4e
SITL: added SIM_FLOW_ENABLE option
10 years ago
Andrew Tridgell
ef98eba722
SITL: added SIM_SONAR_SCALE parameter
...
used for simulating different kinds of rangefinders
11 years ago
Randy Mackay
79291f25a0
SITL: add ACC_BIAS and BARO_GLITCH parameters
...
These allow testing accelerometer bias which often comes from vibration
and sudden changes in baro altitude.
11 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
e0db7b117f
SITL: added SIM_FLOAT_EXCEPT parameter
...
this enables checking for floating point exceptions
11 years ago
Andrew Tridgell
7404fc9d40
SITL: added SIM_BARO_DISABLE parameter
...
useful for testing baro failure
11 years ago
Niels Joubert
00064ac883
SITL: Adding GPS types for Swift Binary Protocol
11 years ago
Niels Joubert
161b5f99b3
SITL: Adding Swift Binary Protocol GPS type
11 years ago
Andrew Tridgell
7a52938f68
SITL: added SIM_GPS2_ENABLE option
11 years ago
Andrew Tridgell
fcd9041e62
SITL: added dataflash logging
11 years ago
Andrew Tridgell
5eac5fb26f
SITL: added SIM_RC_FAIL
...
simulate RC failure with no signal
11 years ago
Andrew Tridgell
b075f8735f
SITL: moved airspeed pin to pin 1
...
keep it separate from the sonar, allowing both to be used at the same time
11 years ago
Ben Nizette
339da1c21b
SITL: Add noise and glitching behaviour for the sonar sensor
11 years ago
Ben Nizette
70d37d2cf6
SITL: Wire in basic support for SITL downward-looking sonar sensors
11 years ago
Ben Nizette
59a54aae20
SITL: Add barometer drift parameter to the SITL library
11 years ago
Andrew Tridgell
428479b9d5
SITL: added SIM_ACCEL_FAIL option
...
used to test accelerometer failure in flight
11 years ago
Andrew Tridgell
ede927f68a
HAL_SITL: added airspeed noise control
11 years ago
Randy Mackay
8d1d8c78b5
SITL: add SIM_BATT_VOLTAGE
12 years ago
Andrew Tridgell
42bc8b12df
SITL: added a SIM_GPS_HZ option
...
this allows simulation of slow GPS updates (for example, the 1Hz GPS
problem)
12 years ago
Randy Mackay
c6a99ac24a
AutoTest: add support for GPS glitching
12 years ago
Andrew Tridgell
e85d275fe5
SITL: added SIM_SERVO_RATE parameter
...
this allows a slew rate for servos to be specified in degrees/second
12 years ago
Andrew Tridgell
e75c48c029
SITL: added simulated NMEA GPS
...
useful for validating the NMEA GPS driver
12 years ago
Andrew Tridgell
15a84972d1
SITL: added SIM_MAG_ERROR parameter
...
this is a compass yaw error in degrees, used for testing navigation
with a bad compass
12 years ago
Andrew Tridgell
220e7b019c
SITL: use PACKED attribute in fdm structure
12 years ago
Andrew Tridgell
055da3c4b6
SITL: added SIM_GPS_NUMSATS parameter
...
this allows testing of the DCM code with less than 6 satellites
12 years ago
Andrew Tridgell
0ffc7dab6b
SITL: added GPS speed down to SITL state
12 years ago
Andrew Tridgell
fb4e68f0f0
SITL: added SIM_GPS_BYTELOSS option
...
this allows testing of protocol recovery after losing bytes on the GPS
serial link
12 years ago
Andrew Tridgell
428966160a
SITL: added support for MTK16 and MTK19 simulated GPS types
12 years ago
Andrew Tridgell
2ec2c58f67
SITL: added SIM_GPS_TYPE control
...
for choosing what sort of GPS to simulate
12 years ago
Andrew Tridgell
fc8bd8cf95
SITL: updates for new AP_Param API
12 years ago
Andrew Tridgell
697b2074a5
SITL: added SIM_WIND_* parameters
...
this allows control of the simulated wind during a flight
13 years ago
Andrew Tridgell
34a1297842
SITL: added SIM_ENGINE_MUL
...
this allows for simulated engine failures
13 years ago
Andrew Tridgell
ec0995eea1
SITL: lower baro noise a bit
13 years ago