Andrew Tridgell
|
951e764442
|
SITL: prevent the GPS pipe filling up and delaying GPS readings
|
12 years ago |
Andrew Tridgell
|
471ed9429a
|
SITL: cleanup RC control for rover support
added vehicle type, and setup right initial throttle
|
12 years ago |
Andrew Tridgell
|
0dc8dd5394
|
SITL: run the timer_scheduler() when there are no SITL packets
otherwise we can block in the ADC code
|
12 years ago |
Andrew Tridgell
|
07f5baea9e
|
SITL: added in recursion check in timer_handler()
|
12 years ago |
Andrew Tridgell
|
ccb1f1722e
|
SITL: fixed a interrupt recursion bug
this can be triggered by the timer scheduler re-enabling interrupts
|
12 years ago |
Andrew Tridgell
|
17c115d2aa
|
SITL: don't define __AVR_ATmega2560__ on desktop build
this allows us to properly separate the desktop build in the code
|
12 years ago |
Andrew Tridgell
|
fe23d27904
|
SITL: added SREG declaration
|
12 years ago |
Andrew Tridgell
|
e9e01ae28a
|
SITL: fixed build with new sonar driver
|
12 years ago |
Andrew Tridgell
|
cd0672ce94
|
SITL: set a reasonable number of satellites in simulated uBlox
|
12 years ago |
Andrew Tridgell
|
eb0dd45a11
|
Desktop: fixed build with recent SPI changes
|
12 years ago |
rmackay9
|
0bcf581a17
|
Desktop: fix build error
|
12 years ago |
rmackay9
|
3f7b2dbda7
|
Desktop: add AP_Semaphore to list of includes for DataFlash_APM1.cpp
|
12 years ago |
Andrew Tridgell
|
78a95290a3
|
SITL: prevent a fd leak in GPS code
|
13 years ago |
Andrew Tridgell
|
b787dc8cce
|
APM: added wdt.h for SITL build of APM
|
13 years ago |
Andrew Tridgell
|
d5b218c80b
|
SITL: use AP_Declination code to get right compass dec for autotest
|
13 years ago |
Andrew Tridgell
|
dd7c815c5f
|
SITL: zero wind for first 15s
this allows for airspeed calibration on startup
|
13 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
|
82954f823b
|
SITL: make abs() 16 bit in SITL
this will help us find abs() bugs in autotest
|
13 years ago |
Andrew Tridgell
|
a8c99f3887
|
SITL: fixed deletion of eeprom.bin
with the new AP_Param constructor order, we need to erase rather than
unlink the eeprom
|
13 years ago |
Andrew Tridgell
|
7ff7514a88
|
SITL: added pgm_read_dword() and pgm_read_float()
|
13 years ago |
Andrew Tridgell
|
d29b6ce0a8
|
SITL: run the HIL barometer at 80Hz to match APM2
|
13 years ago |
Andrew Tridgell
|
f03ba86d9d
|
SITL: add some minimal noise when motors are off
this actually improves the gyro calibration
|
13 years ago |
Andrew Tridgell
|
60caaa4b04
|
MAVLink: remove MAVLink 0.9 protocol support
this simplifies the code a lot. We're not going back to 1.0
|
13 years ago |
Andrew Tridgell
|
c35a2e999b
|
SITL: added SIM_GPS_DELAY parameter
this allows a delay to be added to the gps data to test the impact on
AHRS/DCM
|
13 years ago |
Andrew Tridgell
|
be9b9f3e67
|
DataFlash: fixed SITL build
|
13 years ago |
Andrew Tridgell
|
1fdcc3e8f0
|
SITL: added support for new analog source
removed analogRead() to prevent people using it
|
13 years ago |
Andrew Tridgell
|
ed691fc465
|
SITL: added SITL class for controlling simulation
this holds mavlink settable parameters for controlling sensor noise
levels
|
13 years ago |
Andrew Tridgell
|
a6543f1e84
|
SITL: removed an unused variable
|
13 years ago |
Andrew Tridgell
|
27761737ce
|
SITL: fixed GPS heading in simulated UBlox
longitude scale does not apply to velocity->heading conversions
|
13 years ago |
Andrew Tridgell
|
b811653800
|
SITL: changes UBlox simulation to 5Hz
this matches the real UBlox driver
|
13 years ago |
Andrew Tridgell
|
cf4e56457b
|
SITL: map() is a C++ function, so needs to be in C++ part of the header
this fixes the ACM build
|
13 years ago |
Andrew Tridgell
|
ec1abbf987
|
SITL: fixed SITL build with mavlink10
|
13 years ago |
rmackay9
|
173ae33627
|
ArduCopter Desktop Build: added definition of "map" to wiring.h and included WMath.cpp to fix SITL build failures.
All real work on this issue done by Michael Oborne.
|
13 years ago |
Andrew Tridgell
|
ddfa06e857
|
SITL: fixed ChipErase()
the loop never completed
|
13 years ago |
Andrew Tridgell
|
6e444f6b64
|
SITL: fixed build with new ChipErase() call
|
13 years ago |
Andrew Tridgell
|
89041c6996
|
sitl: support MAVLink 1.0 builds
|
13 years ago |
Andrew Tridgell
|
10c35e3769
|
SITL: add magnetic field noise to the simulated compass
|
13 years ago |
Andrew Tridgell
|
f4c1b6a3c6
|
SITL: ensure we don't run the sitl timer twice
this caused problems with random()
|
13 years ago |
Andrew Tridgell
|
90c3d230d9
|
SITL: improve the simulated compass
this implements a much more accurate model of a compass using matrix
rotations, instead of trying to calculate components directly
|
13 years ago |
Michael Oborne
|
bae5f98666
|
sitl cygwin mods
|
13 years ago |
Andrew Tridgell
|
b337441ec5
|
SITL: added pgm_read_byte_far()
|
13 years ago |
Andrew Tridgell
|
ba8e764349
|
SITL: lower the noise and drift levels for general autotest usage
|
13 years ago |
Andrew Tridgell
|
c8189c80d4
|
SITL: cleanup the gyro drift calculations
use units that are more easily understood
|
13 years ago |
Andrew Tridgell
|
dffb435aac
|
SITL: make the yaw match the APM conventions
|
13 years ago |
Andrew Tridgell
|
2673614f6d
|
SITL: fixed the pwm output on startup
|
13 years ago |
Andrew Tridgell
|
ccada2e9c2
|
SITL: avoid parent pid code on cygwin
this causes problems on windows
|
13 years ago |
Andrew Tridgell
|
3666476bcb
|
SITL: prevent nested timer interrupts
|
13 years ago |
Andrew Tridgell
|
47ddd4dfdd
|
SITL: disable interrupts during register updates
this may prevent bogus mode channel reads
|
13 years ago |
Andrew Tridgell
|
a791224d07
|
SITL: make SITL not depend on DCM
|
13 years ago |