uncrustify
6a893c11c7
uncrustify ArduCopter/Parameters.h
2012-08-21 18:57:21 -07:00
rmackay9
2a83f1eef2
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
9cc705939a
Add a second mount instance
2012-08-08 23:07:25 +02:00
Andrew Tridgell
c2a4d59132
AP_Param: update ArduCopter core for new AP_Param interface
2012-08-08 12:11:57 +10:00
Amilcar Lucas
d9f1140278
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
e93daca17e
Fix heli compilation
2012-08-06 23:30:02 +02:00
Amilcar Lucas
b8c7b8a786
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
ad45012739
Arducopter: Renamed Config define (RTL_HOLD_ALT)
2012-07-19 17:50:15 -07:00
Jason Short
5a73a2b9cd
Arducopters parameter: Adjusted RTL_ALTITUDE units so they reflect comments in config.h
2012-07-19 09:50:57 -07:00
Jason Short
c9d3ab5413
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
29b6ec0b11
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
c73f7ef3ab
AP_Limits library, provides modular "limits" such as altitude and geo-fencing.
2012-07-14 19:26:17 -07:00
Andreas M. Antonopoulos
d4a0cb5db1
Added Michael Pursifull's Maxsonar HRLV model support
2012-07-11 18:46:47 -07:00
Jason Short
0620d86bfd
Arducopter:Params
...
WP_RADIUS_DEFAULT is now stored the same as Arduplane
2012-07-10 21:53:37 -07:00
Jason Short
af5423b863
Toy Mode: High Yaw default
2012-07-10 21:53:37 -07:00
Amilcar Lucas
dfe0983e1e
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
038116f521
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
6e93ab6af6
Parameters: Added flag for camera pitch/roll servos (continuous or regular)
2012-07-04 21:06:21 -05:00
Jason Short
3a3966736c
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
e35fb9ecd7
Parameters
...
removed unused parameters for retro loiter
2012-07-01 13:40:12 -07:00
Jason Short
49401bffae
Params: Added toy_yate_rate
2012-06-29 21:20:27 -07:00
Andrew Tridgell
55092c25a6
SITL: enable the SIM_* parameters in ArduCopter and ArduPlane
2012-06-29 15:10:52 +10:00
Jason Short
839b8865aa
Parameters.h: throttle_min and throttle_max now have defaults from Config.h
2012-06-20 15:02:00 -07:00
Jason Short
15aea320cb
Added note to remove this unused param
2012-06-03 11:13:50 -07:00
Jason Short
9d92602188
changed WP radius to AP_Int16
2012-05-28 22:39:29 -07:00
Robert Lefebvre
c8fb9a6635
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
60c347e23b
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
f9affb3295
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
a366bb2f81
Parameters: Changed rtl_approach_alt to float to support more granular altitudes
2012-04-16 10:06:29 -05:00
Andrew Tridgell
95cb35c7bb
AHRS: enable AHRS_ group in ArduCopter
2012-04-16 20:55:14 +10:00
Adam M Rivera
7ba8c291bd
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
0a3bc9a66a
ArduCopter - LEDS - two new parameters to support COPTER_LEDS.
...
Code by Robert Lefebvre.
2012-04-12 22:55:28 +09:00
rmackay9
f8210b164c
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
ee308ea06c
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
Robert Lefebvre
a480b32400
Added support for TradHeli H1 swashplate type. Added new param heli_h1_swash_enabled.
...
Signed-off-by: Robert Lefebvre <robert.lefebvre@gmail.com>
2012-03-03 08:14:14 -05:00
Andrew Tridgell
e213f6780e
ACM: added RC_SPEED MAVLink parameter
...
this will set the speed for APM_RC.SetFastOutputChannels()
2012-03-02 17:57:08 +11:00
Andrew Tridgell
f781bd735b
ACM: fixed Parameters.h to avoid duplicate keys
...
unfortunately everyone needs to reload
2012-03-02 15:48:28 +11:00
Jason Short
b76c4ecb22
added stab_d gain scheduling
2012-02-28 20:16:40 -08:00
Jason Short
04b70ffdc2
added Axis_Lock params
2012-02-18 21:13:06 -08:00
Randy Mackay
232359186e
TradHeli - fixed small parameter bug affecting helis. The servo parameters were declared as GSCALAR instead of GGROUP in Parameters.pde.
...
also renamed heli parameters from _coll_ to the more descriptive _collective_
2012-02-18 20:57:51 +09:00
Andrew Tridgell
718a5b70e3
AP_Param: fixed saving of sensor calibration
...
this fixes the saving of the accel and gyro calibration to EEPROM,
which was initially broken by the AP_Param conversion
2012-02-18 10:51:57 +11:00
Jason Short
3d63bb6cd4
Added acro_p to the params
2012-02-15 11:29:25 -08:00
Jason Short
91edeeeef2
added RTL_land_enabled
...
added auto_pilot slew rate
2012-02-15 09:10:14 -08:00
Jason Short
aa0662008b
Added new params for CH6 Tuning
...
moved enums to give more room for additional PIDs for Loiter
added new Acro_P gain
added auto_land_enabled option
added pi_loiter_lon and pi_loiter_lat for separate tuning of loiter
2012-02-15 09:10:14 -08:00
Andrew Tridgell
bf1eb670e3
update main parameter code for AP_Param in ACM
2012-02-13 16:22:52 +11:00
Jason Short
31614c39dd
Cosmetic
2012-01-30 21:13:03 -08:00
Randy Mackay
974c825f4a
Optflow - minor fix to D term defaulting
2012-01-29 21:06:41 +09:00
Jason Short
7833cea9d4
2.2B6 - Please verify Heli still functions properly.
...
Added AC_PID lib
Updated landing code
bug fixes
2012-01-28 22:00:05 -08:00
Randy Mackay
2c906b7b27
OpticalFlow - replaced PI controller with PID controller.
...
Modified optical flow hold to use aggregated position instead of speed.
2012-01-25 21:55:14 +09:00
Jason Short
aace39e65c
Converted distance gains to CM
...
added loiter_d for rate control, equal to old Nav_P gain
2012-01-21 22:13:57 -08:00
Jason Short
5180592913
Added Auto_land_timeout to params
2012-01-20 22:52:30 -08:00
Jason Short
19053bb725
Updated Firmware version
2012-01-20 22:52:30 -08:00
Michael Oborne
1bebb9452b
AC sync battery code with arduplane
2012-01-21 06:29:09 +08:00
Doug Weibel
ed9f7cb1b6
Update battery monitoring code for ArduCopter
...
Fixes compatibility for APM2. Also a significant update to the battery monitoring code: We previously had monitoring modes for individual cell voltages for 3 and 4 cell lipos. These have been removed as they were never really supported (the cell voltages were computed but were not reported or recorded anywhere). Also, some clean-up/prep work was done for supporting monitoring 2 separate battery packs. The CLI battery and current monitoring tests were consolidated into 1 test.
changed
2012-01-15 17:10:02 -07:00
Randy Mackay
f68d23d91e
ArduCopter - added ROLL_PITCH_STABLE_OF (i.e. Stabilised Roll/Pitch + adjustments based on optical flow)
...
Removed optical flow from regular loiter for now until it's tested.
2012-01-09 13:53:54 +09:00
Jason Short
26267f75b2
Reverted to Crosstrack like in Arduplane, requires Degrees * 100
2011-12-30 23:48:04 -08:00
Jason Short
f41835d546
Added Stabilize_D parameter
2011-12-29 23:02:02 -08:00
Randy Mackay
07041c2149
TradHeli - modified the default collective min/max values to restrict movement to about half the full range.
2011-12-26 16:59:01 +09:00
Jason Short
72605f846c
renamed super simple
2011-12-15 20:51:41 -08:00
Jason Short
88b3708dcf
added altitude to circle mission
2011-12-15 20:51:40 -08:00
Doug Weibel
8b78c4a4c5
Changes to logging file system to avoid problems with 0 and 1 page logs
2011-12-13 20:09:07 -07:00
Jason Short
e4559bbf5c
Added param option for Simple mode reset
2011-12-12 17:47:45 -08:00
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
2011-12-11 16:40:59 +09:00
Jason Short
1621f3a638
allow CH7 to be set via params
2011-11-26 16:39:28 -08:00
Jason Short
556db68d2d
Made loiter rad smaller in storage
2011-11-20 00:22:53 -08:00
Jason Short
d1c161ecd0
Upped version
...
added new logging params
added crosstrack gain
re-ordered param inits
2011-11-19 14:00:23 -08:00
Jason Short
fed5c0b204
Mission Scripting updates
2011-11-16 00:22:23 -08:00
Randy Mackay
70aadd4afc
TradHeli - added two parameters to improve heli control.
...
heli_phase_angle allows pilot roll/pitch command to be translated into mixed roll and pitch.
heli_coll_yaw_effect mixes some collective into the yaw so tail can counter act collective movements more easily.
2011-11-13 22:20:57 +09:00
Jason Short
04491d66db
Fixed scaling issue with Circle mode
2011-11-13 00:24:25 -08:00
Jason Short
7dd737ad90
Merge branch 'master' of https://code.google.com/p/ardupilot-mega
...
Conflicts:
Tools/autotest/autotest.py
2011-11-12 21:53:08 -08:00
Michael Oborne
b3747ab10f
fix loiter radius
2011-11-13 08:24:56 +08:00
Jason Short
be3edc19f8
Fixed type error in params
2011-11-12 15:15:33 -08:00
unknown
a7038cbaf9
TradHeli - new parameter HSV_MAN to allow better set-up from APMissionPlanner. Also changed swash movement to use radio_out which fixes some setup bugs
2011-11-12 23:23:07 +09:00
Jason Short
c8304114a3
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
2011-11-04 21:41:51 -07:00
Jason Short
04b5776601
50 rev
...
Work in progress, revved the EEPROM
2011-10-27 12:42:28 -07:00
Jason Short
a076b45506
Added Acro Params
...
Allows user's to fly separate PI loops settings for Acro
2011-10-27 11:52:00 -07:00
Jason Short
2f751793bc
typoo in params for camera roll gain. fixed.
2011-10-15 18:34:23 -07:00
Jason Short
6a5aefd0ec
Added gains to adjust travel of camera.
2011-10-15 16:34:57 -07:00
Jason Short
b0bd9d1c44
Added second PI loop for alt hold.
...
Upped gains for default JDrones Frame
added gains for second PI loop for alt
removed some tests for 1280 space constraints
2011-10-02 11:36:23 -07:00
Jason Short
f437e4b2d1
Revved the firmware to force resetting the EERPOM
2011-09-25 12:24:02 -07:00
rmackay9
b5ea05698e
TradHeli - added servo averaging to allow support of analog servos
...
- moved heli parameters to 80 because they were causing flight modes to overlap with waypoints
2011-09-25 16:51:25 +09:00
Jason Short
25b0a3c43b
Added a default, but low throttle cruise value
...
Added a clear integrator for Rate I to prevent tip ups at launch.
2011-09-22 23:10:55 -07:00
Jason Short
9c5cba56eb
Added low voltage code flashing code.
2011-09-16 18:56:51 -07:00
Jason Short
129c13e065
Fixed CIRCLE mode trig error
...
made loiter_radius * 100 in Params
updated gains
2011-09-16 16:54:45 -07:00
Jason Short
1ce2308d11
Removed Simple Mode
...
Added Simple option to mode switch positions
removed unused OptFlow code
added reset lat and lon error
removed unused init_auto
Fixed log formatting
Added simple mode bitmask
removed pitchmax
added CLI setup for enabling Simple mode to any switch position
2011-09-14 13:58:18 -07:00
Jason Short
482844b87a
Added Input Voltage value to params
2011-09-10 18:44:56 -07:00
Jason Short
02bfd43390
Fixes Alt hold mistake
...
Moves tuning into runtime definable param
Added more IMax to throttle
Signed-off-by: Jason Short <jasonshort@gmail.com>
2011-09-10 15:16:51 -07:00
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
2011-09-09 11:27:41 +10:00