Andrew Tridgell
d50dcb5ad2
SITL: added SIM_TEMP_BFACTOR
...
for barometer temperature error
8 years ago
Andrew Tridgell
c1b6684b9f
SITL: added temperature control parameters
8 years ago
Andrew Tridgell
67404e9660
SITL: added SIM_ODOM_ENABLE
...
for enabling visual odomotry simulated data
8 years ago
Pierre Kancir
f8d6b5fc9c
AP_HAL_SITL: Allow to use a second type of gps for all type
8 years ago
Andrew Tridgell
4de0daa7a1
SITL: make quaternion state available outside SITL
8 years ago
Guilherme Sousa
204fcba8c1
SITL: Added SIM_ENGINE_FAIL to define failed motor
8 years ago
Randy Mackay
07ce7b8bd6
SITL: add GPS2_GLITCH parameter
8 years ago
Michael du Breuil
ef0c51da42
SITL: Add GPS noise parameter
8 years ago
Andrew Tridgell
65c3d0e060
SITL: added ACC2_BIAS
8 years ago
priseborough
27dab27565
SITL: Add parameters for sensor position offsets in body frame
8 years ago
Andrew Tridgell
5e03358b0b
SITL: added servo filtering
...
SIM_SERVO_SPEED is servo time constant in seconds
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
Andrew Tridgell
c275e7c61d
SITL: added SIM_SPEEDUP parameter
...
allows changing speed of simulation while running
9 years ago
Tom Pittenger
19ac9bce48
SITL: add Ping2020 simulated device
9 years ago
Andrew Tridgell
f075fcd79f
SITL: added SIM_PIN_MASK
...
for simulation of GPIO pins
9 years ago
Tom Pittenger
44a60f278a
SITL: change default of SIM_ADSB_RADIUS from 1E3 to 10E3
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
Tom Pittenger
1770f314ac
SITL: change SIM_ADSB default to -1 to default disabled to leave telem port available
9 years ago
Tom Pittenger
95da4accfb
SITL: add SIM_ADSB_COUNT, RADIUS, ALT params
9 years ago
Tom Pittenger
c77a5e6764
SITL: rename aspd variables and params to arspd
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
Caio Marcelo de Oliveira Filho
d343bfdc6c
SITL: use millis/micros/panic functions
9 years ago
Andrew Tridgell
e1cb9beeef
SITL: expose update rate to HAL_SITL
...
and fixed dataflash reference loop
9 years ago
Lucas De Marchi
831d8acca5
Remove use of PROGMEM
...
Now variables don't have to be declared with PROGMEM anymore, so remove
them. This was automated with:
git grep -l -z PROGMEM | xargs -0 sed -i 's/ PROGMEM / /g'
git grep -l -z PROGMEM | xargs -0 sed -i 's/PROGMEM//g'
The 2 commands were done so we don't leave behind spurious spaces.
AVR-specific places were not changed.
9 years ago
Caio Marcelo de Oliveira Filho
288dc2a385
SITL: clean up includes
...
Remove unnecessary includes, reorder them in blocks separated by a blank
line
- Corresponding header file (if exists)
- System headers
- Other ArduPilot library headers
- "Local" headers (from the same library)
9 years ago
Caio Marcelo de Oliveira Filho
f0a20cdc7c
SITL: remove trailing whitespace
9 years ago
Caio Marcelo de Oliveira Filho
49a42dc985
SITL: use a SITL namespace
9 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
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
ff88932091
SITL: setup turbulence in JSBSim
10 years ago
Andrew Tridgell
b541bfb739
SITL: fixed build warnings
10 years ago
Peter Barker
88015503ac
SITL: use 64-bit timestamps for dataflash logs
10 years ago
Andrew Tridgell
2bb5f677c7
SITL: removed earth frame rates
10 years ago
Andrew Tridgell
1127b716c4
SITL: lower the default noise
...
prevents problems calibrating the gyro
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
Tom Pittenger
91476d78ae
SITL: fix compile warnings re float constants
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
b17878c8c4
SITL: lower default GPS delay to 0.2 seconds
...
this matches typical uBlox
10 years ago
Andrew Tridgell
63c792bc1c
SITL: added SIM_GPSDRIFTALT simulation control
10 years ago
Andrew Tridgell
5512a6f8a0
SITL: lower the default noise in SITL
...
the noise levels were well above realistic levels, especially for gyro
noise, and were causing EKF issues
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
66a03d100e
SITL: make some units clearer in comment
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