Randy Mackay
4dc2956ca9
Navigatino - small bug fix in loiter controller in which the y_iterm was coming from the Lon controller instead of the lat controller. Found by Sylvain. http://www.diydrones.com/forum/topic/listForContributor?user=18fsncw0k1x6i
13 years ago
Jason Short
6dfdd754ea
Stability patch updates,
...
Cleanup
13 years ago
Jason Short
eb6d34e1fc
Fix error with calc_nav_pitch_roll
13 years ago
Jason Short
b4a0d8a275
Fixed navigation bug
13 years ago
Jason Short
b3bd4bd3c9
Cosmetic cleanup, commented functions for compiler warnings
13 years ago
Jason Short
39d0df4cef
added param for crosstrack gain defaulted to 4
13 years ago
Jason Short
35524f6da7
Added optimizations for radian calls to remove a division.
...
added a protection for entering AP modes without Home being set by GPS lock.
13 years ago
Jason Short
3450e91039
Trying to break Nav to test a feature
13 years ago
Andrew Tridgell
2d204b727b
fixed build error
...
the prototype extractor was finding the commented out version of
cross_track_test(), which had a different prototype
13 years ago
Jason Short
3f0b42f64f
made crosstrack functions static
13 years ago
Jason Short
d8361dfe67
renamed original_target_bearing
13 years ago
Jason Short
7259cf2180
Added in crosstrack correction - test for SIM
13 years ago
Jason Short
d6c0e34516
Tuning nav_WP
...
Added more notes
13 years ago
Andrew Tridgell
28634f51b7
ArduCopter: use specific sized data types in a lot of places
...
this will make the Desktop build more consistent with the real AVR
build, and also with a future ARM build
13 years ago
Jason Short
2458fe078f
Loiter updates
...
Added new option to do rate based Loiter with lat and long values, avoiding GPS heading latency issues.
13 years ago
Jason Short
42d0b5cdb3
tweaked Alt hold PIDs, loiter PIDs based on SIM testing and feedback.
...
Increased distance error for loiter for faster return to center.
14 years ago
Michael Oborne
5c10b2af6c
ac quick redo fix
14 years ago
Jason Short
4052fd4f73
Made wpspeed governor run per second so 1hz gps doesn't fail. Gave a 1m/s minimum. Increased WPspeed max to 4.0m/s
14 years ago
Jason Short
4be2776b17
Added Andrew's user hooks.
14 years ago
Jason Short
142707711e
Updates to guided mode from Michael O.
...
removed or commented unused static vars
14 years ago
Jason Short
338396b76a
slowed acceleration from WP
14 years ago
Andrew Tridgell
d89ae696ef
merged the GCS updates from ArduPlane to ArduCopter
...
this removes all the non-MAVLink GCS options, and simplifies the HIL
and GCS code a lot. It also adds async sending of low priority GCS
text messages.
14 years ago
Jason Short
1ff372a41d
Implementing a limiter for the ramp up of speed to WPs.
14 years ago
Jason Short
de61e87128
Added ADC gyro Filtering for quads - this fixes a noise issue introduced into the controller
...
added Position mode
removed
Added back in the accelerometer experiment
Added filter_result boolean to enable filter on the fly
14 years ago
Jason Short
758d0e1aec
Attempting to mimic loiter values for 4.0.42
...
lowered Rate Error max in loiter
14 years ago
Jason Short
c209d6e6dd
2.0.46 -Not flight tested!
...
restored 42 alt hold code
removed throttle timer, replaced with safer constant
increased alt control range
reformatted nav_rate calls
removed unused simple mode defines
set alt hold home to 10m
tuned down rateP to .13 from .14 for broader application.
14 years ago
Jason Short
d495e6a9c4
turned off Stabilize_I by default because it was hurting loiter
...
tweaked speed control of rate_nav
14 years ago
Jason Short
236f665378
Added Loiter Turns - It orbits the Current location
...
Added WP to Loiter_time so you can spec a specific location in the planner
added new Navigation alg. Should perform better (doesn't rely on 45° flow fields like last one)
Added "Jump" counter so missions don't get overwritten in flight.
removed I term by default for Rate pitch and roll
14 years ago
Jason Short
5ca50f1f01
Altered CIRCLE mode to allow Loiter_N_Turns to work in AP mode.
14 years ago
Jason Short
b2b28cc90c
Converted Millis to Micros
...
added navigation check to return a failed navigation
14 years ago
Jason Short
8d0a2fae9b
cleanup
...
added more ifdef for optflow
14 years ago
Jason Short
d29cfbcee3
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
14 years ago
Jason Short
885ec18182
Removed last of Xtrack
14 years ago
Jason Short
bae05178f0
removed Xtrack and increased rate error limit
14 years ago
jasonshort
8870e2f309
circle mode patch
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
3b622dc43c
Reset_hold_I no longer clears throttle_I value for return to alt hold
...
Removed Baro Init in Auto Mode.
increased Rate Error limit on Alt Hold
Slightly decreased alt P to reduce pulsing motors
Added rate limit for nav so we can reduce initial pitch to target.
Using MINIMUM_THROTTLE value to test for Reseting Alt Hold now.
Fixed extra Log formatting statement in CTUN.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3294 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
f905309999
Enabling Crosstrack correction.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3278 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
3284b0733e
fixed crosstrack return value when disabled
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3256 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
3ad21cc236
2.0.40
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
6b2139221d
Added experimental rate based Loiter and revised RTL. You need to compile with the loiter option set to 1 in APM_Config to try.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3099 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
bfa7cc2cb5
lowered error limit to try and reduce RTL dropping from sky.
...
removed minimum for RTL nav speed to see it's Loiter potential (rate based Loiter)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3093 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
b7ce6e036e
2.0.39
...
Change the way Rate nav works. we now take into account both forward *and lateral* rates. The signs may be backward so be careful! Let me know if the quad shoots off to one side and I'll flip the signs.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3049 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
4223dff94e
2.0.39
...
limit RTL to 35°
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2983 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
c637bf0947
small change to RTL to prevent negative effects from flying backwards.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2981 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
73be185414
Big update 2.0.38
...
moved ground start to first arming
added ground start flag
moved throttle_integrator to 50hz loop
CAMERA_STABILIZER deprecated - now always on
renamed current logging bit mask to match APM
added MA filter to PID - D term
Adjusted PIDs based on continued testing and new PID filter
added MASK_LOG_SET_DEFAULTS to match APM
moved some stuff out of ground start into system start where it belonged
Added slower Yaw gains for DCM when the copter is in the air
changed camera output to be none scaled PWM
fixed bug where ground_temperature was unfiltered
shortened Baro startup time
fixed issue with Nav_WP integrator not being reset
RTL no longer yaws towards home
Circle mode for flying a 10m circle around the point where it was engaged. - Not tested at all! Consider Circle mode as alpha.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2966 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
mich146@hotmail.com
7210d6decb
fix float issues - crosstrack & target alt
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2935 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
df6a1b51f3
make a lot more functions and variables static
...
this saves about 1k of code space through better compiler optimisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2889 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
05c058148b
tweaked WP speed so long distances wont blow up equation.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2871 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
59023505f9
Added in limit for alt hold to prevent I term run up.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2870 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago