Commit Graph

4904 Commits

Author SHA1 Message Date
Jason Short
34945b4e38 ACM: Failsafe Fix for Mission planner initiated AUTO mode
Keeps the failsafe from exiting Auto mode when returning from failsafe. Added arming ability for Toy mode.
2012-07-23 19:34:25 -07:00
Michael Oborne
7dd58227a6 AP fix sitl hil attitude mode. 2012-07-24 07:18:25 +08:00
Jonathan Challinger
21f0ed00b3 AHRS: normalise GA_b before computing error vector only if too large
When GA_b is small the direction of the vector is unreliable, so
normalising can exacerbate the error in the direction
2012-07-23 17:16:50 +10:00
Michael Oborne
944488afaf APM Planner 1.1.99
Convert to IActivate, IDeactivate scheme, thanks andrew
add support for rfcomm* interfaces on linux
fix guage off screen draw mono issue.
remove use of BackStageViewContentPanel
andrews spacer changes - not using dues to screen space issue
change configpanel constructor to load xml directly
remove IMavlink Interface
fix hsi off screen draw issue on mono
modify hud to use sprite fonts, instead of drawing via GDI+
modify progress reporter to use a 10hz timer to update screen, using invoke/begininvoke fails on mono at 50hz (over 100ms per call).
fix targetalt and target airspeed jumping issue.
lots of cleanup on tab switching, ie stoping timers/other
3dr radio status led update
update ardurover car icon
speedup georef image screen. tested on over 1000 images.
2012-07-22 15:51:05 +08:00
Andreas M. Antonopoulos
f8a9cdd8cd AC: ArduCopter 2.7 release candidate - updated THISFIRMWARE constant. 2012-07-21 17:52:06 -07:00
Jason Short
9cf36c553c ACM: Fixed Baro rate patch to work with Sonar and added simple filter 2012-07-21 16:45:00 -07:00
Jason Short
b6f45bb188 ACM: Lowered default Alt hold P 2012-07-21 16:45:00 -07:00
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