jasonshort
75114aa93f
hack to fix Motor lights when arming after init.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3100 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:54:29 +00:00
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
2011-08-14 18:18:32 +00:00
jasonshort
c95bb66441
cleared out APM_Config
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3098 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 18:15:42 +00:00
jasonshort
312c0e6b3b
removed throttle_slew - Just wasn't working well enough and added too much complexity
...
moved reading sonar to the 50hz loop so the Mode filter could do it's thing without causing so much latency
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3094 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-14 02:30:37 +00:00
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
2011-08-13 22:51:35 +00:00
jasonshort
56d8da0381
commented out home.alt since it's always 0
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3092 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 22:49:20 +00:00
jasonshort
900d0c1819
fixed missing %d in CTUN
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3091 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 22:45:00 +00:00
rmackay9@yahoo.com
37dd9ac144
TradHeli - fixes to use single PI controller for roll, pitch and yaw (when using an external tail gyro)
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3089 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 09:37:01 +00:00
tridge60@gmail.com
88cd556c8d
Compass: we don't need MAG_PROTOCOL any more
...
we only have one mag driver now
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3084 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-13 05:10:19 +00:00
tridge60@gmail.com
6ca3a2b359
compass: set the orientation of compass before compass.init()
...
the compass.init() code uses the orientation when calculating the
calibration. We need to use the right orientation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3071 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-10 12:52:53 +00:00
jasonshort
8715ed3bd7
2.0.39
...
added callback to the test functions… not sure if this is the correct thing to do.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-08 22:20:50 +00:00
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
2011-08-08 16:54:56 +00:00
rmackay9@yahoo.com
51a9c52d58
ACM - changed default lens for optical flow
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3039 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-07 13:15:19 +00:00
jasonshort
1ac8e0a75f
2.0.39
...
added a define to make compilation optional
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3031 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 17:09:27 +00:00
jasonshort
de191b7bee
2.0.39
...
Cleanup and removed some old tests to save data flash.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3030 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:47:44 +00:00
jasonshort
99a327ccbf
2.0.39
...
Moved the motors based on feedback from Max Levine. See Wiki for details.
Simplified the CUT_MOTORS section of the code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3029 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:46:46 +00:00
jasonshort
4752468730
2.0.39
...
Simplified the CUT_MOTORS section of the code.
Added Stability patch
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3028 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:45:51 +00:00
jasonshort
3e8ca40d7d
2.0.39
...
Simplified the CUT_MOTORS section of the code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3027 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:44:42 +00:00
jasonshort
64932a4e75
2.0.39
...
New order for motors!! Based on Hein's testing. See Wiki for updated layouts
Simplified the CUT_MOTORS section of the code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3026 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:44:22 +00:00
jasonshort
87a015b205
2.0.39
...
Simplified the CUT_MOTORS section of the code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3025 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:43:44 +00:00
jasonshort
e7a87006b0
2.0.39
...
New hex a motors_out with Tridge's stability patch.
Simplified the CUT_MOTORS section of the code.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3024 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:43:16 +00:00
jasonshort
04e05604a5
2.0.39
...
added defines for CH7 behavior - DO_FLIP 1, DO_SET_HOVER 0 (Default)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3023 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:22:43 +00:00
jasonshort
b931bfaf50
2.0.39
...
added defines for CH7 behavior
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3022 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:21:55 +00:00
jasonshort
a8445483f3
2.0.39
...
added defines for CH7 behavior, Tweaked Loiter config based on testing by Jack.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3021 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:21:21 +00:00
jasonshort
0bea96c3d0
Added Jose Julio's Flip code, edited to work with AC2. Never flown or tested!
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3020 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:19:06 +00:00
jasonshort
9e1bea4797
Added Jose Julio's Flip code, edited to work with AC2. Never flown or tested!
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3019 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-05 16:17:26 +00:00
tridge60@gmail.com
2da62b8a3e
fixed PSTR() on motor arm messages
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3004 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-02 13:34:27 +00:00
tridge60@gmail.com
11cee834b2
re-added ARMING messages in HIL mode
...
this is useful as in HIL mode you don't always have blinking lights
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3003 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-02 13:25:58 +00:00
jasonshort
76972a265a
2.0.39
...
Returned to previous log version for sonar messages to fix the cosmetic bug in the planner
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3000 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 22:01:25 +00:00
jasonshort
e60b2ac07e
2.0.39
...
Made the Yaw on RTL always on for Helis
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2999 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 22:00:26 +00:00
jasonshort
07e2ad1c50
2.0.39
...
Defaulted all values
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2998 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 21:56:22 +00:00
tridge60@gmail.com
9fa60889dd
added SERIAL3_BAUD parameter
...
this is the real baud rate divided by 1000. So 57600 is set as 57
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2997 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 11:39:17 +00:00
tridge60@gmail.com
366b20bb9f
MAVLink: send streams on both mavlink interfaces
...
when doing init the user may be on the Xbee port
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2996 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 10:08:59 +00:00
tridge60@gmail.com
dd3dfd9f2a
re-apply DEFAULT_LOG_BITMASK patch
...
Jason, I assume you removed this patch accidentially
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2995 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 10:06:15 +00:00
tridge60@gmail.com
9371ee545e
process MAVLInk packets during gps detection and IMU calibration
...
this allows the GCS to connect immediately on startup
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2994 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 08:08:52 +00:00
jasonshort
fe3293f411
2.0.39
...
Added reset for all nav I when entering manual modes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2992 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 05:12:10 +00:00
jasonshort
1f974ef6d3
2.0.39
...
Added extra groundstart init for the Ground Station
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2991 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 04:47:15 +00:00
jasonshort
61f0cb9226
2.0.39
...
Changed how the throttle_slew was added to the output.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2990 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 03:48:16 +00:00
jasonshort
0cb38abd07
2.0.39
...
Added a limiter to Throttle_slew to not make the throttle go past 800.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2989 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-08-01 03:39:44 +00:00
jasonshort
5152d23650
2.0.39
...
mistake on the defaults for kP - not symmetrical.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2985 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 20:09:27 +00:00
jasonshort
8e02e89534
2.0.39
...
mistake on the defaults for kP - not symmetrical.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2984 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 20:06:36 +00:00
jasonshort
4223dff94e
2.0.39
...
limit RTL to 35°
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2983 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 19:57:35 +00:00
jasonshort
a6bad6b73e
2.0.39
...
small change to RTL to prevent negative effects from flying backwards.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2982 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 19:42:07 +00:00
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
2011-07-31 19:41:11 +00:00
mich146@hotmail.com
69bd507d5a
fix hil build
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2970 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-31 01:24:20 +00:00
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
2011-07-30 20:42:54 +00:00
mich146@hotmail.com
358fd56d57
Fix Hil build on 2560
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2961 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-30 01:39:12 +00:00
jphelirc
8907ee5b0a
fixed defaults
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2944 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-26 03:44:16 +00:00
jphelirc
2d094da38e
added relay control to CH6
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2943 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-26 03:37:41 +00:00
tridge60@gmail.com
586acf4342
fixed quad PWM clipping
...
this adopts the simpler approach suggested by Jason.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2936 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-07-22 21:25:59 +00:00