Andrew Tridgell
b6d1170c2e
HAL_SITL: update EFI simulation
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
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
Peter Barker
111c17d0b4
AP_HAL_SITL: add a simulated buzzer
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
Peter Barker
94d2ce13d2
AP_HAL_SITL: allow starting location to come from parameters
6 years ago
Grant Morphett
fdcdbddecc
AP_HAL_SITL: Send NMEA GPHDT sentence if enabled.
...
and add VTG message
6 years ago
Peter Barker
be5478902c
AP_HAL_SITL: add precland object
6 years ago
Peter Barker
80e8f9cdd8
AP_HAL_SITL: read all available SITL RC input packets
...
MAVProxy runs on its own clock. While our clock is stopped for whatever
reason MAVProxy will continue to send RC input. This patch always gives
us the most recent RC input from MAVProxy.
Also add sanity check on packet received
6 years ago
Peter Barker
17589ae3b9
AP_HAL_SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes
6 years ago
Tom Pittenger
81df9aaeb4
AP_HAL_SITL: unify singleton naming to _singleton and get_singleton()
6 years ago
Peter Barker
9253e9b381
AP_HAL_SITL: add simulated parachute
6 years ago
Peter Barker
3d08d02a66
AP_HAL_SITL: reorder setting SO_REUSEADDR and binding rc in port
...
This stops things failing on cygwin, and may explain rebind failures we
see in SITL.
6 years ago
Pierre Kancir
a5e5ee73eb
AP_HAL_SITL: correct battery setup for rover
6 years ago
Peter Barker
e420f62b62
AP_HAL_SITL: check to see if setting socket and fd options worked
6 years ago
Kristian Klausen
d7f529d3c6
AP_HAL_SITL: Use double point precision when converting langitudes and longitudes from degrees to radians.
...
See #9536
6 years ago
Andrew Tridgell
5480479e73
HAL_SITL: fixed SITL example progs
6 years ago
Peter Barker
d968e27b45
AP_HAL_SITL: eliminate float-equals issues
7 years ago
Patrick José Pereira
fb7c46bda0
AP_HAL_SITL: Remove unused check
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Pierre Kancir
96c54550e5
AP_HAL_SITL: rearrange Grippers and Sprayers in SITL
...
Adds parameters to configure and disable
7 years ago
Andrew Tridgell
3fc6968700
HAL_SITL: allow delay from other than main thread
7 years ago
Patrick José Pereira
cd5c59773b
AP_HAL_SITL: Use SITL, baro, INS and compass singletons
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Patrick José Pereira
a4d8ed4b75
AP_HAL_SITL: Use reinterpret_cast with AP_Param::find_object
...
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
7 years ago
Francisco Ferreira
06c41bc768
AP_HAL_SITL: re-use unused FDM address option for FG view IP address
7 years ago
Francisco Ferreira
46868409ec
AP_HAL_SITL: remove unused code
7 years ago
Peter Barker
f2a842e415
AP_HAL_SITL: set_cloexec on SITL's RCIN port
7 years ago
Eugene Shamaev
5d4579a086
AP_HAL_SITL: add wind type parameters
7 years ago
Michael du Breuil
5bd4091976
AP_HAL_SITL: Protect against nullpointer dereference
7 years ago
Michael du Breuil
8dd55a85cd
SITL: Create a second voltage to monitor for battery voltages
7 years ago
Peter Barker
85b41a8abb
AP_HAL_SITL: add vicon-over-mavlink support
7 years ago
Peter Barker
1151d76345
AP_HAL_SITL: sim: namespace for specifying SITL devices from cmdline
7 years ago
Andrew Tridgell
403ba0c325
HAL_SITL: cope with cygwin64
7 years ago
Nicholas Engle
8b08e9388d
AP_HAL_SITL: Add SIM_WIND_DIR_Z parameter for SITL
...
This controls the vertical pitch of the 3d wind vector, allowing futher control of the wind
using systems like dronekit. This change directly effects the calcuation of the wind vector
7 years ago
khancyr
4413ebab7b
AP_HAL_SITL: suppress output until initialization is finished
7 years ago
Jacob Walser
07fa65a88c
AP_HAL_SITL: Add current and voltage monitoring implementation for Sub
7 years ago
Miguel Arroyo
86b9942d51
AP_HAL_SITL: move SITL Compass to standard sensor backend model
8 years ago
Pierre Kancir
0afc907b0a
AP_HAL_SITL: rename sitl_ins & _update_ins to sitl_airspeed & _update_airspeed
8 years ago
Pierre Kancir
599e3d7b83
SITL: make range finder a standalone sitl plugin
8 years ago
Andrew Tridgell
ac82d1a65d
HAL_SITL: moved SITL baro to AP_Baro_SITL
8 years ago
Pierre Kancir
f0f7ca2386
SITL: State constrain rover motor input between 1000 and 2000
8 years ago
Andrew Tridgell
961da9deb8
HAL_SITL: use quaterion instead of eulers
8 years ago
Andrew Tridgell
3236090d71
HAL_SITL: allow plane and rover to use SIM_ENGINE_FAIL
8 years ago
Guilherme Sousa
584890a864
AP_HAL_SITL: Fail motors with SIM_ENGINE_FAIL
8 years ago
Pierre Kancir
5b8c89225a
SITL: Make socket more verbose
8 years ago
Pierre Kancir
567a8d68e5
SITL: Make socket error more verbose
8 years ago
Pierre Kancir
1bb4e3c9b7
AP_IRLock_SITL: make port variable
8 years ago