Commit Graph

12810 Commits

Author SHA1 Message Date
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
Robert Lefebvre 1aa3961151 Arducopter: Improve comments for scheduler. Add timing table for AVR processors. 2014-07-08 20:17:54 +09:00
Jonathan Challinger c07ded9a79 Copter: Don't use land detector to stop stabilizing in stabilize 2014-07-08 19:41:41 +09:00
Andrew Tridgell 5230684bad build: disable some compiler errors for now
this needs more work, but allows us to build with upstream PX4
Firmware now
2014-07-08 20:28:45 +10:00
Andrew Tridgell b2bc098aee HAL_PX4: avoid some float conversion warnings 2014-07-08 20:27:19 +10:00
Andrew Tridgell e137bf26ef HAL_Empty: avoid some float conversion warnings 2014-07-08 20:27:13 +10:00
Andrew Tridgell 59de5a8465 AP_GPS: avoid some float conversion warnings 2014-07-08 20:27:03 +10:00
Andrew Tridgell 74c3b404ee AP_Baro: avoid some float conversion warnings 2014-07-08 20:26:54 +10:00
Andrew Tridgell 6b87c9fdf7 AP_Airspeed: avoid some float conversion warnings 2014-07-08 20:26:44 +10:00
Andrew Tridgell f28946defb AP_ADC_AnalogSource: avoid some float conversion warnings 2014-07-08 20:26:37 +10:00