Commit Graph

35107 Commits

Author SHA1 Message Date
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
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
Peter Barker 4ae8595da3 Tools: autotest: make fly_avc_test a little more self-contained 2018-12-06 10:02:03 +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
Michael Oborne a24f870a0d apj_tool: fix binary writes 2018-12-06 08:34:26 +11:00
Randy Mackay f5208b1664 Copter: minor format fix 2018-12-05 20:12:34 +09:00
Randy Mackay aa7c9ec89e RC_Channel: minor format fixes 2018-12-05 19:18:31 +09:00
Randy Mackay 24c79acdc4 Copter: 3.6.3 release notes 2018-12-05 10:11:20 +09:00
Andrew Tridgell acf379cd77 autotest: allow sim_vehicle 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-05 09:09:56 +11: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