Andrew Tridgell
ee9d161196
HAL_SITL: resync for 4.0 update
2020-05-11 15:55:43 +10:00
Andrew Tridgell
804949707d
HAL_SITL: added betaflight-x-rev frame type
2020-05-06 13:54:11 +09:00
Peter Hall
21cfe5a3d6
AP_HAL_SITL: update function names
2020-04-21 08:03:01 +09:00
Andrew Tridgell
b26233495f
HAL_SITL: allow more than 32 LEDs on a pin
2020-04-21 08:03:01 +09:00
Andrew Tridgell
2612fe50f7
HAL_SITL: fixed bitmask error on storage erase
2020-01-31 19:55:09 +09:00
Andrew Tridgell
33755b9da0
HAL_SITL: support simulated serial LEDs
2019-12-16 13:37:19 +09:00
Peter Barker
49687d4e5d
AP_HAL_SITL: ToneAlarm doesn't play tones if disabled via param
2019-10-16 16:00:35 +11:00
Peter Barker
111c17d0b4
AP_HAL_SITL: add a simulated buzzer
2019-10-16 16:00:35 +11:00
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
2019-10-01 17:35:26 +10:00
Peter Barker
045960fe57
AP_HAL_SITL: catch SIGTERM and exit with zero exit status
2019-09-23 19:36:38 +10:00
Andrew Tridgell
85332d49a2
HAL_SITL: added MotorBoat
2019-09-23 17:22:01 +10:00
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
2019-09-15 18:26:50 +10:00
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.
2019-09-13 08:58:43 +10:00
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.
2019-09-10 21:01:37 +10:00
Randy Mackay
0dd8525c99
AP_HAL_SITL: resolve compiler warning in sitl_airspeed by using fabsf
2019-09-10 09:15:56 +10:00
Andrew Tridgell
5e5c30efe8
HAL_SITL: allow SITL to use SERIALn_PROTOCOL=23
...
this allows for testing of RC input protocol parsing in SITL
2019-09-06 08:51:45 +10:00
Michael du Breuil
69d3e97533
AP_HAL_SITL: Remove set_stop_pin from AnalogSource
2019-09-04 09:54:50 +10:00
Jaaaky
d7abd636ac
AP_HAL_SITL: Fix build with --sitl-flash-storage option
2019-08-28 06:23:04 +10:00
Michael du Breuil
2d40250f9b
AP_HAL_SITL: Fix bad check order on heap_realloc
2019-08-27 13:54:54 +10:00
Peter Hall
4492c09b3b
AP_HAL_SITL: Scheduler skip set stack on Cygwin
2019-08-20 15:59:32 -07:00
mhefny
c1c32ab615
AP_HAL_SITL: add Webots support
2019-08-19 19:36:25 +10:00
Peter Barker
94d2ce13d2
AP_HAL_SITL: allow starting location to come from parameters
2019-08-15 18:00:35 +10:00
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.
2019-08-15 15:16:11 +10:00
Anthony Velte
5d2f114947
AP_HAL_SITL: Add scrimmage simulator support
2019-08-13 10:07:26 +10:00
Pierre Kancir
1a71519e17
AP_HAL_SITL: add missing header
2019-08-06 09:37:30 +10:00
Rajat Singhal
4d1f4f3386
HAL_SITL: enable airsim SITL backend
2019-07-17 07:26:50 +10:00
Grant Morphett
fdcdbddecc
AP_HAL_SITL: Send NMEA GPHDT sentence if enabled.
...
and add VTG message
2019-07-13 11:05:57 +10:00
Andrew Tridgell
ac7a67fda0
HAL_SITL: added uartH
2019-07-12 17:01:21 +10:00
Peter Barker
848a70acd4
AP_HAL_SITL: fix rebooting while in sensor config error loop
2019-07-09 10:01:23 +10:00
Peter Barker
fe8d631964
AP_HAL_SITL: ensure termination of readlink-derived progname
2019-07-08 13:18:22 +10:00
U-REDMOND\akolobov
6dd906f07f
HAL_SITL: Integrating Silent Wings SITL with the sim_vehicle
2019-07-08 09:32:59 +10:00
Peter Barker
39b17e42d0
AP_HAL_SITL: add missing include for AP_BoardConfig.h
2019-07-04 13:57:40 +10:00
Michael du Breuil
a6623bfad3
AP_HAL_SITL: Fix missing include for logger.h
2019-06-27 14:56:21 +10:00
Michael du Breuil
75c62154b5
AP_HAL_SITL: Add missing override declarations
2019-06-18 00:06:32 -07:00
Peter Barker
ccbf3234f7
AP_HAL_SITL: return RC protocol being decoded
2019-06-18 11:35:38 +10:00
Peter Barker
c59dde78c6
AP_HAL_SITL: dump stack trace as part of panic()
2019-06-13 09:25:42 +10:00
Peter Barker
dd68b14f46
AP_HAL_SITL: move dump_strack_trace into HAL
2019-06-13 09:25:42 +10:00
Peter Barker
e061df0f6d
AP_HAL_SITL: attempt to dump stack trace as part of segv handler
2019-06-07 22:03:41 +10:00
Andrew Tridgell
02403d9b93
HAL_SITL: added support for exit on panic()
...
used by autotest server
2019-06-07 20:33:13 +10:00
Francisco Ferreira
0e33907cf7
AP_HAL_SITL: change NMEA output to use new macro
2019-05-21 09:41:15 +10:00
Peter Barker
0a3fe32209
AP_HAL_SITL: log watchdog reset
2019-05-16 17:21:24 +10:00
Andrew Tridgell
f8bcdf9d3a
HAL_SITL: fixed cygwin build error
2019-05-15 15:33:48 +10:00
Andrew Tridgell
c1b201d051
HAL_SITL: fixed comment typo
2019-05-15 15:33:48 +10:00
Andrew Tridgell
916b3003e1
AP_HAL_SITL: removed unusued AP_Common/Semaphore.h
2019-05-15 15:33:48 +10:00
Andrew Tridgell
0873e54cc0
HAL_SITL: fixed build error
2019-05-15 15:33:48 +10:00
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
2019-05-15 15:33:48 +10:00
Peter Barker
900d9f71f6
AP_HAL_SITL: stop taking address of packed members
2019-05-01 19:36:49 -07:00
Peter Barker
0dd71e7b3a
AP_HAL_SITL: Bitmask is now a template
2019-04-16 15:12:07 +10:00
Andrew Tridgell
7a70a888b5
HAL_SITL: added empty flash driver
2019-04-11 13:22:53 +10:00
Michael du Breuil
a8a71db258
AP_HAL_SITL: Correct range check on UART ports
...
Coverity CID 308362
2019-04-09 13:01:33 +10:00