Commit Graph

28653 Commits

Author SHA1 Message Date
Andrew Tridgell 50dcca39bd Filter: added a notch filter
maths from Leonard
2017-08-29 13:52:29 +10:00
Peter Barker 0f22f923e1 AC_InputManager: remove MAIN_LOOP_RATE in favour of parameter value 2017-08-29 08:41:07 +09:00
Peter Barker 89e6e70235 Copter: remove MAIN_LOOP_RATE in favour of parameter value 2017-08-29 08:41:07 +09:00
Andrew Tridgell d541ac509f Plane: removed TRIM_RC_AT_START parameter
this option caused a lot more problems than it solved, and is buggy
2017-08-29 07:35:49 +10:00
Andrew Tridgell 1a207c919b Plane: fixed bug in TRIM_AUTO
fixed trim for differential spoilers
2017-08-29 07:35:49 +10:00
Andrew Tridgell 4124d371c9 Plane: fixed minacc and delay for launch
See
https://discuss.ardupilot.org/t/tkoff-thr-minacc-and-tkoff-thr-delay-doesnt-work-together/19928
2017-08-29 07:35:04 +10:00
Andrew Tridgell 4aa068d63d SITL: added simple launch sim for plane
allow for bungee, catapult and hand launches
2017-08-29 07:35:04 +10:00
Peter Barker 9783c0c3ba DataFlash: log dataflash-file statistics periodically 2017-08-28 22:05:44 +01:00
Peter Barker 776d88bb6b DataFlash: remove duplicate variables 2017-08-28 22:05:44 +01:00
Peter Barker e298e87791 sim_vehicle: add --callgrind option 2017-08-28 13:47:27 +01:00
Andrew Tridgell f13b0d883e PX4NuttX: submodule update
added flag for nsh exit
2017-08-28 17:58:48 +10:00
Andrew Tridgell 29fe432dd7 AP_SerialManager: enable debug console use for other protocols
this allows SERIAL5_PROTOCOL to be set on FMUv2 and FMUv3 for use by
other protocols
2017-08-28 17:57:28 +10:00
Andrew Tridgell d09b549144 HAL_PX4: allow uart5 to be used for non-nsh on FMUv2/FMUv3 2017-08-28 17:57:28 +10:00
cclauss 0f08207bdb Tools: define reduce() for Python 3
`reduce()` is called on line 55.  Python 3 dropped reduce() as a builtin.  https://docs.python.org/3/whatsnew/3.0.html#builtins encourages the rewriting of reduce() calls as explicit for loops or list comprehensions but I am not confident to try that in this context.
2017-08-28 11:43:39 +10:00
Peter Barker 24e616af7d Tools: autotest.py: factor write_fullresults 2017-08-26 17:54:32 +01:00
Peter Barker b288ef27a3 Tools: move Vagrant to zesty32
The yakkety32 images are no longer present in the cloud repositories
2017-08-26 23:02:22 +10:00
Andrew Tridgell 0155434057 RC_Channel: fixed bug in manual with TRIM == MIN
This fixes the bug described here:

https://discuss.ardupilot.org/t/arduplane-reverse-thrust-setup/18324/5

which otherwise would prevent output with TRIM == MIN or TRIM == MAX
2017-08-26 20:30:54 +10:00
khancyr 2be28ddb1e Rover: fixup cpu failsafe
remove copying of rc input to servo output
disarm after 2 seconds
2017-08-26 13:13:18 +09:00
Peter Barker b1516cc6e8 Sub: base loop time remaining on variable loop rate 2017-08-26 09:33:45 +09:00
Peter Barker 02a590024d Copter: base loop time remaining on variable loop rate 2017-08-26 09:33:45 +09:00
Andrew Tridgell 8d0d4fe40a Tools: added script to decode Saleae CSV capture file 2017-08-26 09:56:25 +10:00
Peter Barker 0334cc1c88 Tools: correct copter's fly_throttle_failsafe failure case 2017-08-26 09:36:09 +10:00
cclauss 13894506f4 from math import sqrt
Make the call match the import
2017-08-25 09:04:15 -07:00
cclauss b26b6f07bd from math import sqrt
sqrt() is called on lines 198, 200, 208.  Without this change, sqrt() is an undefined name.
2017-08-25 09:04:15 -07:00
Randy Mackay d525c0bffb Rover: 3.2.0-rc1 release notes 2017-08-25 14:50:48 +09:00
Randy Mackay 78a5e4500f Rover: send GCS warning when cruise learning fails to start
Also const-ified some variables, added some brackets and comments
2017-08-25 14:05:23 +09:00
Randy Mackay 1600823b12 Rover: aux switch to learn cruise throttle and speed 2017-08-25 14:05:23 +09:00
Randy Mackay 14c74a5967 Rover: remove learning mode
saving waypoints can be done in manual or steering mode
2017-08-25 14:05:23 +09:00
Randy Mackay 524fe4cd82 Rover: aux switch saves waypoint in manual or steering modes
Also refactor aux switch methods
rename LEARN_CH to AUX_CH
2017-08-25 14:05:23 +09:00
Randy Mackay 3adfb0e77d Rover: replace int with uint8_t
non-functional change
2017-08-25 14:05:23 +09:00
Randy Mackay 82e61d7198 Rover: remove unused throttle_failsafe_active method 2017-08-25 14:05:23 +09:00
Francisco Ferreira 415cb41c7f
Tools: add gdbserver option to Rover autotest
commit 38297c4 missed changing Rover file
2017-08-25 02:38:12 +01:00
khancyr 4ab11027a7 Rover: remove unused mavlink_delay(uint32_t ms) 2017-08-24 20:41:16 +09:00
khancyr 4c977f16ce Rover: reduce ADC warm up time 2017-08-24 20:41:16 +09:00
Peter Barker a7b919f025 Tools: do not attach gdb to gdbserver unless --gdb is given 2017-08-24 21:37:06 +10:00
Miguel Arroyo 38297c4d19 Tools: Adds GDBServer with screen option for debugging 2017-08-24 21:37:06 +10:00
khancyr db3c387916 Tools: update relay pins for brushed motors in SITL 2017-08-24 20:10:32 +09:00
khancyr 2f1cc5ddfc Rover: support brushed motor on normal rover 2017-08-24 20:09:47 +09:00
khancyr 25b1307400 Rover: solve servo reverse in brushed configuration 2017-08-24 20:05:27 +09:00
Peter Barker 0b6de644fb Copter: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Peter Barker 2861c1d06a Plane: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Peter Barker 6f11c80f56 Tracker: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Peter Barker 4fc31cf80d Rover: add ArduSub to list of SYSID_SW_TYPE 2017-08-24 19:50:38 +09:00
Peter Barker 212174bc0e Plane: remove unused defines 2017-08-24 19:48:17 +09:00
Peter Barker 5103739ea3 Copter: remove unused CH6 defines 2017-08-24 19:48:17 +09:00
Peter Barker 2f9fb581fe DataFlash: remove bad FALLTHROUGH causing compilation failure 2017-08-24 15:49:15 +09:00
Peter Barker 921985fe27 GCS_MAVLink: allow statustext logging from any source system
Turns out this is terribly useful for companion computers if
you allow them to log things when they're not your GCS.

The original check was bogus; if someone is talking to you via
mavlink they can do much worse than fill your logs!
2017-08-23 15:58:47 +01:00
Jacob Walser 0bd5d6ca18 Sub: send useful information to GCS 2017-08-23 13:40:52 +01:00
Jacob Walser e8f5967682 GCS_MAVLink: Add MSG_NAMED_FLOAT ap_message id 2017-08-23 13:40:52 +01:00
Lucas De Marchi 3414883f05 AP_GPS: remove tabs and fix coding style 2017-08-22 23:59:13 -07:00