Commit Graph

430 Commits

Author SHA1 Message Date
Peter Barker 65834234af AP_HAL_SITL: correct use of uninitialised value in tcp UARTDriver
In the case we already have a _listen_fd, sockaddr wasn't being
initialised before being printed to stdout.
2020-08-11 10:07:52 +10:00
Peter Barker b3d755d018 AP_HAL_SITL: correct loop counter type 2020-08-11 09:19:14 +10:00
Iampete1 a1eb284349 AP_HAL_SITL: populate first rangefinder distance if unused 2020-08-05 18:24:36 +10:00
Peter Barker 2319638dd2 AP_HAL_SITL: simulated i2c support 2020-08-04 21:40:21 +10:00
Peter Barker 2b69b7ba6a AP_HAL_SITL: move calculation of simulated rangefinder range to inside SIM_Aircraft
this will allow us to use the for non-serial rangefinder backends
2020-08-04 21:40:21 +10:00
Peter Barker 7a3e2d11db AP_HAL_SITL: make it clear the panic message is a panic message 2020-07-25 22:09:01 +10:00
Peter Barker 38e3d63fac AP_HAL_SITL: correct AP_Terrain cast-align compilation failure on SITL_arm_linux_gnueabihf 2020-07-23 18:10:06 +10:00
Andrew Tridgell ac604cac54 HAL_SITL: update for GPS param changes 2020-07-10 13:28:38 +10:00
Andy Piper a9ded9d870 AP_HAL_SITL: add CRSF simulation driver 2020-07-07 18:48:06 +10:00
Peter Barker 0b431f3ecd AP_HAL_SITL: add simulated GY-US42-v2 rangefinder 2020-07-04 13:40:10 +10:00
Peter Barker 6056cc9d54 AP_HAL_SITL: add support for simulated RichenPower generator 2020-07-03 08:21:42 +09:00
Peter Barker c3246d61f4 AP_HAL_SITL: add simulated LightWare serial lidar talking new binary protocol 2020-07-02 10:50:59 +10:00
Peter Barker f842c27070 AP_HAL_SITL: correct clearing of UART drivers 2020-06-03 17:00:44 +10:00
Randy Mackay 630bc01101 AP_HAL_SITL: send vehicle velocity to sitl vicon class 2020-06-02 08:33:42 +09:00
Iampete1 c31a4f4b14 AP_HAL_SITL: add JSON backend 2020-05-29 08:25:24 +10:00
Peter Barker 80615c44ff AP_HAL_SITL: add discard_input method on UARTDriver 2020-05-26 09:20:32 +10:00
Andy Piper ee87ef7013 AP_HAL_SITL: make harmonics part of DSP
add vector mean function to dsp
allow fft_start() to use ObjectBuffer<float> for lock-free access
2020-05-24 07:43:34 +10:00
Peter Barker be9fc57e8f AP_HAL_SITL: add support for simulated RPLidarA2 2020-05-22 17:06:16 +10:00
bugobliterator 07907ac81d HAL_SITL: fix gcc build on macosx 2020-05-17 16:12:43 +10:00
Peter Barker 5f8a9d1e15 AP_HAL_SITL: create and use INTERNAL_ERROR macro so we get line numbers 2020-04-30 13:21:36 +10:00
Peter Barker 185bc68476 AP_HAL_SITL: add simulated mavlink-attached rangefinder 2020-04-21 20:44:59 +10:00
Peter Barker 59c02816b8 AP_HAL_SITL: find dumpstack when run from vehicle subdirectory 2020-04-20 14:25:08 +10:00
Peter Barker e67347f011 AP_HAL_SITL: rename APMrover2 to Rover 2020-04-14 09:50:34 +09:00
Andrew Tridgell 5125fc1a64 HAL_SITL: added checks for flash storage 2020-04-14 10:02:51 +10:00
Andrew Tridgell c0039c85e0 HAL_SITL: emulate sector size for flash storage properly 2020-04-14 10:02:51 +10:00
Andrew Tridgell e8fb082a9a HAL_SITL: fixed simulation of roll/pitch of moving baseline ublox 2020-04-11 21:14:31 +10:00
Andrew Tridgell b90b4f9157 HAL_SITL: implement moving baseline for ublox
this allows testing of the moving baseline dual ublox code
2020-04-11 21:14:31 +10:00
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.
2020-04-07 14:51:32 +10:00
Peter Barker 7028eb8d24 AP_HAL_SITL: provide method to get amount of data still pending in outbound system queues 2020-04-07 14:51:32 +10:00
bugobliterator 9d7022514e HAL_SITL: ensure that unique id string end in null char 2020-04-07 09:40:05 +10:00
Peter Barker 6f685b8ac5 AP_HAL_SITL: send statustext at regular intervals after watchdog reset 2020-03-31 14:30:11 +11:00
Peter Hall 3002089396 AP_HAL_SITL: update function names 2020-03-10 10:37:26 +11:00
Andrew Tridgell 09d10df3a3 HAL_SITL: allow more than 32 LEDs on a pin 2020-02-27 13:12:26 +11:00
Andy Piper dcdd1707f7 AP_HAL_SITL: make throttle comply with quadplane dynamics 2020-02-22 11:15:37 +11:00
Andy Piper 7571b4d95c AP_HAL_SITL: SITL version of DSP implementation 2020-02-22 11:15:37 +11:00
Pierre Kancir 95ee01082f AP_HAL_SITL: update search for dumpstack.sh 2020-02-20 20:41:26 +11:00
Rishabh c65d1ff8d8 HAL_SITL: support new motor orders 2020-02-19 11:28:25 +09:00
Peter Barker df614cc34f AP_HAL_SITL: print valid model names if none supplied 2020-02-07 15:03:05 +11:00
Peter Barker 51a1ee83a6 AP_HAL_SITL: correct name on stacktrace files
We write these files out for many more things than just segfaults
2020-02-06 13:48:11 +11:00
Andrew Tridgell ae9e8c3dbc HAL_SITL: fixed bitmask error on storage erase 2020-01-31 11:06:29 +11:00
Rishabh ded7c422f7 HAL_SITL: support new motor orders 2020-01-29 16:57:23 +09:00
Peter Barker 623c84ae74 AP_HAL_SITL: implement trap method 2020-01-29 10:27:01 +11:00
Andrew Tridgell dd1426cf73 HAL_SITL: allow for separate position for 2nd GPS
makes for better simulation of moving baseline
2020-01-26 16:55:17 +11:00
Peter Barker 9ef23872e0 AP_HAL_SITL: check result code of pthread_attr_init 2020-01-21 11:22:20 +11:00
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
2020-01-19 20:19:30 +11:00
Andrew Tridgell 28dcca4e1e HAL_SITL: added betaflight-x-rev frame type 2020-01-16 19:13:13 +11:00
Peter Barker f504009287 AP_HAL_SITL: disable SITL stack checking due to memory corruption
There appears to be issues with pthread_attr_setstack.
2020-01-15 19:41:58 +11:00
Peter Barker 3074855ea3 AP_HAL_SITL: correct port numbers in diagnostic output 2020-01-09 09:43:56 +11:00
Peter Barker 0c8e6f212d AP_HAL_SITL: add simulated frsky support 2020-01-08 23:53:48 +11:00
Andy Piper a469a31528 AP_HAL_SITL: prevent dump_stack_trace() blowing up on macOS 2020-01-06 14:57:46 +11:00