Commit Graph

35121 Commits

Author SHA1 Message Date
Peter Barker ef46acda71 GCS_MAVLink: support MAV_CMD_SET_MESSAGE_INTERVAL 2018-12-10 12:52:41 +09:00
Peter Barker b31ce6ae69 Sub: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 7161f57d64 Tracker: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 05f2e51b4d Copter: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 7f5c0db949 Plane: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker 9665d8d2e9 Rover: adjust for new update entry points into GCS 2018-12-10 12:52:41 +09:00
Peter Barker aff81d6f76 Tools: autotest: add test for SET_MESSAGE_INTERVAL 2018-12-10 12:52:41 +09:00
Peter Barker ef3654e343 Copter: update GCS at main loop rate
Reducing message intervals doesn't work as well otherwise
2018-12-10 12:52:41 +09:00
Peter Barker fe6342107b Sub: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 1ca67df663 Plane: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 924b278120 Copter: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 730dc191cc Tracker: add parameter stream to list-of-all-streams 2018-12-10 12:52:41 +09:00
Peter Barker 0d8e3bdfd8 Rover: add parameter stream to list-of-all-streams 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 723ad34dfb Tools: autotest: disable disarm_delay in case of rc getting stuck 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
Matt 441222e80b Frame_params: Update to Solo parameters
New changes related to motor PWM, motor output, slew time, and RC6 trim
2018-12-10 08:51:13 +09:00
Andrew Tridgell 735a4b6f18 HAL_ChibiOS: setup PH4 for right voltage scaling 2018-12-10 07:45:34 +11:00
Jani Hirvinen 38fc4975d8 autotest statistics tags 2018-12-09 18:02:57 +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
Peter Barker 0440106c16 autotest: allow autotest with valgrind to cope with new operator
this is needed for recent versions of valgrind. Without it valgrind
doesn't know that new clears memory
2018-12-07 08:40:39 +11:00
Peter Barker 8e63d61b9e Tools: autotest: tidy valgrind invocations 2018-12-07 08:40:39 +11: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
Andrew Tridgell fa04c2d094 Plane: prevent jitter on surfaces due to speed scaling
when disarmed the k_throttle output can oscillate due to stage in the
loop we are at, even though actual output is zero. This can cause
jitter in the speed scaling, which causes surface movement

To fix, don't use k_throttle value when disarmed
2018-12-06 17:44:11 +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 550be0bfb1 Copter: tradheli default table made static 2018-12-06 12:23:41 +09: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 00b909255c Copter: tradheli uses set_defaults_from_table 2018-12-06 12:23:41 +09:00
Randy Mackay 71708ee4ea Plane: quadplane uses set_defaults_from_table 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
Andrew Tridgell bdacc410ca waf: added check for memrchr()
needed on macos
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
Peter Barker 9cc740b129 Vagrantfile: change default VM to bionic64 2018-12-06 11:12:52 +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