Commit Graph

12391 Commits

Author SHA1 Message Date
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
Andrew Tridgell
198ada2b42 APM_Control: avoid some float conversion warnings 2014-07-08 20:26:20 +10:00
Andrew Tridgell
3390224491 Plane: avoid some float conversion warnings 2014-07-08 20:26:07 +10:00
Andrew Tridgell
baa0217bec AP_RangeFinder: trigger a new reading automatically
this fixes Maxbotix I2C
2014-07-08 16:28:18 +10:00
Andrew Tridgell
6416a4d0e6 Copter: fixed apm1-hil build 2014-07-08 15:41:39 +10:00
Andrew Tridgell
f6d9bc5d7e AP_RangeFinder: fixed detection of multiple types
Pair-Programmed-With: Allyson Kreft
2014-07-08 15:08:18 +10:00
Andrew Tridgell
7ceb14bec0 HAL_Empty: make I2C ops fail 2014-07-08 15:08:18 +10:00
Andrew Tridgell
9386295428 AP_RangeFinder: added SONAR2_TYPE parameter
thanks to Allyson for noticing
2014-07-08 15:08:18 +10:00
Andrew Tridgell
05d4f5fb5a AP_RangeFinder: convert PX4 driver to new API 2014-07-08 15:08:18 +10:00
Andrew Tridgell
a4b9b989b7 Copter: convert to new AP_RangeFinder API 2014-07-08 15:08:18 +10:00
Andrew Tridgell
4cba48ade2 AP_RangeFinder: removed old style analog drivers
replaced by generic analog driver
2014-07-08 15:07:51 +10:00
Andrew Tridgell
ed346fd639 AP_RangeFinder: convert MaxbotixI2C driver to new API 2014-07-08 15:07:51 +10:00
Andrew Tridgell
0063d83dbc AP_RangeFinder: convert the PulsedLight driver to new API
not tested yet
2014-07-08 15:07:50 +10:00
Andrew Tridgell
22b9059647 AP_RangeFinder: have two instances on all platforms
rover needs two sonars for obstacle avoidance
2014-07-08 15:07:50 +10:00
Andrew Tridgell
bfe705a14d Rover: convert to new AP_RangeFinder API 2014-07-08 15:07:50 +10:00
Andrew Tridgell
28e1449e8d Plane: updates for new AP_RangeFinder API 2014-07-08 15:07:50 +10:00
Andrew Tridgell
e69a473315 SITL: update simulated sonar support 2014-07-08 15:07:50 +10:00
Andrew Tridgell
6f33ca4988 AP_RangeFinder: added SONAR_RMETRIC option
this allows correct support for non-ratiometric rangefinders such as
the SF/02
2014-07-08 15:07:50 +10:00
Andrew Tridgell
92b76b4be4 AP_RangeFinder: converted analog rangefinder backend to new API
this gets analog rangefinders of all types working
2014-07-08 15:07:50 +10:00
Andrew Tridgell
cb037f3416 AP_RangeFinder: new rangefinder API ready for its first backend
the backends are setup to have just the minimum functionality needed
for a rangefinder, with all of the higher level logic in the
frontend. This should make writing a new backend easier
2014-07-08 15:07:50 +10:00