Commit Graph

53 Commits

Author SHA1 Message Date
jasonshort 995d5325d1 Moved motors to individual files.
updated motor setup test to be sequencial pulses of the motors in CW order.
Fixed Mission scripting logic
fixed Free yaw error in neutral throttle
fixed D term issue with Baro hold - was too high
incremented firmware revision, removed frame var
removed setup show from startup
removed unused EEPROM functions
fixed broken demo mission
fixed non working loiter with delay



git-svn-id: https://arducopter.googlecode.com/svn/trunk@2275 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-15 02:02:09 +00:00
jasonshort 9780ee69d9 Slight increase to loop speed - for Max
removed throttle integrator until I have more time to deal with the data
tweaked control loops to be more like RC1 for Max to try. They fly great BTW
tweaked config to be more better.
Mavlink - only cosmetic tweaks

git-svn-id: https://arducopter.googlecode.com/svn/trunk@2254 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-13 19:29:45 +00:00
jasonshort 2251db1b7c Added APM's current sensing.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2234 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-09 15:46:56 +00:00
jasonshort b0d7ec3747 changes for Max and tri-copters
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2184 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 20:26:43 +00:00
jasonshort 6f0a639898 Final changes for Beta release
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2180 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 19:41:55 +00:00
jasonshort b70c08d417 minor cleanup based on compiler warnings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2122 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-07 00:21:16 +00:00
jasonshort 3dea060983 new ESC calibration routine
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2121 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-06 22:46:57 +00:00
jasonshort b6b42f7b86 removed the !!! from ACM to keep the 2650 happy.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2036 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:13:27 +00:00
jasonshort 7e843ee679 Warning!!! The recent build 1919 was tagged as sparkfun.
The trunk is unstable, so please be careful. I've made a lot of changes based on the Sparkfun challange. Most include how we handle things like altitude, but the mission scripting has also been updated as well.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1920 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-25 05:12:59 +00:00
jasonshort 9aaba3fd0f Navigation bug fixes, tuning.
better handling of sonar at angles and baro mixing. - optimized for flats.
Crosstrack test bug found and fixed.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1916 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 23:07:31 +00:00
jasonshort 1b947f5d9e Yaw fix,
Logs updated to do better Yaw Debugging
Landing is now rate limited
updated command desctiption.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1911 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 05:37:05 +00:00
jasonshort f6783454d7 Removed all calls to legacy trim_radio(). Handled by radio setup.
Added AP_Var Fingerprint checker. Will not let users fly with OOD firmware.
Tweaked Yaw to give better response. Let me know how it goes. It looks fine, but I've not flown it.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1878 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-14 05:56:39 +00:00
jasonshort 21980216b9 Altitude control fix - trying to go higher would make alt hold reset to 0
Yaw fix, 
improved PID defaults
potential logging fix


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1877 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-13 16:33:06 +00:00
jphelirc 41e4b0a471 preparing for hexa-x and hexa-+ frames, code updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1875 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-12 01:58:46 +00:00
jasonshort 985a4e7f61 removed the throttle min max settings for user config.
turned off altitude interpolation for now.
removed the "Dampener" setting in config. Using less confusing kD instead.
removed throttle_cruise reset in events.pde for RTL - would cause a crash.
added I term for pitch/roll for when flying greater than 20°

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1868 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-10 20:31:33 +00:00
jasonshort 7b26ec8463 updated test mission. It now passes the tests. Be sure to verify things are working well before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1843 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-03 21:11:14 +00:00
jasonshort 3494e73f8b minor change to GPS
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1834 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-02 19:56:35 +00:00
jasonshort e9c894215a Revved the firmware version.
Updated the motor spin up issue - this is the I've not set my radio up properly issue.
updated 200ms motor spin up issue with the Libraries - for those who have ESC's that don't do sanity checks.





git-svn-id: https://arducopter.googlecode.com/svn/trunk@1816 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 21:03:20 +00:00
jasonshort bcc1bf65f2 updates - support
new test mission  - Liftoff, spin, land
updated scripted Yaw control

