Commit Graph

57303 Commits

Author SHA1 Message Date
DrZiplok@gmail.com 0b60757b43 Add a template AP_VarS that handles arbitrary structure/class types.
Note that the object must still be <= 32 bytes in size to be saved/loaded.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@1644 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-14 01:47:24 +00:00
jasonshort 0436916609 updated formatting, baud
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1643 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-14 00:43:35 +00:00
jasonshort b6c552212e updated formatting, baud
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1642 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-14 00:43:11 +00:00
deweibel@gmail.com 0b6454aa0b Speed IMU initialization
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1641 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 23:25:04 +00:00
deweibel@gmail.com 8e542512da Change ADC overflow correction
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1640 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 23:24:37 +00:00
jasonshort f6cd2a6093 version number for tag
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1638 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 22:45:08 +00:00
jasonshort bb9e92c83b alt hold updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1637 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 22:32:34 +00:00
mandrolic 7c1126b8b4 Configurator.Net: Spinner buttons for P terms
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1636 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 21:50:49 +00:00
mandrolic a2d00fefb3 Configurator.Net: Adding Eeprom Save/Reset to default commands
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1635 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 18:14:28 +00:00
mandrolic ede88898e7 Configurator.Net: Combined some tabs, refactored Vms (disabling tests for now)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1634 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 09:25:54 +00:00
jasonshort a445baaad4 alt hold updates
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1633 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 05:21:32 +00:00
james.goppert 253307e2f0 AP_RcChannel demos updated for AP_Var.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1632 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-13 01:24:32 +00:00
jasonshort 6728355889 Fixed alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1631 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 22:14:06 +00:00
mich146@hotmail.com 4ea9192ab8 Mavlink update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1630 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 11:04:52 +00:00
jasonshort 07c1ec3623 Fixed AP_GPS_None bug
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1629 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 04:49:08 +00:00
mich146@hotmail.com 152f0a12df Fix Mavlink include
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1628 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-11 00:04:39 +00:00
jasonshort fdf277428e updated dual kp alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1627 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:25:56 +00:00
jasonshort c22d86f6ea float update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1626 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:14:27 +00:00
jasonshort fe2b4eb7da debug code updated
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1625 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:13:16 +00:00
jasonshort 6e396284a5 debug code updated
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1624 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:11:55 +00:00
jasonshort a3d88b25a6 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1623 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-10 07:11:17 +00:00
jasonshort 473cc263bf updated angle boost.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1622 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:11:00 +00:00
jasonshort 0371847faf gyro test now includes sin cos out
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1621 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:10:24 +00:00
jasonshort b8bb12a6d7 simplified protocol
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1620 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:09:51 +00:00
jasonshort 365980ebf9 improved FBW control
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1619 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:09:32 +00:00
jasonshort f03df257f3 improved rotation vectors
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1618 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-10 07:08:03 +00:00
DrZiplok 61d65f652c Fix for log() being a bad idea.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1617 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-09 23:15:11 +00:00
mich146@hotmail.com dbdabd8707 MavLink Update
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1616 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 23:16:58 +00:00
deweibel 8c76c8c936 Add code for auto magnetometer offset nulling.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1615 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 20:17:16 +00:00
DrZiplok 4632dd2f29 Implement a cast_to_float method for convenience; at a cost of a couple of bytes in the vtable this will save many callers having to play type introspection games.
It might be possible to implement a set of virtual cast operator overrides, but only float lets us return NAN to indicate that a cast can't be made, so for now we'll stick with just this one.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@1614 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 10:17:45 +00:00
DrZiplok 3108d661d2 Correct knots -> m/sec conversion. Thanks to Paul M. for spotting this.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1613 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 07:06:47 +00:00
james.goppert 2584f9a1f1 APO Compiling with new AP_Var!
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1612 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-08 01:58:51 +00:00
james.goppert af1ee477b9 Working on updating AP_Controller/RC_Channel for new AP_Var
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1611 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 23:33:12 +00:00
jasonshort f291e862d4 switch compass orientation back to default
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1610 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:20:08 +00:00
jasonshort db478f6536 beefing up nav
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1609 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:19:19 +00:00
jasonshort d373278068 trying to improve alt hold.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1608 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 06:19:01 +00:00
jasonshort dcccaf4ca7 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1607 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-07 06:18:18 +00:00
jasonshort 7c15a4dc04 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 c3c4fd5439 adjusted filter for faster response
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1605 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:58:29 +00:00
jasonshort b56bcc25ba upped buffer
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1604 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:56:54 +00:00
jasonshort fa63a199b8 updated gains
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1603 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:56:28 +00:00
jasonshort 6fec86ec54 removed debugging code
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1602 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-07 05:55:29 +00:00
jasonshort 9f50924980 updated airpressure test
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1601 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 18:50:16 +00:00
jasonshort c512a0ab64 removed D for nav, added extra timer for FBW and Nav.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1600 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:06:36 +00:00
jasonshort 20a57b8932 added error limit to alt hold
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1599 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:04:26 +00:00
jasonshort d1e9d62072 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1598 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:03:28 +00:00
jasonshort ea8acd664f fixed inverted cos error
git-svn-id: https://arducopter.googlecode.com/svn/trunk@1597 f9c3cf11-9bcb-44bc-f272-b75c42450872
2011-02-06 07:02:51 +00:00
jasonshort 76f0d1739b git-svn-id: https://arducopter.googlecode.com/svn/trunk@1596 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:02:25 +00:00
jasonshort 9ec8e29b7b git-svn-id: https://arducopter.googlecode.com/svn/trunk@1595 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:01:30 +00:00
jasonshort dee6c8e557 git-svn-id: https://arducopter.googlecode.com/svn/trunk@1594 f9c3cf11-9bcb-44bc-f272-b75c42450872 2011-02-06 07:00:55 +00:00