Commit Graph

61159 Commits

Author SHA1 Message Date
james.goppert 0eef05b734 Working on HIL for sensors.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@873 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-19 21:20:49 +00:00
jasonshort 391e4268c4 git-svn-id: https://arducopter.googlecode.com/svn/trunk@859 f9c3cf11-9bcb-44bc-f272-b75c42450872 2010-11-19 07:18:40 +00:00
james.goppert f622222f4a Updated arducopter to instantiate sensor classes to accomodate new HIL classes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@858 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-19 06:11:57 +00:00
james.goppert e245b7c7b3 Added sensor level HIL support.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@857 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-19 05:42:47 +00:00
DrZiplok d2a2ee0fd8 More runtime magic; this time support required for static class objects at function scope.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@855 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-18 17:52:41 +00:00
james.goppert 71076dad27 Switched APM_RC to uint16_t from int16_t for radio channels to fix servo bug in APM trunk.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@853 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-18 05:21:53 +00:00
deweibel 0e32cb34c5 bug fix, enhancements
Now in a flyable state.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@852 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-17 21:20:20 +00:00
deweibel 52ed7fac8c corrections to imu and dcm libs, addition of vector member to compass class for magnetic vector
git-svn-id: https://arducopter.googlecode.com/svn/trunk@844 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-15 02:15:16 +00:00
jjulio1234 04b893ea43 Added altitude control function based on sonar (not activated yet)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@835 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-13 17:51:43 +00:00
jjulio1234 069422c086 Added altitude control function based on baro (not activated yet)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@834 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-13 17:48:46 +00:00
DrZiplok@gmail.com c0c28f8eae Recover 256 bytes of RAM by making the packet transmission code smarter. Now we emit the packet directly from the procedure parameters, rather than wasting time and space packing it into a temporary buffer.
Revert the buffer overflow test until I can work out what James was doing with it.

Don't try to send a text message in response to a message we don't like; we should probably implement a NAK message instead.

Improve the text string sender a bit.  We need to fix the protocol generator for this to be less sucky on the send side.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@827 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 07:16:32 +00:00
james.goppert 2e048125ef Fixed some bincomm errors.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@826 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 04:31:04 +00:00
james.goppert ab1df51b5f Added navigation augmentation messages.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@825 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 04:22:43 +00:00
james.goppert afb134b915 Added buffersize member to BinComm.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@824 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 02:42:43 +00:00
james.goppert d8b3dd9aa1 Added some useful error messages.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@823 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-11 01:55:14 +00:00
jjulio1234 9e6fcded41 Geographic_correction_factor is now internally calculated (no need for external parameter)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@822 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-10 21:38:56 +00:00
james.goppert b839951ce5 Switched to generic servo output.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@821 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-10 19:02:22 +00:00
jjulio1234 05ea4dce7d Yellow LED on when GPS position hold mode
git-svn-id: https://arducopter.googlecode.com/svn/trunk@815 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 22:03:09 +00:00
jjulio1234 0ce4e75c79 Some corrections on attitude file. Magnetometer tests
git-svn-id: https://arducopter.googlecode.com/svn/trunk@814 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 21:38:54 +00:00
james.goppert a771cbacc0 Added buffer overflow warning.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@810 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 11:41:08 +00:00
james.goppert 33a7d26846 Adding missing loop counter for menu.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@809 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 01:58:00 +00:00
james.goppert 687f5ebc00 Removed strlcpy.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@808 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-09 01:17:38 +00:00
paulbmather@gmail.com bd205a48e8 GPS units that don't have 2 digits after decimal on heading and alt would cause serious math problem.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@807 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 19:21:42 +00:00
james.goppert 7dd853642c Fixed ack error.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@805 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:38:42 +00:00
james.goppert 3ec939888e Removed Serial references.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@804 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:23:13 +00:00
james.goppert 744d72ea2b Command upload functional.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@803 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-08 04:12:35 +00:00
james.goppert d72c61b80a Setup bincomm auto acknowledge.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@793 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:59:11 +00:00
james.goppert f28c752bbb Updated command parameters.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@792 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:37:18 +00:00
james.goppert 91caffaf95 Changed to 32bit alt.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@791 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 05:28:47 +00:00
james.goppert e308f2410e Fixed yaw.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@789 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 04:02:10 +00:00
james.goppert 5207844480 Added 0x70, other minor changes.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@788 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-07 03:19:49 +00:00
DrZiplok@gmail.com bfaf2f2f9b Fix pack pragma usage
git-svn-id: https://arducopter.googlecode.com/svn/trunk@773 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 08:57:33 +00:00
DrZiplok@gmail.com aec22fc639 Fix the idle timer.
Init a few more critical fields in the ctor.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@772 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 08:20:33 +00:00
DrZiplok@gmail.com 9e7876fee7 Dangling comma
git-svn-id: https://arducopter.googlecode.com/svn/trunk@771 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 03:53:46 +00:00
DrZiplok@gmail.com 1049bf2153 Add init method so that the comms stream can be set after construction.
Template the pack/unpack functions, make the code a little cleaner.

