Commit Graph

4797 Commits

Author SHA1 Message Date
Andrew Tridgell 16ddc9fb8a APM: fixed a problem with wayoints completing early
when a user forces a waypoint jump, we may need to reset prev_WP to
prevent us thinking the waypoint is complete before we have started
2012-07-21 20:32:07 +10:00
Andrew Tridgell 99410cbbfe AP_AnalogSource: fixed reporting of VCC
the VCC pin number should not be converted
2012-07-21 19:49:24 +10:00
Jason Short 3d32bbc476 ACM: Safety patch for CH7 flip toggle. Prevents flipping while on the ground. ouch. 2012-07-20 16:47:05 -07:00
Jason Short 6177a1f5de Added minimum speed for RTL 2012-07-20 13:27:35 -07:00
Jason Short 122e2430ff ACM: Flip code revision to fix bad orientation bug. 2012-07-20 13:27:35 -07:00
Jason Short 2dfe38588d Arducopter: Added safety check for inadvertent triggering of flip code. 2012-07-20 13:27:35 -07:00
Jason Short e585eaa253 Ardcucopter: RTL distance check update, reset I terms fixed. 2012-07-20 13:27:35 -07:00
Andrew Tridgell 5f5c884a6d AHRS: if we don't have gps correction enabled, zero the yaw correction 2012-07-20 17:21:04 +10:00
Jason Short 6067170f48 Arducopter: Force nav_yaw to match auto_yaw when starting a mission 2012-07-19 22:59:03 -07:00
Jason Short c1186abf65 Arducopter: cleanup, skip out of throttle control when flipping. 2012-07-19 22:35:21 -07:00
Jason Short 6528aba386 Arducopter: motors.pde formatting 2012-07-19 22:35:21 -07:00
Jason Short 64d06a8f0e Arducopter: Upped D rate to .005 by default 2012-07-19 22:35:21 -07:00
Andrew Tridgell 53e0e44704 ACM: fixed HIL build with new accel setup code 2012-07-20 12:46:16 +10:00
Andrew Tridgell d0ebb4ca26 MAVLink: fixed another two places where micros() was used for a millisecond time 2012-07-20 11:57:15 +10:00
Andrew Tridgell 4f41b876b1 AHRS: allow the gps/accelerometers to control yaw when rolled
this solves a problem with yaw estimation when at high roll angles,
when the compass code becomes ineffective
2012-07-20 11:50:04 +10:00
Andrew Tridgell 404803a734 MAVLink: imported updated generated mavlink C code
no functionality changes
2012-07-20 11:50:03 +10:00
Jason Short 676f02da7c Arducopter: Adjusted speed of climb to not stall out before hitting peak 2012-07-19 17:53:49 -07:00
Jason Short ca470f8a53 Arducopter: Testing toy mode - commented out by default 2012-07-19 17:50:42 -07:00
Jason Short 24d05c171a Arducopter: Renamed Config define (RTL_HOLD_ALT) 2012-07-19 17:50:15 -07:00
Jason Short 45f71e9783 Arducopter: Flip Check 2012-07-19 17:49:17 -07:00
Jason Short f7017f1fb3 Arducopter: Config.h defaults adjustments 2012-07-19 17:48:48 -07:00
Jason Short 219fed1441 Arducopter: deprecated the get_nav_yaw_offset function.
Small Toy mode updates
2012-07-19 17:41:52 -07:00
Jason Short 8f7eba4fd1 Arducopter.pde: Increased the throttle Hold altitude control
simplified Yaw reset
2012-07-19 17:38:25 -07:00
Jason Short 05a2d3ae35 Arducopter: Fix compile issue 2012-07-19 10:09:16 -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 ec1d400adf Arducopter: Slower WP deceleration for RTL and WP navigation
Slower descent and slightly faster ascent
2012-07-19 09:50:18 -07:00
Jason Short 91c1c255a2 Arducopter: Clarified units in comment 2012-07-19 09:49:13 -07:00
Jason Short 35144ccbf2 Arducopter: Added Slow_WP setting to regular wp navigation 2012-07-19 09:48:54 -07:00
Jason Short bc843b0684 Arducopter: Adjust landing speed
removed commented out calc_loiter_pitch_roll calls
Changed updateRTL to use 1m be default instead of wp_radius to avoid poor loiter entry speed.
2012-07-19 09:48:31 -07:00
Jason Short dbcfbfe857 Added Oilpan INS group object param 2012-07-18 23:07:50 -07:00
Jason Short fdf8724b66 Arduplane: Fixed unsigned int comparison warning 2012-07-18 23:07:34 -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
Jason Short 7e25775af9 Arducopter
Simplified the inertial calcs for now
2012-07-18 22:57:11 -07:00
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