Public Beta candidate...

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1814 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-26 06:35:52 +00:00
jasonshort b1ffabc9a3 Added Y6 support
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1792 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 19:21:43 +00:00
tridge60@gmail.com d09800f6f9 disabled tabs in emacs formatting markers
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1790 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-19 10:20:11 +00:00
jasonshort 732446eb3a fix for Logging, motors_out buffer overrun, formatting.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1769 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 21:37:37 +00:00
jasonshort 20fdbda315 enable logs default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1768 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-11 02:49:12 +00:00
jasonshort 8114b717f2 lots of minor changes, Logs should be working better now.
Pos hold is now called "Loiter" - I don't want to have a flight mode called HOLD POS...



git-svn-id: https://arducopter.googlecode.com/svn/trunk@1759 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-09 06:37:09 +00:00
jasonshort be709de318 fixed PID setting bug.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1755 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 21:22:55 +00:00
jasonshort d94ce4bb92 moved Mag offsets to "test","stabilize"
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1754 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 19:06:29 +00:00
jasonshort 97107d89d2 bug fixes and updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1750 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-03-07 00:57:06 +00:00
jasonshort e51be3328b Should be flyable now. Please Use Reset in setup before flying.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1726 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-25 05:33:39 +00:00
jasonshort 2555abcf1d git-svn-id: https://arducopter.googlecode.com/svn/trunk@1719 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-24 05:56:59 +00:00
jasonshort da74d32c94 fixed printf_P bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1705 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-21 04:46:26 +00:00
jasonshort 73f3fc6193 continued APvar int
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1701 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 23:09:28 +00:00
jasonshort 8655c01612 AP_Var integration continued....
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1699 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 19:07:35 +00:00
jasonshort 7acf9a15fc AP_Var integration continued
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1697 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-20 02:03:01 +00:00
jasonshort 3bf6257783 AP_Var integration continued
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1693 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 22:44:52 +00:00
DrZiplok 21976f01b4 Cast AP_Var types for safe printf calls.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1690 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 21:04:05 +00:00
jasonshort acb7d78a79 updated to AP_Var
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1680 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-19 03:59:58 +00:00
DrZiplok facda81c5a Compilation fixes per request
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1671 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 09:36:33 +00:00
jasonshort d481503937 updated Param gen - won't compile yet.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1666 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-17 07:09:13 +00:00
jasonshort 48bbb0d00c setup 0 default for d term where there was a conflict with external dampeners
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1606 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:59:10 +00:00
jasonshort 7fa41e462a git-svn-id: https://arducopter.googlecode.com/svn/trunk@1596 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:02:25 +00:00
jasonshort b250df996e FBW bug fixes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1576 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-30 02:36:03 +00:00
jasonshort cfc0e8f03a adjust tri frame output to not output 4th motor
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1567 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-28 05:36:33 +00:00
jasonshort 4478a0647f fixed imax scaling bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1550 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-24 01:58:04 +00:00
jphelirc 021746fd0a hexa frame setp
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1536 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-23 16:40:03 +00:00
jasonshort b074312487 New updated CLI for setup. Cleaner and better defaults and reporting of values.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1516 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-20 07:11:21 +00:00
jasonshort f60602d7a9 Renamed the loop timers to gain a new medium loop delta. Fixed an issue with the navigation timer. Updated the current sensing. Need to add a low voltage or current trigger.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1508 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-18 02:48:44 +00:00
jasonshort feb3f1a811 Added support for the AttoPilot Current sensor, Logging current is enabled at 10hz,
Trim is now called again on pitch and roll, now that trimming can be done with adc_offsets. Fixed setup::motors for x frame.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1505 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-17 03:44:12 +00:00
jasonshort 754c7bc710 added new PID nav functions to split lat and long based on Randy's work.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1485 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-11 21:13:30 +00:00
jasonshort 4191adec7d Added Sonar to setup, removed Level, compass is now done with text based on and off, compass renamed to mag_offset
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1474 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-10 02:21:09 +00:00
jasonshort e8cc8e08fb Added Tri-copter support for Max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1412 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-01-04 06:06:26 +00:00