Commit Graph

4664 Commits

Author SHA1 Message Date
Jason Short 79cdef1a48 arducopter
alt hold state reset
2012-07-18 22:57:11 -07:00
Jason Short f29aa0dc25 Arducopter
upped nav max to 32deg from 30
renamed calc_desired_speed to get_desired_speed
Added get_desired_climb_rate function to do smooth transitions in altitude
modified get_altitude_error to override the older altitude manager.
2012-07-18 22:57:11 -07:00
Jason Short a53a0a51be Arducopter
Better logging for Raw Inertial values
2012-07-18 22:57:11 -07:00
Jason Short bfabc54b01 Arducopter
for rate altitude changes
2012-07-18 22:57:10 -07:00
Jason Short 16adaf12db Arducopter
increased landing authority
2012-07-18 22:57:10 -07:00
Jason Short 1595a662c0 Arducopter
removed old Var
2012-07-18 22:57:10 -07:00
Jason Short c0a0e834e5 Arducopter:
Loiter unlimited can now travel to a WP and then loiter.
set_altitude for landing now set to 0
2012-07-18 22:57:10 -07:00
Jason Short 5f7c5ff387 Arducopter: Altitude change nav
Split altitude hold into two controls to parallel navigation.
2012-07-18 22:57:10 -07:00
Jason Short f40d8f04af Arducopter: New Alt control code
Uses a new method to manage altitude changes. Alt hold controller was split into a hold and a rate controller just like navigation. Changing alt is done by specifying a climb rate.
Interactive alt hold is now simplified and is an 80cm climb or descent.
2012-07-18 22:57:10 -07:00
Jason Short 806663b80b Arducopter: Flip mode 2012-07-18 22:57:10 -07:00
Jason Short 3a11a7596a Arducopter: Flip mode
Flip mode graduates
2012-07-18 22:57:10 -07:00
Jason Short 095a9c5c96 Arducopter: Flip mode
Flip mode graduates to pre-compiled option
2012-07-18 22:57:10 -07:00
Jason Short c5d3620d2b Arducopter: INS
updated Nav control to use INS
2012-07-18 22:57:10 -07:00
Jason Short 4c44dda7e8 Arducopter: INS
removed calibrate accels for now
2012-07-18 22:57:10 -07:00
Jason Short f56e1582a2 Arducopter: INS
Updated INS gains
2012-07-18 22:57:10 -07:00
Jason Short 02f1695991 Arducopter: INS
removed IMU test, updated INS test to include normalized gravity accel vector.
2012-07-18 22:57:10 -07:00
Jason Short 0ea3424779 Arducopter: INS
removed zero accells call
2012-07-18 22:57:10 -07:00
Jason Short 8a4a9a929e Lead Filter: simplified calculation 2012-07-18 22:57:10 -07:00
Andrew Tridgell f704408094 GPS-UBlox: removed duplicate config messages
these were left over from debugging
2012-07-19 15:23:15 +10:00
Jeff Taylor c083ca5f35 APM: Fixed bug where landing_pitch wasnt initialized properly
this adds a new LAND_PITCH_CD parameter to control the landing pitch
when an airspeed sensor is not being used
2012-07-19 13:59:30 +10:00
Andrew Tridgell 2121491197 APM: rename airspeed_cruise to airspeed_cruise_cm to make the units clearer
it is in cm/s, not m/s
2012-07-19 11:50:41 +10:00
Andrew Tridgell 2673179075 APM: Use g.airspeed_cruise for turn rate calculation if the airspeed sensor is disabled.
This gives our best approximation for auto flight
2012-07-19 11:50:41 +10:00
Jonathan Challinger 3c4f971618 APM: Removed unused YAW_DAMPENER code.
YAW_DAMPENER was defined as zero
2012-07-19 11:50:21 +10:00
Jonathan Challinger 87c78cff5e APM: Removed incorrect nav_gain_scaler from nav_roll calculation.
nav_gain_scaler was originally added due to a perceived improvement in
loiter performance, but is incorrect for navigation. Turn rate is a
function of airspeed and bank angle, ground speed has no effect on
that.
2012-07-19 11:50:06 +10:00
Amilcar Lucas 504809d146 ArduPlane parameters: re-order the files, looks like the second file gets ignored :( 2012-07-18 22:52:17 +02:00
Amilcar Lucas 13fb2e6dc9 RC_Channel parameters: Fix a typo 2012-07-18 22:39:49 +02:00
Amilcar Lucas 61f0cd15be ArduPlane parameters: Add base class info as well 2012-07-18 22:39:49 +02:00
Amilcar Lucas d911e4f61e Support up to 11 servos in APM2
Conflicts:

	ArduPlane/ArduPlane.pde
2012-07-18 22:01:19 +02:00
Amilcar Lucas dea5b88379 Support up to 7 aux servo outputs 2012-07-18 21:58:22 +02:00
rmackay9 fed92cc979 ArduCopter: small bug fix to radio.pde to allow code to compile when MOUNT == DISABLED 2012-07-18 23:49:41 +09:00
rmackay9 6ca8fda76d ArduCopter.pde: added call to set_manual_rc_channel to allow pilot's channel 6 to control pitch.
This initialisation code should be moved to init_ardupilot and/or into the AP_Mount library.
2012-07-18 23:49:09 +09:00
rmackay9 a2e6af1f9c AP_Mount: added set_manual_rc_channel and set_manual_rc_channel_function to allow input of pitch, roll and yaw controls from a regular RC_Channel (i.e. not RC_Channel_aux)
For now, angles red in are always of the range -45 deg ~ 45 deg which is consistent with the existing arducopter implementation but should be improved to scale the pilot's input to the mount's actual range.
2012-07-18 23:20:05 +09:00
Amilcar Lucas 6d48b597e5 Merge branch 'master' of https://code.google.com/p/ardupilot-mega 2012-07-18 02:12:58 +02:00
Amilcar Lucas 8acc432084 Replace long with int32_t 2012-07-18 02:12:31 +02:00
Amilcar Lucas f5c2ffca34 Use ascending order in the values 2012-07-18 02:11:49 +02:00
Michael Oborne 45609b3e6f fix rc libray param gen 2012-07-18 07:03:39 +08:00
Amilcar Lucas 23f009f665 Improve parameter documentation, it still does not work, but is an improvement.
I just do not understand why these parameters do not appear in Mission planner :(
2012-07-17 23:32:30 +02:00
Andreas M. Antonopoulos 5c6b22dbd0 param_parser: input validation bug fix 2012-07-16 23:37:13 -07:00
Andreas M. Antonopoulos 5917928bdc AP_Limits: documentation bug (which uncovered a param_parser bug - the irony burns) 2012-07-16 23:35:11 -07:00
Jonathan Challinger e271f97b53 Changed mavlink GLOBAL_POSITION_INT.relative_alt message to correctly return altitude above ground. 2012-07-17 16:15:11 +10:00
Andreas M. Antonopoulos b03e424fda AP_Limits: Configuration defaults moved to config.h. Fixed AP_LIMITS==DISABLED handling. 2012-07-16 11:46:43 -07:00
Michael Oborne b97f9bb803 Airspeed Library - fix param names.
The Group definition give the start of the param name.
This way we can maintain multiple instances if required of the same library as options.
2012-07-16 21:48:47 +08:00
Michael Oborne 2ccb6a281e Planner
missed files
+ cleanup old binarys
2012-07-16 21:43:49 +08:00
Michael Oborne f48e86747f APM Planner 1.1.98
Modify BackStage View - will change again soon
modify target alt calc
change order on param lists
remove old firmware selection dialog
add hil mod flag to hil connect
implement main switcher - will change again soon
change some invokes to async, to prevent other threads slowing.
fix mavlink log graphing error
modify help text
general mono for mac fixs - still combating https://bugzilla.xamarin.com/show_bug.cgi?id=3124
2012-07-16 21:37:35 +08:00
Andrew Tridgell ead41670c4 Airspeed: change APM to use new AP_Airspeed library
the next step is AHRS dead reckoning
2012-07-16 11:21:50 +10:00
Andrew Tridgell dfb22554aa Airspeed: Added AP_Airspeed sensor library
this will allow an airspeed sensor object to be passed to AHRS for
dead reckoning
2012-07-16 11:21:20 +10:00
rmackay9 bec5321b8b AP_MotorsMatrix: small bug fix to limit checking on remove_motor call. Fix thanks to Michael Peschel! 2012-07-16 00:38:58 +09:00
Michael Oborne 6fe0882809 AC fix limits param gen header 2012-07-15 18:23:06 +08:00
rmackay9 f7bb7667a1 ArduCopter: removed unused config for CAM_ROLL_GAIN and CAM_ROLL_PITCH now in AP_Mount library) 2012-07-15 16:38:52 +09:00
rmackay9 9276c68f80 ArduCopter: added enable_out_ch and output_ch calls for rc_camera_roll, pitch and yaw servos so they actually move 2012-07-15 16:38:28 +09:00