DrZiplok@gmail.com
70baf31139
Resurrect lf -> crlf translation that was lost when I dropped the stdio support.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@921 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 03:41:52 +00:00
DrZiplok@gmail.com
a468abcdbf
Add a better workaround for a GCC bug that generates spurious warnings for PSTR()
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@920 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 02:59:30 +00:00
DrZiplok@gmail.com
aa2bbe9131
A better workaround for the PSTR warning bug. This seems to work correctly.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@919 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 02:59:15 +00:00
DrZiplok@gmail.com
2dfb44907f
Add a test case for printf_P
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@918 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 01:55:21 +00:00
james.goppert
13d586dd01
Debugging HIL classes.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@917 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-25 01:34:33 +00:00
james.goppert
9331f8616c
Fixed several HIL class bugs.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@914 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 16:32:30 +00:00
DrZiplok
c473af0082
Back out the "workaround" for PSTR() warnings; it doesn't.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@913 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 08:07:04 +00:00
DrZiplok
f345d5392f
Back out the workaround for PSTR() warnings; it doesn't.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@912 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 08:06:09 +00:00
rmackay9@yahoo.com
165711f028
ArduCopterNG - Added warning message to tell people not to switch AIRFRAME to HELI and then load to a QUAD because if they do, the engines will fire up to 50% during the initialisation sequence.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@910 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 01:45:05 +00:00
rmackay9@yahoo.com
715cd4d3b0
ArduCopterNG: added TraditionalHeli support, changed G_dt to work in microseconds (Issue #37 ),
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@909 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-24 01:30:41 +00:00
jasonshort
2eb714aa51
almost ready for use, still testing
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@906 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 21:20:38 +00:00
jasonshort
2dd479ea62
almost ready for use, still testing
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@905 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 21:20:29 +00:00
jasonshort@gmail.com
4fa2491adf
This is a new Library for managing RC input channels which will replace the current way of storing RC input in Arrays and most of the Radio.pde tab
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@902 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 19:28:19 +00:00
DrZiplok@gmail.com
f30bf9cab7
Add format attributes to printf and printf_P. The latter is a bit wishful as gcc isn't smart enough to deal with what PSTR does, but with some other hackery this can be used to generate useful warnings.
...
Add a workaround for a GCC bug that generates spurious warnings when PSTR() is used.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@901 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 09:09:52 +00:00
DrZiplok@gmail.com
906239160d
Add a workaround for a GCC bug that generates spurious warnings for PSTR()
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@900 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 09:07:47 +00:00
DrZiplok@gmail.com
5560f4fcf9
Attribute fix.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@899 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 04:05:27 +00:00
DrZiplok@gmail.com
d759ee97c5
Fix this so that it compiles again.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@898 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 04:03:43 +00:00
DrZiplok@gmail.com
43262a573f
Bring in floating point support for BetterStream::printf, courtesy of the avr-libc implementation.
...
Strip the stdio integration from FastSerial as we aren't using it and it just wastes space.
Note that this does not attempt to fix the bogus floating point handling in ::print(ln). That's an issue for another day.
BetterStream::printf(_P) aka FastSerial::printf(_P) support is now as documented for avr-libc printf with floating point support enabled.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@895 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-23 00:38:16 +00:00
rmackay9@yahoo.com
04364e90c0
Arducopter.h - fixed incorrect EEPROM address for cam_mode_ADR (and a few other variables after that)
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@886 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 15:18:41 +00:00
rmackay9@yahoo.com
ef6519e406
ArduCopterNG - small cosmetic change & small change to how Wire.begin is called (now only called once). http://www.arduino.cc/en/Reference/WireBegin
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@885 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 13:53:13 +00:00
rmackay9@yahoo.com
3d80d7e580
APM_BMP085 - added InitialiseWireLib parameter to Init function. This allows us to skip the Wire.begin which should only be called once.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@884 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 12:55:34 +00:00
rmackay9@yahoo.com
39b86313a2
APM_Compass - added InitialiseWireLib parameter to Init function. This allows us to skip the Wire.begin which should only be called once.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@883 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 12:53:55 +00:00
rmackay9@yahoo.com
e930dacb4d
AP_Math - initialise vector2 and vector3 x,y,z values to zero. Doug found (and I confirmed) that if vectors or matrices were declared in a function (i.e. a local variable), they would often have non-zero values. Global declarations don't have this problem - it's a C++ performance thing it seems.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@878 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-22 02:29:15 +00:00
jphelirc
e7eda28984
gps hold and baro updates
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@877 f9c3cf11-9bcb-44bc-f272-b75c42450872
2010-11-21 12:56:25 +00:00
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