Commit Graph

53622 Commits

Author SHA1 Message Date
jasonshort fc4759dfbb Libraries to support non AP_VAR usage. This is for Ardupilot legacy hardware.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2075 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-03 04:33:32 +00:00
jasonshort 5a6b9adcca fixed an overflow issue in AP_RC
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2074 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-03 04:32:37 +00:00
DrZiplok 701157c350 Re-order class members to avoid initializer-order warnings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2073 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 05:56:21 +00:00
DrZiplok 71604405f4 Re-order initialisers to suppress warnings
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2072 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 05:55:59 +00:00
DrZiplok f5ba77f23b Rename some ctor arguments to suppress shadow-related warnings.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2071 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 05:55:34 +00:00
tridge60@gmail.com fe648644ce added a few more warning flags for when building with the Makefile
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2070 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 05:50:13 +00:00
jasonshort 33c9f047eb increased to 160hz
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2043 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-02 04:34:15 +00:00
jasonshort ceff21a0ec 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
james.goppert 5a273e52d2 Added const AP_Var access.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1958 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 19:29:33 +00:00
james.goppert 01dea496c8 Removed APO lib.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1957 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 17:38:12 +00:00
james.goppert 55c46fc367 Moved APO quad/ rover projects.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1956 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 17:14:54 +00:00
jasonshort 0a703cef47 typo
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1955 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 04:55:51 +00:00
jasonshort e6d86e7efa removed yaw towards WP option. Should now be handled with a mission script.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1954 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 04:55:07 +00:00
jasonshort 0e8d3781d3 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1953 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-05-01 04:54:15 +00:00
james.goppert 9b25875baf Heartbeat failsafe added for APO.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1940 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 03:38:41 +00:00
james.goppert 7b7ba0df1f APO comment fixes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1939 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 03:20:19 +00:00
james.goppert 9a47d7b8e1 Example cleanup for APO.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1938 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 03:05:15 +00:00
james.goppert 42c6847054 Added Car/Quad APO examples.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1937 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 02:43:46 +00:00
rmackay9@yahoo.com 0f920d12ce DataFlash - backed out recent changes to make it use SPI while I figure out the cause of some people's compile errors
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1936 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 02:27:18 +00:00
james.goppert aa598b575a APO merge.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1935 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-05-01 02:05:17 +00:00
jasonshort dc45d3e8c4 Added throttle_integrator
Removed cos for nav_rate testing.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1934 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-30 16:01:57 +00:00
rmackay9@yahoo.com 56fd1acc4a AP_OpticalFlow - first draft of optical flow library for use with experimental ADNS3080 sensor
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1933 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-30 08:29:28 +00:00
rmackay9@yahoo.com 0462774345 DataFlash - modified to use Arduino SPI interface instead of directly using registers. Also moved "dataflash_CS_inactive" calls to end of functions instead of beginning so that it doesn't monopolize the SPI bus.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1931 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-30 03:25:31 +00:00
jasonshort bc7c797fd6 added baro_alt_offset back in. Filtering out the effect over time.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1925 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-28 05:43:35 +00:00
jasonshort 78510636db This is how I right waypoints to EEPROM for now.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1923 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-27 05:10:02 +00:00
jasonshort 2ba41bb374 refinements to nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1922 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-27 05:08:24 +00:00
jasonshort 6e6db9864e Loiter should work now.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1921 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-26 05:15:25 +00:00
jasonshort 121cf0f658 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 16412abbde added a bit of kI term for Yaw hold.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1918 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-22 21:15:17 +00:00
jasonshort 69b0ae329e 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 a8b7505268 Lots of little things. Yaw control is updated based on Jani's logs. Thanks!
Takeoff now works well.
better logging.
tuned down kD for Yaw - was causing some bad behavior.
Auto mission now resets when entering mode.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1914 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-21 05:15:45 +00:00
jasonshort 62c123f6df Minor Yaw update, Log adjustment,
Main loop slightly faster at 125 hz


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1912 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 06:44:49 +00:00
jasonshort fe6e0d2f44 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 757a25553d updated Logs to give me better Yaw information
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1910 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-20 04:58:43 +00:00
jasonshort 38e57bccb0 Added delay option for WP_NAV. The copter will LOITER in seconds based on p1 value.
This turned out to be functionally identical to LOITER_TIME so I combined them.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1909 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 16:27:03 +00:00
mich146@hotmail.com a107587af6 update dataflash for 528 and 512 byte pages
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1906 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 11:19:31 +00:00
rmackay9@yahoo.com e579f4a6aa Removing BinComm because we're using MavLink now
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1905 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 02:51:19 +00:00
rmackay9@yahoo.com 60a8f1dab7 removed legacy_do_not_use directory and contents as it's just messy to have it hanging around. older versions can be retrieved from SVN if need be.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1904 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-18 02:13:57 +00:00
jasonshort 588599d841 Added float for CH6_Y6_SCALING value.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1903 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 23:12:27 +00:00
jasonshort f6f5a0c8dd Added rudimentary tuning with CH6. Assign this to your Flaps knob on your radio. in APM_config.h set your desired option, then upload. The knob will adjust the value in real time. Enter the CLI and run test, tune to see the output value.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1902 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 23:08:16 +00:00
mich146@hotmail.com fa7168c892 init dataflash before entering menu
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1900 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 06:45:18 +00:00
jasonshort 0db3f100cc Reworking Yaw some more. Yaw is testing really well with this version.
I have moved Pitch_Max to a different part of the code. It was limiting SIMPLE mode which was bad. Now it only limits in Auto modes, RTL, LOITER, etc.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1899 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-17 05:17:42 +00:00
jasonshort 30e304cf18 shortened Menu by a few bytes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1898 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:44 +00:00
jasonshort b861895b7f moved some math around for Loiter code. Added more notes
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1897 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:44:23 +00:00
jasonshort 4ae6c5c0ac added false start fix for takeoff
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1896 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:47 +00:00
jasonshort b1d76e40c7 removed Sonar, now test Altitude
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1895 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:43:25 +00:00
jasonshort e9702efada lowered Pitch max for nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1894 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:59 +00:00
jasonshort 7aa34211b6 Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1893 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:31 +00:00
jasonshort f54f75140e Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1892 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:42:00 +00:00
jasonshort e5723a20b6 Better CTUN Logging
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1891 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-04-16 20:40:12 +00:00