rmackay9
dc0b35da30
ArduCopter: restored landing detector to landing throttle mode.
...
Added LAND_SPEED parameter to control the rate of descent for the last 10m of a landing.
Added CH6 tuning for accel based throttle controller.
2012-12-06 10:31:20 +09:00
rmackay9
c1ce0ae752
ArduCopter: first merge of leonard's accel based altitude controller plus other changes from Randy
...
Changes include:
New low-level get_throttle_accel function takes target acceleration and compares vs earth-frame Z accelerometer values to produce output to motors.
Higher level throttle controllers modified to call new get_throttle_accel controller
Throttle_rate_stabilized controller added which maintains a desired climb/descent rate
Throttle_land controller added - descends using normal auto throttle controller to 10m then descends at 50cm/s
Multiple throttle modes added including landing mode
Land flight mode no longer needs GPS
Throttle cruise maintenance moved to update_throttle_cruise function
2012-12-06 10:30:49 +09:00
Robert Lefebvre
b225bc8cb8
ACM: TradHeli
...
Creating Rate Feed-Forward Parameters
2012-12-04 13:47:38 -05:00
Andrew Tridgell
386ef45fbb
Copter: ported RSSI_PIN option from ArduPlane
...
this is useful for OSD users
2012-11-22 20:59:33 +11:00
rmackay9
3a4d122e32
ArduCopter: low baterry failsafe
2012-11-15 23:35:41 +09:00
Jason Short
3e905ec750
Ap state updates
2012-11-09 22:15:15 -08:00
rmackay9
af40201b14
ArduCopter: incorporate new version of inertial navigation
...
Moved several navigation functions from ArduCopter.pde to navigation.pde
2012-11-07 19:21:31 +09:00
rmackay9
e2b1cb7e8d
AP_InertialSensor: changes after review with Tridge.
...
sanity checking added to accelerometer calibration routine.
user feedback is sent using gcs_send_text_fmt instead of Serial.printf.
moved ins parameters to new eeprom number to avoid conflicts with older parameters.
other small changes including renaming of functions and parameters.
2012-11-07 19:21:15 +09:00
rmackay9
0868917ff4
ArduCopter: move to use new INS library instead of IMU library
2012-11-07 19:21:09 +09:00
rmackay9
ab86eae860
ArduCopter: changed ACRO_ROLL_STABILIZE and ACRO_PITCH_STABILIZE to parameters
...
Changes on behalf of Leonard Hall
2012-10-23 21:30:50 +09:00
rmackay9
4c7292e6ce
ArduCopter: incremented eeprom format version to force users to accept the new defaults.
...
Particularly important is the roll-pitch I term move from the stabilize to rate controllers.
2012-10-19 16:14:51 +09:00
rmackay9
71c773801a
ArduCopter: added BATT_VOLT_PIN and BATT_CURR_PIN parameters to allow support for new 3DR IV battery voltage and current monitor
2012-10-13 18:40:46 +09:00
rmackay9
770aa0b56b
ArduCopter: BATT_PIN parameter added to allow you to select which pin is used for voltage and current measurements
...
To save a parameter, the current sensor pin is assumed to always be 1 higher than the voltage pin.
2012-10-02 22:16:19 +09:00
Jason Short
2fcc7d3b22
ACM : Params - formatting cleanup
2012-09-10 20:22:11 -07:00
rmackay9
3e6966c33d
ArduCopter: fixes to allow AP_Mount to work on APM1 with original default channels and fix to reenable support for 3-axis gimbals on APM2.
...
Channels 5 to 11 changed to RC_Channel_aux.
Removed channel 9 because APM_RC doesn't support it in any case.
Updated EEPROM format version to 119 because of the change to RC_Channel_aux and because k_param_rc_11 moved to be after k_param_rc_10.
2012-09-02 12:51:23 +09:00
Andrew Tridgell
0b2cbbb677
ACM: added TELEM_DELAY to ArduCopter
2012-08-30 09:03:01 +10:00
uncrustify
5dceeed7ce
uncrustify ArduCopter/Parameters.h
2012-08-21 18:57:21 -07:00
rmackay9
95c59fd4a4
ArduCopter: remove RTL_LAND parameter as it's been deprecated in favour of APPROACH_ALT.
...
Updated comments on ALT_HOLD_RTL and APPROACH_ALT to make it a little easier to understand.
2012-08-14 12:14:35 +09:00
Amilcar Lucas
f321f5d9c5
Add a second mount instance
2012-08-08 23:07:25 +02:00
Andrew Tridgell
d8106cf20f
AP_Param: update ArduCopter core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Amilcar Lucas
ff32fed176
ArduCopter: Use generic channel names for AP_Mount servos.
...
This simplifies mission planner, the same code can be used for plane and copter now.
2012-08-06 23:33:51 +02:00
Amilcar Lucas
16dd919819
Fix heli compilation
2012-08-06 23:30:02 +02:00
Amilcar Lucas
fe4713b46e
RC_Channel: Allow each channel to know who they are, this simplifies the enabling and output function calls.
2012-08-05 23:08:31 +02:00
Jason Short
24d05c171a
Arducopter: Renamed Config define (RTL_HOLD_ALT)
2012-07-19 17:50:15 -07:00
Jason Short
243aa72abe
Arducopters parameter: Adjusted RTL_ALTITUDE units so they reflect comments in config.h
2012-07-19 09:50:57 -07:00
Jason Short
25c3ed6c4b
Oilpan ADC parameters added
...
including a function that configures each Accel Axis
Defaults matching old behavior
Added param group
2012-07-18 22:57:11 -07:00
rmackay9
0dc0e3801c
ArduCopter: reverted channel 5~8 to be regular RC_Channel objects, restored rc_camera_roll and rc_camera_pitch RC_Channels and created new rc_camera_yaw RC_Channel to control the camera mount servos.
...
Defined camera_mount (MNT_) in Parameters.h and Parameters.pde so that it appears in global parameters list.
Removed unused camera_*_gain and camaera_*_continuous parameters.
2012-07-15 16:36:05 +09:00
Andreas M. Antonopoulos
31fd74d94c
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
2012-07-14 19:26:17 -07:00
Andreas M. Antonopoulos
9dfb3c4db9
Added Michael Pursifull's Maxsonar HRLV model support
2012-07-11 18:46:47 -07:00
Jason Short
32e6a6ba8d
Arducopter:Params
...
WP_RADIUS_DEFAULT is now stored the same as Arduplane
2012-07-10 21:53:37 -07:00
Jason Short
492809098b
Toy Mode: High Yaw default
2012-07-10 21:53:37 -07:00
Amilcar Lucas
8e14ebbc10
Merge the changes from APM_Camera branch into ArduCopter
...
Conflicts:
ArduCopter/Camera.pde
ArduCopter/Parameters.pde
2012-07-11 00:39:13 +02:00
Jason Short
9e796899e4
Airspeed patch:
...
pre-calculated airspeed resistance pitches copter automatically to gain a certain speed allowing the speed controller to work off of a better set point - similar to Alt hold.
added param tilt_comp with a default of 54 which equals 19.5° of pitch to go 6m/s
upped Z and Y target speeds to int32_t for speed squared calculation
2012-07-09 13:13:32 -07:00
Adam M Rivera
278e215a21
Parameters: Added flag for camera pitch/roll servos (continuous or regular)
2012-07-04 21:06:21 -05:00
Jason Short
69fe7feb54
Params
...
Added Tilt_Compensation to Params,
deprecated RTL_Land_Enabeled
RTL_Approach_alt is not int16_t, -1 means do noting. 0 means land, >1 means hover to that altitude after timeout.
2012-07-03 17:33:03 -07:00
Jason Short
44e12c6d2d
Parameters
...
removed unused parameters for retro loiter
2012-07-01 13:40:12 -07:00
Jason Short
eb06320559
Params: Added toy_yate_rate
2012-06-29 21:20:27 -07:00
Andrew Tridgell
1cb96e14a9
SITL: enable the SIM_* parameters in ArduCopter and ArduPlane
2012-06-29 15:10:52 +10:00
Jason Short
95f3041d25
Parameters.h: throttle_min and throttle_max now have defaults from Config.h
2012-06-20 15:02:00 -07:00
Jason Short
f2edc87797
Added note to remove this unused param
2012-06-03 11:13:50 -07:00
Jason Short
996cfc5c96
changed WP radius to AP_Int16
2012-05-28 22:39:29 -07:00
Robert Lefebvre
a9349a6e87
More CopterLEDS changes.
...
Merged CopterLEDS and Piezo functions to eliminate pin conflict on APM2. Created new Parameter bit to turn piezo function on and off from MP. Moved GPS and Aux pin assignments to allow commonality between APM1 and 2. Set LED_Mode parameter default to 9 in order to make CopterLEDS completely backwards compatible with old Motor LEDS and Piezo code. Legacy users should see no difference.
2012-05-15 12:00:21 -04:00
Adam M Rivera
ec06638db6
Parameters: Added g.retro_loiter which is configurable by the user via the MP.
2012-04-23 00:17:52 -05:00
Adam M Rivera
8128fb2d5f
Merge branch 'master' of https://code.google.com/p/ardupilot-mega into auto-approach
...
Conflicts:
ArduCopter/Parameters.h
2012-04-16 10:23:01 -05:00
Adam M Rivera
2d096c401f
Parameters: Changed rtl_approach_alt to float to support more granular altitudes
2012-04-16 10:06:29 -05:00
Andrew Tridgell
5a9ad6ddbb
AHRS: enable AHRS_ group in ArduCopter
2012-04-16 20:55:14 +10:00
Adam M Rivera
f5e0b002ba
Parameters: Added new APPROACH_ALT params (g.rtl_approach_alt) which stored the users desired target altitude after RTL is complete.
2012-04-15 16:51:41 -05:00
rmackay9
d1a5d1f94c
ArduCopter - LEDS - two new parameters to support COPTER_LEDS.
...
Code by Robert Lefebvre.
2012-04-12 22:55:28 +09:00
rmackay9
023378a214
ArduCopter - Parameters.h - changed initialisation order to remove compiler warning (have not changed enum values so shouldn't require eeprom format id update)
2012-04-09 17:37:06 +09:00
rmackay9
929e933b69
ArduCopter - increased firmware version to 118. Removed nearly all heli parameters as these are all created by the AP_MotorHeli class now.
...
Note: we cannot move the heli_servos to the AP_MotorHeli class yet because of a small issue in the parameters class.
2012-04-04 22:55:07 +09:00