Commit Graph

329 Commits

Author SHA1 Message Date
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
Pierre Kancir
a700b647db AP_HAL_SITL: fix ‘heap’ shadowing 2019-04-08 08:02:40 -07:00
Tom Pittenger
c39cc7dbb8 AP_HAL_SITL: rename dataflash to logger and refactor the filename logger.bin 2019-03-28 16:40:58 +11:00
Peter Barker
26c01accb9 AP_HAL_SITL: remove unused from method 2019-03-23 11:23:07 +11:00
Peter Barker
a1088f6cd6 AP_HAL_SITL: add support for ToneAlarm via sfml 2019-03-23 07:10:50 +11:00
Peter Barker
fa082df040 AP_HAL_SITL: add missing CLOEXECs on tcp ports 2019-03-13 18:02:48 +11:00
Peter Barker
be5478902c AP_HAL_SITL: add precland object 2019-03-01 20:28:22 +11:00
Peter Barker
a7589a4aed AP_HAL_SITL: correct comparison between signed and unsigned
Closes #10637
2019-02-26 19:51:04 +11:00
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
2019-02-26 14:17:21 +11:00
Peter Barker
03e9becfcf AP_HAL_SITL: add missing override keywords 2019-02-22 15:01:09 +00:00
Peter Barker
556e836a66 AP_HAL_SITL: cast PTHREAD_STACK_MIN to unsigned
Sometimes this comes in as signed...
2019-02-20 15:06:24 +11:00
Peter Barker
17589ae3b9 AP_HAL_SITL: allow testing of throttle-goes-to-low-fixed-value rc failsafes 2019-02-14 11:49:59 +11:00
Tom Pittenger
81df9aaeb4 AP_HAL_SITL: unify singleton naming to _singleton and get_singleton() 2019-02-10 19:09:58 -07:00
Andrew Tridgell
d4a564843e HAL_SITL: support new motor orders 2019-02-06 11:17:35 +11:00
Andrew Tridgell
d176776357 HAL_SITL: support limiting baudrate of simulated telemetry 2019-01-27 08:56:12 +11:00
Andrew Tridgell
751dade9a8 HAL_SITL: enable optional storage in flash
this brings storage in SITL very close to storage in ChibiOS
2019-01-21 20:59:00 +11:00
Peter Barker
9253e9b381 AP_HAL_SITL: add simulated parachute 2019-01-09 13:16:03 +11:00
Michael du Breuil
a2b924d810 AP_HAL_SITL: Add scripting heap 2018-12-31 19:25:23 -07:00
Andrew Tridgell
a611803b6d HAL_SITL: fixed valgrind error in NOVA GPS 2018-12-30 18:33:27 +11:00
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.
2018-12-19 16:03:08 +00:00
Pierre Kancir
a5e5ee73eb AP_HAL_SITL: correct battery setup for rover 2018-12-18 14:36:32 +09:00
Peter Barker
e420f62b62 AP_HAL_SITL: check to see if setting socket and fd options worked 2018-12-18 08:51:01 +11:00
Andrew Tridgell
4c74d32ef3 HAL_SITL: fixed cygwin build of sitl
this is needed for windows SITL build
2018-12-11 09:44:05 +11:00
Andrew Tridgell
73672c90d1 HAL_SITL: added support for multicast UDP connections
this allows several copies of SITL to see each other on the same
network, emulating a mesh network, which is useful for swarm testing
2018-12-06 11:12:40 +11:00
Andrew Tridgell
50018d7a7c HAL_SITL: use mavlink_packetise() 2018-12-06 11:12:40 +11:00
Andrew Tridgell
9f8f36aad8 HAL_SITL: added udpclient support
this allows direct UDP output from SITL
2018-12-06 11:12:40 +11:00
Andrew Tridgell
d46c48e28c HAL_SITL: enable morse simulator backend 2018-12-04 09:44:50 +11:00
Andrew Tridgell
c72f2e57b0 HAL_SITL: fixed build on older MacOS 2018-11-30 11:03:09 +11:00
Andrew Tridgell
8c9e9bd415 HAL_SITL: implement get_system_id() 2018-11-29 16:36:29 +11:00
Kristian Klausen
d7f529d3c6 AP_HAL_SITL: Use double point precision when converting langitudes and longitudes from degrees to radians.
See #9536
2018-11-15 11:22:56 +11:00
Eugene Shamaev
3794f9d51e HAL_SITL: SITL weight on wheels 2018-11-09 14:35:14 +11:00
Peter Barker
fdfe5ac75a AP_HAL_SITL: add override keyword where required 2018-11-08 11:30:12 +11:00
Andrew Tridgell
5480479e73 HAL_SITL: fixed SITL example progs 2018-11-07 07:35:45 +11:00
Andrew Tridgell
7e790a04d2 HAL_SITL: increase max timer procs
needed for compass learning
2018-10-24 07:25:42 +10:00
Andrew Tridgell
44009c5459 HAL_SITL: removed hal.util->new_semaphore()
replaced with HAL_Semaphore
2018-10-17 12:54:22 +11:00
Randy Mackay
ada073fbdc AP_HAL_SITL: add sailboat to SITL_cmdline.cpp 2018-09-26 12:00:13 +09:00
Peter Barker
d6fe9d47e0 AP_HAL_SITL: check return value from posix_memalign
Avoids return-value-must-be-checked compiler warning
2018-09-04 09:22:18 +10:00
Peter Barker
e7e2a78d35 AP_HAL_SITL: remove pointless attach_interrupt override 2018-08-31 08:32:08 +10:00
Peter Barker
d968e27b45 AP_HAL_SITL: eliminate float-equals issues 2018-08-28 09:54:47 +10:00
Patrick José Pereira
fb7c46bda0 AP_HAL_SITL: Remove unused check
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-27 23:35:34 +01:00
Pierre Kancir
7d9c947b9b AP_HAL_SITL: update parameter with using command line speedup option 2018-08-28 07:26:26 +10:00
Andrew Tridgell
edeab9d152 HAL_SITL: support HAL_Semaphore_Recursive 2018-08-25 15:44:36 +10:00
Patrick José Pereira
ab31fcb8f4 AP_HAL_SITL: Makes scheduler compile under Mac OS
Signed-off-by: Patrick José Pereira <patrickelectric@gmail.com>
2018-08-25 11:25:17 +10:00
Peter Barker
5180e025bb AP_HAL_SITL: attach_interrupt now takes a functor
AP_HAL_SITL: add type-safety for interrupt types
2018-08-21 20:34:01 +09:00
Andrew Tridgell
836176297d HAL_SITL: added stack checking to SITL 2018-08-20 13:49:14 +10:00
Andrew Tridgell
5d3b17db6b HAL_SITL: added support for HAL_Semaphore type 2018-08-16 12:40:10 +10:00
Francisco Ferreira
350d03800f
AP_HAL_SITL: remove unused CAN header 2018-08-12 13:35:01 +01:00