Commit Graph

18490 Commits

Author SHA1 Message Date
Peter Barker b6ac20ce32 GCS_MAVLink: use correct type for streamrate values 2018-12-10 12:52:41 +09:00
Peter Barker c70fec305c GCS_MAVLink: avoid squashing close-together intervals into same bucket 2018-12-10 12:52:41 +09:00
Peter Barker e198b0c7e6 AP_Common: Bitmask: choose builtin based on type for find_first_set 2018-12-10 12:52:41 +09:00
Peter Barker a7ce326307 AP_Common: Bitmask: use sizeof() in place of constant 2018-12-10 12:52:41 +09:00
Peter Barker e4bc874083 GCS_MAVLink: cap the minimum message interval to 80% of the main loop rate 2018-12-10 12:52:41 +09:00
Peter Barker e08a8d03d2 GCS_MAVLink: initialise last_sent_ms when reusing bucket 2018-12-10 12:52:41 +09:00
Peter Barker 09905bb2f2 GCS_MAVLink: send data for sensors even if no data for other sensors
This is notable when you have a lot of compasses, for example
2018-12-10 12:52:41 +09:00
Peter Barker c15de72095 GCS_MAVLink: split MSG_RAW_IMU1 into per-IMU ap_messages
Also allows for sending SCALED_IMU for the first IMU rather than RAW_IMU
2018-12-10 12:52:41 +09:00
Peter Barker 0bdeccb568 DataFlash: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker 3a7ab5f67e AP_Proximity: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker c4bee518bb AC_Fence: rename send_extended_status1 to send_sys_status 2018-12-10 12:52:41 +09:00
Peter Barker ef46acda71 GCS_MAVLink: support MAV_CMD_SET_MESSAGE_INTERVAL 2018-12-10 12:52:41 +09:00
Peter Barker db5f933e7a AP_Common: Bitmask: add assignment operator 2018-12-10 12:52:41 +09:00
Peter Barker 942555ceb8 AP_Common: add tests for Bitmask 2018-12-10 12:52:41 +09:00
Andrew Tridgell 0fcb22afde AP_Common: added first_set() method to Bitmask 2018-12-10 12:52:41 +09:00
Peter Barker 8a0e3dd657 AP_HAL: add millis16 to HAL; provide weak implementation
This wraps every minute or so - but if you only need to track intervals
under ~65 seconds could save RAM
2018-12-10 12:52:41 +09:00
Peter Barker 09bdb6315b AP_Common: define WEAK attribute 2018-12-10 12:52:41 +09:00
Peter Barker f0a95182be GCS_MAVLink: add is_active and is_streaming methods 2018-12-10 12:52:41 +09:00
Andrew Tridgell 735a4b6f18 HAL_ChibiOS: setup PH4 for right voltage scaling 2018-12-10 07:45:34 +11:00
Andrew Tridgell cb3b0bd373 SITL: don't try to connect Morse sockets so quickly 2018-12-08 12:36:30 +11:00
Andrew Tridgell cdd7d1c83d SITL: added Morse rover follow example script 2018-12-07 10:31:04 +09:00
Andrew Tridgell 3d2634671f AP_Follow: fixed handling of FOLL_SYSID parameter
removed separate variable and use parameter only
2018-12-07 10:31:04 +09:00
Andrew Tridgell 64abd7f318 SITL: added follow example for rover 2018-12-07 08:35:15 +11:00
Andrew Tridgell 9b9ce2b1a2 SITL: removed Morse position offset
this allows for creating swarms of vehicles with different start
locations
2018-12-07 08:35:15 +11:00
Andrew Tridgell 824d619ab6 SITL: allow override of Morse sensors and control ports 2018-12-07 08:35:15 +11:00
Andrew Tridgell 234e3b97ef SITL: don't include vehicle name in Morse string seach
this allows for multiple vehicles with any name to output
2018-12-07 08:35:15 +11:00
Randy Mackay 1f55fd9f0d AP_HAL_VRBRAIN: remove debug print when SPI device not found 2018-12-06 16:50:16 +11:00
Randy Mackay 07849117fb AP_HAL_PX4: remove debug print when SPI device not found 2018-12-06 16:50:16 +11:00
Randy Mackay 790a00d8a6 AP_HAL_Linux: remove debug print when SPI device not found 2018-12-06 16:50:16 +11:00
Randy Mackay 8b963e7b92 AP_HAL_ChibiOS: remove debug print when SPI device not found 2018-12-06 16:50:16 +11:00
Randy Mackay 94ee157575 AP_Param: set_defaults_from_table reports failure with sensor_config_error
replace panic and send_text with call to AP_BoardConfig::sensor_config_error to make it easier for users or developers to find the issue
2018-12-06 12:23:41 +09:00
Randy Mackay 2ccb9061d9 AP_Param: minor format fixes 2018-12-06 12:23:41 +09:00
Randy Mackay 98cd300885 AP_Param: add set_defaults_from_table 2018-12-06 12:23:41 +09:00
Andrew Tridgell 997d07b694 SITL: use replace.h in SIM_Morse
fixes build on MacOS
2018-12-06 13:32:09 +11:00
Andrew Tridgell 8907506c18 AP_HAL: added replacement for memrchr() 2018-12-06 13:32:09 +11:00
Jani Hirvinen d9b9638b4a HAL_ChibiOS: fixed F405 PE15 afnum
should be 15 and not 1
2018-12-06 12:43:47 +11:00
Andrew Tridgell a0be4f4c8d AP_HAL: fixed build and comments 2018-12-06 11:12:40 +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 63705f858b HAL_Linux: use mavlink_packetise() 2018-12-06 11:12:40 +11:00
Andrew Tridgell d01f5ae6c8 AP_HAL: added mavlink_packetise()
used for aligning MAVLink packets on UDP on packet boundaries
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
Randy Mackay 9767c74311 AP_Mount: angle_input uses norm_input 2018-12-06 08:00:18 +09:00
Randy Mackay 5046c7fb91 AP_Mount: fix gimbal move to extreme before TX turned on 2018-12-06 08:00:18 +09:00
Randy Mackay aa7c9ec89e RC_Channel: minor format fixes 2018-12-05 19:18:31 +09:00
Andrew Tridgell debea191c9 SITL: allow sensors not to be present in Morse 2018-12-04 20:49:40 +11:00
Andrew Tridgell e569e3e1e6 SITL: added parameters for laser scanner example 2018-12-04 18:29:41 +11:00
Andrew Tridgell e883c6392f AP_Proximity: added a MorseSITL sensor
this interfaces with the laser scanner in morse
2018-12-04 18:29:41 +11:00
Andrew Tridgell 8d86b6fbee SITL: added support for laser scanner for Morse 2018-12-04 18:29:41 +11:00
Andrew Tridgell 480abeda3e SITL: improved rover_scanner example 2018-12-04 18:29:41 +11:00