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
Randy Mackay
3790b3aa82
Rover: add support for DO_SET_ROI within mission
2014-07-09 21:26:05 +09:00
Randy Mackay
873eb68d79
Plane: add support for DO_SET_ROI within mission
2014-07-09 21:26:02 +09:00
Randy Mackay
e1a6b07e60
Copter: setting ESC param to 2 skips high throttle check
...
This allows the all-at-once ESC calibration to be performed on a setup
in which the RC input takes some time to come online.
2014-07-09 13:25:08 +09:00
Andrew Tridgell
d325f630e5
VibTest: added sample timing to console output
2014-07-09 12:12:23 +10:00
Andrew Tridgell
8af876fe8a
AC_AttitudeControl: fixed build
...
includes are case sensitive on the build server
2014-07-09 10:19:17 +10:00
Andrew Tridgell
fc368202ad
build: fixed build with latest upstream PX4 Firmware tree
2014-07-09 08:12:10 +10:00
Andrew Tridgell
863e7a5f93
VibTest: fixed array bounds error
2014-07-09 08:11:52 +10:00
Andrew Tridgell
2c8240dbb4
VibTest: fixed gyro timestamps in logs
...
it was using the accel timestamps
2014-07-09 08:10:09 +10:00
Aaron Curtis
179d854a26
LogAnalyzer: Update to include the new "format" argument, and fix scoping on two new tests.
2014-07-08 14:13:00 -07:00
Aaron Curtis
406fedf727
LogAnalyzer: Allow instantiation of DataFlashlog with no input filename, for backward compatibility. My changes make m_dflog=DataFlashlog('/path/to/file.log') work, which seems like the preferable way, but we don't want to break backwards compatibility.
2014-07-08 14:12:59 -07:00
Aaron Curtis
0f5360fefa
LogAnalyzer: Default to automatic log format detection.
2014-07-08 14:12:58 -07:00
Aaron Curtis
c6d783409c
LogAnalyzer: There is no self.logfile, so this must be self.filename.
2014-07-08 14:12:58 -07:00
Aaron Curtis
fc79a06b9f
LogAnalyzer: Fix indent which I broke when merging.
2014-07-08 14:12:57 -07:00
Aaron Curtis
9dbfa40afd
LogAnalyzer: LogAnalyzer: make all subclasses of Test call their parent __init()__ function when overriding that function. This is the way of Python.
2014-07-08 14:12:56 -07:00
Aaron Curtis
f0cf612372
LogAnalyzer: Fix scoping in LogAnalyzer.py . Tests still need fixing.
...
Conflicts:
Tools/LogAnalyzer/LogAnalyzer.py
2014-07-08 14:12:56 -07:00
Aaron Curtis
842f5d20c4
LogAnalyzer: Fix scoping in DataflashLog.py so that multiple instances of DataflashLog can coexist.
...
Conflicts:
Tools/LogAnalyzer/DataflashLog.py
2014-07-08 14:12:55 -07:00
Robert Lefebvre
789b1018fc
AP_MotorsHeli: Change set_delta_phase_angle so that it forces recalculation of collective factors.
2014-07-08 20:18:39 +09:00