Andrew Tridgell
028248d1f5
HAL_SITL: avoid floating point exceptions on i386
...
fixes issue #2147
10 years ago
Tom Pittenger
b7fb4022b4
AVR_SITL: fix compile warnings re float constants
10 years ago
Fergus Noble
0480867de2
SITL: Update SBP simulation functions for pseudo-absolute mode
10 years ago
Andrew Tridgell
a4bad1c703
HAL_SITL: use SIM_MAG_OFS in SITL compass
10 years ago
Peter Barker
c95348c1d9
SITL: Avoid run-time FPEs due to bad gyro settings if SIM_DRIFT_TIME is set to 0
...
_gyro_drift essentially suffers a divide-by-zero if SIM_DRIFT_TIME is 0. The gyro initialisation routines in AP_InertialSensor do not return once the generated NaN propogates back to them.
10 years ago
Sean O\'Brien
bfba8870e2
AP_HAL_AVR_SITL: added sensor delays to sitl.
10 years ago
Andrew Tridgell
0695277773
HAL_SITL: use pthread barriers for synthetic clock synchronisation
...
this avoids siganls and provides a race free way of keeping time in
lock step
10 years ago
Andrew Tridgell
5cbfe4fd11
HAL_SITL: fixed copter interactive SITL
10 years ago
Andrew Tridgell
0c2232a4be
HAL_SITL: don't sync clocks during system initialisation
10 years ago
Andrew Tridgell
9748cb1e3e
HAL_SITL: use a synthetic clock when possible
...
this decouples wall clock time from simulation time if the FDM
supports it
10 years ago
Vic
033bd243d6
SITL: Changes in compass for SITL
10 years ago
Andrew Tridgell
8fee936ad7
HAL_SITL: fixed emulation of MTK1.6 GPS
10 years ago
Andrew Tridgell
869fb23062
HAL_SITL: implement SIM_GPSDRIFTALT
10 years ago
Andrew Tridgell
7275d2b804
HAL_SITL: implement updated new_input() semantics
10 years ago
Andrew Tridgell
8a3d3bed72
SITL: changes for new AP_Baro API
10 years ago
Andrew Tridgell
e9058df31f
SITL: added optional flow delay
10 years ago
Andrew Tridgell
0076413c0a
SITL: produce flow data at the requested rate
10 years ago
Andrew Tridgell
f13248e5f5
SITL: implement SIM_TERRAIN
...
either use AP_Terrain or flat earth
10 years ago
Andrew Tridgell
023c42593f
SITL: fixed units of body frame conversion for optical flow
10 years ago
priseborough
bf4ebcfda1
AP_HAL_AVR_SITL: Add maths for calculation of truth optical flow rates
10 years ago
Andrew Tridgell
51cd64b3b2
SITL: make velocity and rotmat available to the optical flow simulator
10 years ago
Andrew Tridgell
d2634a26bd
SITL: added framework for SITL optical flow sensor
10 years ago
Andrew Tridgell
c5e4e8f035
SITL: fixed SITL for example sketches
...
cope with no SITL object
10 years ago
Andrew Tridgell
22237f2530
HAL_SITL: fixed handling of SIM_FLOAT_EXCEPT in main thread
10 years ago
Andrew Tridgell
f04f8e226d
SITL: abort on floating point error
...
this creates a core file
10 years ago
Andrew Tridgell
a566ebe4ec
HAL_SITL: prevent array overruns in RCInput/RCOutput
10 years ago
Jonathan Challinger
2d288d46a4
AP_HAL_AVR_SITL: fill in ublox accuracy metrics with reasonable values
10 years ago
Andrew Tridgell
0ce5c99c26
SITL: update for new AP_InertialSensor API
10 years ago
Andrew Tridgell
5da5360dde
HAL_SITL: fixed sonar correction for attitude
11 years ago
Andrew Tridgell
5a55101703
HAL_SITL: added millis64() and micros64()
11 years ago
Andrew Tridgell
a70b195a4a
SITL: fixed limits on storage
11 years ago
Andrew Tridgell
d40d0f6aec
AP_HAL: removed old storage type read/write functions
...
not needed any more
11 years ago
Andrew Tridgell
3640ae9cdf
SITL: allow for different storage sizes
11 years ago
Andrew Tridgell
b559e9d331
SITL: better rangefinder simulation
...
able to handle a wider range, and takes account of attitude
11 years ago
Andrew Tridgell
bf0ce79176
SITL: make it possible to use SITL-HIL
...
strangely enough, using HIL in SITL is a great way to debug HIL!
11 years ago
Randy Mackay
5f1f619829
HAL_AVR_SITL: integrate ACC_BIAS and BARO_GLITCH
...
Adjust simulated accelerometer values and barometer altitude
11 years ago
Andrew Tridgell
e69a473315
SITL: update simulated sonar support
11 years ago
Niels Joubert
fee79c5bac
SITL: Piksi Heartbeat Message support, Integer-RTK baseline simulation
11 years ago
Jonathan Challinger
e883b889b6
SITL: Add compassmot interference
11 years ago
Andrew Tridgell
4efcae46ab
SITL: cope with more rubbish startup values from JSBSim
11 years ago
Andrew Tridgell
05bffb5915
HAL_SITL: enable use of SIM_FLOAT_EXCEPT parameter
11 years ago
Andrew Tridgell
7404fc9d40
SITL: added SIM_BARO_DISABLE parameter
...
useful for testing baro failure
11 years ago
Andrew Tridgell
8b9b4026f0
SITL: support -P option
...
this allows changing a parameter on initial startup
11 years ago
Andrew Tridgell
a15e4633b7
SITL: prevent wind effects at negative altitudes
...
this prevents crashes on takeoff with barometer noise
11 years ago
Niels Joubert
e32b73f075
AP_HAL_AVR_SITL: Adding Swift Binary Protocol stand-alone simulator
11 years ago
Andrew Tridgell
6eee2421cc
AP_HAL: removed RCInput valid_channels() and added new_input() and num_channels()
...
the valid_channels() method was inconsistently implemented between
boards, and served two quite different purposes. It is clearer as two
functions
11 years ago
Andrew Tridgell
af2f72acb0
HAL_SITL: honor SIM_GPS2_ENABLE option
11 years ago
Andrew Tridgell
cc4c443b32
SITL: simulate dual accel/gyro
11 years ago
Andrew Tridgell
0115b9fa07
HAL_SITL: support a 2nd GPS
11 years ago
Andrew Tridgell
5d7346b5c2
HAL_SITL: fixed build with new HIL INS API
11 years ago