Peter Barker
78e432af0c
AP_HAL_SITL: do not let outbound queue length to grow too far
...
This basically limits our loop rate to whatever is listening on uartA
can handle in terms of mavlink traffic.
5 years ago
Peter Barker
7028eb8d24
AP_HAL_SITL: provide method to get amount of data still pending in outbound system queues
5 years ago
bugobliterator
9d7022514e
HAL_SITL: ensure that unique id string end in null char
5 years ago
Peter Barker
6f685b8ac5
AP_HAL_SITL: send statustext at regular intervals after watchdog reset
5 years ago
Peter Hall
3002089396
AP_HAL_SITL: update function names
5 years ago
Andrew Tridgell
09d10df3a3
HAL_SITL: allow more than 32 LEDs on a pin
5 years ago
Andy Piper
dcdd1707f7
AP_HAL_SITL: make throttle comply with quadplane dynamics
5 years ago
Andy Piper
7571b4d95c
AP_HAL_SITL: SITL version of DSP implementation
5 years ago
Pierre Kancir
95ee01082f
AP_HAL_SITL: update search for dumpstack.sh
5 years ago
Rishabh
c65d1ff8d8
HAL_SITL: support new motor orders
5 years ago
Peter Barker
df614cc34f
AP_HAL_SITL: print valid model names if none supplied
5 years ago
Peter Barker
51a1ee83a6
AP_HAL_SITL: correct name on stacktrace files
...
We write these files out for many more things than just segfaults
5 years ago
Andrew Tridgell
ae9e8c3dbc
HAL_SITL: fixed bitmask error on storage erase
5 years ago
Rishabh
ded7c422f7
HAL_SITL: support new motor orders
5 years ago
Peter Barker
623c84ae74
AP_HAL_SITL: implement trap method
5 years ago
Andrew Tridgell
dd1426cf73
HAL_SITL: allow for separate position for 2nd GPS
...
makes for better simulation of moving baseline
5 years ago
Peter Barker
9ef23872e0
AP_HAL_SITL: check result code of pthread_attr_init
5 years ago
Andrew Tridgell
4aa78dc891
AP_HAL_SITL: make all semaphores recursive
...
the cost is very similar and this prevents an easy coding error which
can occur on less used code paths
5 years ago
Andrew Tridgell
28dcca4e1e
HAL_SITL: added betaflight-x-rev frame type
5 years ago
Peter Barker
f504009287
AP_HAL_SITL: disable SITL stack checking due to memory corruption
...
There appears to be issues with pthread_attr_setstack.
5 years ago
Peter Barker
3074855ea3
AP_HAL_SITL: correct port numbers in diagnostic output
5 years ago
Peter Barker
0c8e6f212d
AP_HAL_SITL: add simulated frsky support
5 years ago
Andy Piper
a469a31528
AP_HAL_SITL: prevent dump_stack_trace() blowing up on macOS
5 years ago
Andy Piper
8b0fc1207d
AP_HAL_SITL: record throttle value instead of motors on/off
5 years ago
Peter Barker
f480df228b
AP_HAL_SITL: set cloexec on eeprom.bin
5 years ago
Peter Barker
907977b2f2
AP_HAL_SITL: support for virtual hardware safety switch
5 years ago
Andrew Tridgell
b6d1170c2e
HAL_SITL: update EFI simulation
5 years ago
Willian Galvani
e190d99bc6
SITL: Add 6dof frame for Sub
5 years ago
Peter Barker
fdb9fb2f62
AP_HAL_SITL: add support for simulated serial rangefinders
...
AP_HAL_SITL: add Benewake rangefinder simulator
AP_HAL_SITL: add support for simulated LightWareSerial rangefinder
AP_HAL_SITL: add support for simulated Lanbao rangefinder
AP_HAL_SITL: add support for simulated BLping rangefinder
AP_HAL_SITL: add support for simulated LeddarOne rangefinder
AP_HAL_SITL: add support for simulated uLanding rangefinders
AP_HAL_SITL: add support for simulated MaxsonarSerialLV rangefinders
AP_HAL_SITL: add support for simulated Wasp rangefinders
AP_HAL_SITL: add support for simulated NMEA rangefinders
5 years ago
Peter Barker
9da0e480f2
AP_HAL_SITL: add support for bi-directional simulated serial devices
5 years ago
Mark Whitehorn
3873baf676
AP_HAL_SITL: change in_sensor_config_error to in_config_error
5 years ago
Peter Hall
58d2c9669e
AP_HAL_SITL: pass ADSB home location not string
5 years ago
Peter Barker
b0f3c89939
AP_HAL_SITL: correct format string
5 years ago
Andrew Tridgell
fc4577dce8
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