Fix a few message definitions.


git-svn-id: https://arducopter.googlecode.com/svn/trunk@770 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-05 03:47:29 +00:00
jphelirc eb5f4d7d32 prepared support for Mode 1 & Mode 2 radios
git-svn-id: https://arducopter.googlecode.com/svn/trunk@768 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 16:52:04 +00:00
jphelirc 6f70fddea4 work on progress, updated camera functions, rearranging module configs
git-svn-id: https://arducopter.googlecode.com/svn/trunk@767 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 12:39:11 +00:00
rmackay9@yahoo.com a5cb22207a modified APM_PerfMon to display results sorted by %cpu
git-svn-id: https://arducopter.googlecode.com/svn/trunk@766 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 07:49:37 +00:00
rmackay9@yahoo.com c9e7d227fe added APM_PerfMon library which can be used to track down performance bottlenecks
git-svn-id: https://arducopter.googlecode.com/svn/trunk@765 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-03 06:50:42 +00:00
deweibel 7b752babf0 checking in working copy to work on bad bug
DO NOT ATTEMPT TO FLY

git-svn-id: https://arducopter.googlecode.com/svn/trunk@762 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-02 04:34:49 +00:00
DrZiplok@gmail.com c833182dbe Duplicate include protection for BetterStream.h
git-svn-id: https://arducopter.googlecode.com/svn/trunk@761 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-01 07:42:51 +00:00
DrZiplok@gmail.com c39639045c Default un-supplied command arguments to the empty string and zero rather than leaving them potentially un-initialised. This makes it safe for commands to compare argument strings without adding the expense of checking argc first.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@760 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-01 03:40:54 +00:00
rmackay9@yahoo.com 1adfde9ff6 fixed small typo that was stopping magnetometer initialisation code from being run.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@759 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-31 14:01:21 +00:00
DrZiplok 8b2245acda More documentation.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@758 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-31 00:35:13 +00:00
deweibel b49032d9ea Changes to DCM and IMU libraries to put accel into m/s^2 units
git-svn-id: https://arducopter.googlecode.com/svn/trunk@757 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 16:17:16 +00:00
jphelirc 288c61fcce preparing for camera stabilization features
git-svn-id: https://arducopter.googlecode.com/svn/trunk@756 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 14:38:52 +00:00
jphelirc 1ece81342b PowerDistro -PCB layer files
git-svn-id: https://arducopter.googlecode.com/svn/trunk@753 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 08:31:30 +00:00
jphelirc 4a07a3c09d preparing for automatic calibration via CLI
git-svn-id: https://arducopter.googlecode.com/svn/trunk@752 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 08:30:46 +00:00
rmackay9@yahoo.com 7f4137569b Added orientations for Sparkfun magnetometer.
Also corrected some typos in the orientations for the DIYDrones mag.

git-svn-id: https://arducopter.googlecode.com/svn/trunk@751 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-30 05:25:48 +00:00
jphelirc b853247c08 preparing for camera mounts
git-svn-id: https://arducopter.googlecode.com/svn/trunk@744 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-10-29 05:47:54 +00:00