Andrew Tridgell
2612fe50f7
HAL_SITL: fixed bitmask error on storage erase
5 years ago
Andrew Tridgell
33755b9da0
HAL_SITL: support simulated serial LEDs
5 years ago
Peter Barker
49687d4e5d
AP_HAL_SITL: ToneAlarm doesn't play tones if disabled via param
5 years ago
Peter Barker
111c17d0b4
AP_HAL_SITL: add a simulated buzzer
5 years ago
Andrew Tridgell
b9291d95f0
HAL_SITL: pre-fill stack on each loop with NaN
...
this allows us to catch use of uninitialised stack variables in SITL
without having valgrind running
5 years ago
Peter Barker
045960fe57
AP_HAL_SITL: catch SIGTERM and exit with zero exit status
5 years ago
Andrew Tridgell
85332d49a2
HAL_SITL: added MotorBoat
5 years ago
Andrew Tridgell
f86a7d347d
Revert "AP_HAL_SITL: set initial PWM values to a flag value"
...
This reverts commit 1735563bb7
.
This commit broke RC input on high channels with sim_vehicle.py, plane
getc RC failsafe immediately
5 years ago
Peter Barker
1735563bb7
AP_HAL_SITL: set initial PWM values to a flag value
...
These should never be used. Setting them to a flag value may give a
hint to someone trying to debug a problem in the future.
5 years ago
Peter Barker
15308af230
AP_HAL_SITL: avoid lockstep scheduling issue with semaphores
...
If there is another thread holding a lock that the main thread wants to
take while pretending to be the IO thread, we will wait forever as we do
not move SITL time forward while pretending to be the IO thread.
This patch simply allows time to move forward if we've failed to take a
semaphore immediately and need to wait.
5 years ago
Randy Mackay
0dd8525c99
AP_HAL_SITL: resolve compiler warning in sitl_airspeed by using fabsf
5 years ago
Andrew Tridgell
5e5c30efe8
HAL_SITL: allow SITL to use SERIALn_PROTOCOL=23
...
this allows for testing of RC input protocol parsing in SITL
6 years ago
Michael du Breuil
69d3e97533
AP_HAL_SITL: Remove set_stop_pin from AnalogSource
6 years ago
Jaaaky
d7abd636ac
AP_HAL_SITL: Fix build with --sitl-flash-storage option
6 years ago
Michael du Breuil
2d40250f9b
AP_HAL_SITL: Fix bad check order on heap_realloc
6 years ago
Peter Hall
4492c09b3b
AP_HAL_SITL: Scheduler skip set stack on Cygwin
6 years ago
mhefny
c1c32ab615
AP_HAL_SITL: add Webots support
6 years ago
Peter Barker
94d2ce13d2
AP_HAL_SITL: allow starting location to come from parameters
6 years ago
Peter Barker
cdab58d598
AP_HAL_SITL: remove home_str from constructor
...
No Aircraft was actually using this in the constructor, so it's really
adding overhead for no good reason.
6 years ago
Anthony Velte
5d2f114947
AP_HAL_SITL: Add scrimmage simulator support
6 years ago
Pierre Kancir
1a71519e17
AP_HAL_SITL: add missing header
6 years ago
Rajat Singhal
4d1f4f3386
HAL_SITL: enable airsim SITL backend
6 years ago
Grant Morphett
fdcdbddecc
AP_HAL_SITL: Send NMEA GPHDT sentence if enabled.
...
and add VTG message
6 years ago
Andrew Tridgell
ac7a67fda0
HAL_SITL: added uartH
6 years ago
Peter Barker
848a70acd4
AP_HAL_SITL: fix rebooting while in sensor config error loop
6 years ago
Peter Barker
fe8d631964
AP_HAL_SITL: ensure termination of readlink-derived progname
6 years ago
U-REDMOND\akolobov
6dd906f07f
HAL_SITL: Integrating Silent Wings SITL with the sim_vehicle
6 years ago
Peter Barker
39b17e42d0
AP_HAL_SITL: add missing include for AP_BoardConfig.h
6 years ago
Michael du Breuil
a6623bfad3
AP_HAL_SITL: Fix missing include for logger.h
6 years ago
Michael du Breuil
75c62154b5
AP_HAL_SITL: Add missing override declarations
6 years ago
Peter Barker
ccbf3234f7
AP_HAL_SITL: return RC protocol being decoded
6 years ago
Peter Barker
c59dde78c6
AP_HAL_SITL: dump stack trace as part of panic()
6 years ago
Peter Barker
dd68b14f46
AP_HAL_SITL: move dump_strack_trace into HAL
6 years ago
Peter Barker
e061df0f6d
AP_HAL_SITL: attempt to dump stack trace as part of segv handler
6 years ago
Andrew Tridgell
02403d9b93
HAL_SITL: added support for exit on panic()
...
used by autotest server
6 years ago
Francisco Ferreira
0e33907cf7
AP_HAL_SITL: change NMEA output to use new macro
6 years ago
Peter Barker
0a3fe32209
AP_HAL_SITL: log watchdog reset
6 years ago
Andrew Tridgell
f8bcdf9d3a
HAL_SITL: fixed cygwin build error
6 years ago
Andrew Tridgell
c1b201d051
HAL_SITL: fixed comment typo
6 years ago
Andrew Tridgell
916b3003e1
AP_HAL_SITL: removed unusued AP_Common/Semaphore.h
6 years ago
Andrew Tridgell
0873e54cc0
HAL_SITL: fixed build error
6 years ago
Andrew Tridgell
6897cecea2
HAL_SITL: support watchdog reset in SITL
...
this only works for speedup 1, and does not initialise the physics
models correctly for internal models
6 years ago
Peter Barker
900d9f71f6
AP_HAL_SITL: stop taking address of packed members
6 years ago
Peter Barker
0dd71e7b3a
AP_HAL_SITL: Bitmask is now a template
6 years ago
Andrew Tridgell
7a70a888b5
HAL_SITL: added empty flash driver
6 years ago
Michael du Breuil
a8a71db258
AP_HAL_SITL: Correct range check on UART ports
...
Coverity CID 308362
6 years ago
Pierre Kancir
a700b647db
AP_HAL_SITL: fix ‘heap’ shadowing
6 years ago
Tom Pittenger
c39cc7dbb8
AP_HAL_SITL: rename dataflash to logger and refactor the filename logger.bin
6 years ago
Peter Barker
26c01accb9
AP_HAL_SITL: remove unused from method
6 years ago
Peter Barker
a1088f6cd6
AP_HAL_SITL: add support for ToneAlarm via sfml
6 years ago