Commit Graph

12719 Commits

Author SHA1 Message Date
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
Robert Lefebvre fd542e99d8 AP_MotorsHeli: Create Delta Phase Angle variable and method to set. Will be used by CCComp code. 2014-07-08 20:18:34 +09:00
Robert Lefebvre 4b5167e529 TradHeli: Change behavior of Acro and Stabilize modes when disarmed. Servos should move realistically for testing when disarmed. 2014-07-08 20:18:32 +09:00
Robert Lefebvre 5b13b2b3da TradHeli: Stabilize mode should use get_pilot_desired_collective, not get_pilot_desired_throttle. 2014-07-08 20:18:29 +09:00
Robert Lefebvre 032f321348 TradHeli: Acro mode uses full collective range. 2014-07-08 20:18:27 +09:00
Robert Lefebvre c7ccd22d96 TradHeli: Set main loop rate time in motors class. 2014-07-08 20:18:24 +09:00
Robert Lefebvre 0680b88abd AP_MotorsHeli: Add main loop rate time variable and method. Change RSC increment calc to account for loop rate time. 2014-07-08 20:18:20 +09:00
Robert Lefebvre 7ef4c11c92 TradHeli: Initialize Rate FF filters. 2014-07-08 20:18:16 +09:00
Robert Lefebvre 26be7aed97 AC_AttControl_Heli: Add LPF filter to Rate Feedforward terms 2014-07-08 20:18:13 +09:00
Robert Lefebvre 8eb557d1e0 TradHeli: Add Heli.h file 2014-07-08 20:18:10 +09:00
Robert Lefebvre 1f422c86c1 Arducopter: Add independent rate roll and pitch P, I, D tuning options. Add rate feedforward tuning options for tradheli. 2014-07-08 20:18:08 +09:00
Robert Lefebvre fa9d625e39 AC_HELI_PID: Add feedforward accessor functions. 2014-07-08 20:18:05 +09:00
Robert Lefebvre 979abb9fbd TradHeli: Cause DDVP Tail Motor to stop immediately when Ch8 is 0. 2014-07-08 20:18:02 +09:00
Robert Lefebvre 08e135151a TradHeli: Add Mode Filter on RC8 input for RSC Controller. 2014-07-08 20:18:00 +09:00
Robert Lefebvre ff71b0fa35 TradHeli: Create new function to move data between AP_MotorsHeli and AP_AttitudeControl. 2014-07-08 20:17:57 +09:00