Randy Mackay
bbe6dea980
OptFlow - initial support for APM2 (there are still problems) including adding ability to set Chip Select pin.
...
Other unrelated changes are:
a) fixed typo in 'esitmate_velocity' to 'estimate_velocity'.
b) moved init_compass from system.pde to sensors.pde which seemed consistent with other sensors.
13 years ago
Jason Short
1afa25d9ef
Tweaks to fix Loiter
...
Changed save location to int32
added some filtering and smoothing
13 years ago
Jason Short
5518882c69
Fixed resolution issue with Xtrack
...
Added stub for loiter based on estimation
integrated fix for tracking GPS at slow speeds for loiter
13 years ago
Jason Short
c6657f4a93
updated Loiter control to provide an alternative to GPS rate control for users with circling issues. Works in SIM, needs flight testing
13 years ago
Jason Short
edc3a731d4
Adjustments for High Wind enviroments
13 years ago
Jason Short
d83ad1acd4
Upped the max pitch to deal with wind - based on T3 testing
13 years ago
Jason Short
c1aa015ef1
added debug prints, broke out Angle val to debug
13 years ago
Jason Short
f89fed02c3
made it so nav is called in Simple mode
13 years ago
Jason Short
3ff7b047d5
Added Bearing to home, distance to home calcs
13 years ago
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