Commit Graph

12450 Commits

Author SHA1 Message Date
Robert Lefebvre a7f6a91827 AC_AttitudeControl_Heli: Remove ToDo. Rate controllers should always run even if throttle is zero. 2014-07-13 17:11:20 +09:00
lthall f53181ec66 Copter: Acro balance fix 2014-07-13 15:51:49 +09:00
Randy Mackay f630f9abc3 GPS: exclude SIRF and NMEA on APM copter build
This only works for the centralised builder, the modified Arduino IDE
will still include the NMEA and SIRF drivers meaning it will require
approximately 4k additional flash which may push us over the limit on
the APM2.  Users will instead need to exclude other features to get
below the APM1/2 flash limit.
2014-07-13 15:41:11 +09:00
Andrew Tridgell 527de3f2e4 AntennaTracker: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell 3143e192d3 Rover: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell 71d2333ea8 Copter: changes for more common mavlink code 2014-07-13 15:37:50 +10:00
Andrew Tridgell c5a765758c Plane: update for new API 2014-07-13 15:37:50 +10:00
Andrew Tridgell ddb030088d GCS_Mavlink: moved some more mavlink functions to GCS_Common.cpp 2014-07-13 15:37:49 +10:00
Randy Mackay 971411e0db AC_AttControl: fixed typo in parameter description 2014-07-13 10:31:11 +09:00
Andrew Tridgell 28f251005b Copter: fixed typos in parameter markup 2014-07-12 11:26:15 +10:00
Andrew Tridgell 4fad9b0a89 Replay: fixed build of replay tool
changes to compass API
2014-07-12 11:08:04 +10:00
Andrew Tridgell 20accefe51 VARTest: fixed build with compass changes 2014-07-12 10:22:25 +10:00
Randy Mackay 5f623ac859 AC_AttControl: re-enable rate feedforward by default
Roll and Pitch rate controllers became sluggish without feed-forward
enabled.
2014-07-11 15:31:00 +09:00
Randy Mackay 7f9cd20377 Copter: set UARTs non-blocking at end of initialisation
Previously we were setting to non-block after arming but this reduce the
chance of bumping into a NuttX USB driver issue that can cause the uart
to become unresponsive and also makes Copter consistent with Plane
2014-07-11 15:27:29 +09:00
Randy Mackay 34bc136a6c Copter: AC3.2-rc3 version and release notes 2014-07-11 14:18:48 +09:00
Randy Mackay 65e5367619 Copter: rename hybrid to poshold 2014-07-11 14:09:01 +09:00
Randy Mackay 0fc73a0a21 Copter: rename control_hybrid to poshold 2014-07-11 14:06:53 +09:00
Randy Mackay bbf4805b0e Compass: update pixhawk expected device ids 2014-07-11 11:10:18 +09:00
Craig Elder c9f3adcb5c Compass: Updated COMPASS_PRIMARY parameter description 2014-07-10 15:32:06 -07:00
Andrew Tridgell 473865ccc1 Plane: prepare for 3.0.4-beta3 2014-07-11 07:40:59 +10:00
Craig Elder 0ecd12b1c6 AP_Compass: Corrected typo in parameter description
Corrected typo in parameter description
2014-07-10 14:19:19 -07:00
Randy Mackay aef746b3b1 Plane: pass in compass to Arming constructor 2014-07-10 22:51:29 +09:00
Randy Mackay fa2f5d9c68 Arming: accept non-const compass in constructor
The compass.configured() method checks the eeprom and cannot be const
meaning the Arming object requires a non-const reference to the compass.
Removed check for null compass because the compass object is always
created although this could lead to unnecessary pre-arn check failures
even though compass-use is set to false.
2014-07-10 22:50:52 +09:00
Randy Mackay 4995b9ada8 Compass: default device id to zero 2014-07-10 20:25:36 +09:00
Randy Mackay 16d4af8346 Compass: sanity check instance in set_and_save_offsets 2014-07-10 20:25:32 +09:00
Randy Mackay 76369d153f Arming: use compass.configured method
This checks that when compass offset learning is off, that the offsets
are non-zero and that the detected device id matches the device id
stored to eeprom when the offsets were last saved.
2014-07-10 20:25:30 +09:00
Randy Mackay 170ca89a21 Rover: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
replaces ardupilot specific message SET_MAG_OFFSETS
2014-07-10 20:25:28 +09:00
Randy Mackay d789735d0d Rover: rename compass set_and_save_offsets 2014-07-10 20:25:26 +09:00
Randy Mackay b17125e261 Plane: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
replaces ardupilot specific SET_MAG_OFFSETS message
2014-07-10 20:25:24 +09:00
Randy Mackay 208a2de777 Plane: rename compass set_and_save_offsets 2014-07-10 20:25:21 +09:00
Randy Mackay b565d43d5d Copter: PREFLIGHT_SET_SENSOR_OFFSETS used to set compass offsets
remove deprecated ardupilot specific SET_MAG_OFFSETS
2014-07-10 20:25:18 +09:00
Randy Mackay 2c085c300d Copter: only save compass offsets when learning is on 2014-07-10 20:25:16 +09:00
Randy Mackay cf7e1a6339 Compass: example sketch update for set_and_save_offsets 2014-07-10 20:25:13 +09:00
Randy Mackay a778522cef Compass: add learn_offsets_enabled accessor method 2014-07-10 20:25:11 +09:00
Randy Mackay 108c878b04 Compass: set_offsets modified to also save offsets 2014-07-10 20:25:08 +09:00
Randy Mackay 124bd4b489 Compass: save_offsets accepts compass instance 2014-07-10 20:25:05 +09:00
Randy Mackay 2c1fa5f1e8 GCS_MAVLink: generate after adding deprecated note to SET_MAG_OFFSETS 2014-07-10 20:25:02 +09:00
Randy Mackay 798c749833 GCS_MAVLink: add deprecated note to SET_MAG_OFFSETS 2014-07-10 20:25:00 +09:00
Randy Mackay 05225636da GCS_MAVLink: generate after adding second mag to PREFLIGHT_SET_SENSOR_OFFSETS 2014-07-10 20:24:58 +09:00
Randy Mackay bf6fd6f984 GCS_MAVLink: add second mag to PREFLIGHT_SET_SENSOR_OFFSETS
Updates the comments for parameter 1 only, this does not affect the
message format.
2014-07-10 20:24:55 +09:00
Randy Mackay b799020e25 Copter: pre-arm check uses compass configured method 2014-07-10 20:24:53 +09:00
Randy Mackay 070f1c1bbb Compass: add dev_id for VRBrain 2014-07-10 20:24:49 +09:00
Randy Mackay f42c9579d7 Compass: add dev_id for PX4
dev_id is retrieved from PX4Firmware via ioctl call
2014-07-10 20:24:46 +09:00
Randy Mackay b7f33d81ad Compass: add DEV_ID param and configured method
These allow checking the offsets were created with the current compass
device.
2014-07-10 20:24:44 +09:00
svefro be9bfc5530 Mount: set_mode method made public 2014-07-10 13:03:43 +09:00
svefro e892b4cd04 Copter: Ch7/8 option to retract mount
-Define AUX_SWITCH_RETRACT_MOUNT in defines.h
-Added 27=Retract Mount to Parameters.pde CH7 and CH8
-added int on CH7/8opt AUX_SWITCH_RETRACT_MOUNT
-Added Case #if Mount == ENABLE to set mount mode
made set_mode public in AP_Mount.h lib
2014-07-10 13:03:28 +09:00
Kevin Hester 4c3480796d all: Change the editorconfig so that it won't want to reformat
.editorconfig is a great way to ensure developers follow our
line ending/tab conventions, but we shouldn't have it default
to fixing any lines that were not edited.
2014-07-09 19:03:18 -07:00
Kevin Hester f43064ddef documentation: Add a contributing & maintainers file
Per our devcall last week.  Adding now mainly so we can start pointing
LogAnalyzer fixes to @chapman and quickly get them into master.

@tridge & @randy - I kinda guessed at the maintainers list, we can
update later as needed.
2014-07-09 18:59:26 -07:00
Randy Mackay 042c65c501 Plane: add support for DO_SET_ROI outside of missions 2014-07-09 21:27:01 +09:00
Randy Mackay 9064d7ebca Rover: add support for DO_SET_ROI outside of missions 2014-07-09 21:26:50 +09:00