Andrew Tridgell
3a9b7d6458
GPS: change example serial rate to 115200
...
this matches default for AP/AC
14 years ago
Andrew Tridgell
a5d2e96dc6
barometer: print a message on barometer init in example code
...
this helps track down initialisation problems
14 years ago
Jason Short
45778a4e81
added sin and cos yaw from DCM, renamed "get" function because it doesn't return a value.
14 years ago
Jason Short
cd72e6bea9
roughed in an expo option idea
...
made min and max values 1100, 1900
removed hard coded init for camera values
14 years ago
Jason Short
d29cfbcee3
Integration of optical flow
...
bug fixes for new Simple mode
increased Baro filter by 2 fields
14 years ago
Janne M
d5e5240e19
Issue #415 : Modified spotlight search string. Added UPLOAD_PROTOCOL parameter to makefile to use different programmer.
14 years ago
Mike Smith
42abbb41fd
Add options to generate assembly listings for all of the compiled
...
files. This is a possible starting point for a tool to analyse the
call graph and stack usage of APM.
It's also interesting by itself.
14 years ago
unknown
a4e001bbcf
Adding CMake support
14 years ago
Amilcar Lucas
1f29197771
Revert more of 6dcbc7f44bc0.
...
Fix an issue with initialization of channels that on-line changed their function.
For the curious people that the code size overhead of having any aux channel do any function (with this code) is 44 bytes.
To see wich code I'm talking about, do a git diff 05057ac2d455..this_commit (replace this commit with the commit hash of this commit)
14 years ago
Amilcar Lucas
f08cea8044
These changes were meant to be inside commit a14c06adc06b. I'm sorry but reverting stuff is not that easy
14 years ago
Amilcar Lucas
5406991831
Added support for routing any function to any of the aux. servos.
...
This is a manual merge from the APM_Camera branch.
It reverts the stuff that Oliver did not menat to do with his commit 6dcbc7f44bc0
14 years ago
Jason Short
ecd14f4425
Cleaned up guided mode
...
Reduced ADC filter to 3 from 6 to increase speed of filter.
14 years ago
DrZiplok
c0b4cb661f
GNU sed wants -r, Darwin/BSD sed wants -E.
14 years ago
Amilcar Lucas
c7b3bfd295
Use the G_RC_AUX macro when possible. Added more comments. Remove unused code
14 years ago
Mike Smith
c1460add3b
Reinstate a Cygwin workround that was backed out by the previous changes.
...
Not all platforms support (or require) the -r argument to sed.
14 years ago
Amilcar Lucas
77c798abd5
Use G_RC_AUX macro to simplify accessing the auxiliary servos
14 years ago
Amilcar Lucas
46f9d4cec8
This is ugly, but it fixes compilation on arduino
14 years ago
Amilcar Lucas
ce010b4e38
Moved update_aux_servo_function() to the RC_Channel_aux.* files.
...
This simplifies code sharing between ArduCopter and Arduplane at the expense of 48bytes.
Moved CH_x defines out of the defines.h file and into the library where they belong
14 years ago
Jason Short
d50ed35077
Added a state machine intended to run at 250hz to the DCM. Spread load of DCM out to lower CPU.
14 years ago
Amilcar Lucas
213969202a
Moved the RC_Channel_aux class to its own file. The includes could be improved, has anyone got any ideas how ?
14 years ago
Amilcar Lucas
c5fd792024
Make the switch case complete
14 years ago
Amilcar Lucas
9f14c5f578
Fix RC range reversal
14 years ago
Amilcar Lucas
dd19a7302d
I do not understand this, but it looks like it needs int8 here
14 years ago
Amilcar Lucas
84f108d598
Fix manual values mapping
14 years ago
Amilcar Lucas
d84f80cb0d
Moved enum values around to make code simpler to read and use
14 years ago
Amilcar Lucas
386e80eaf6
Added comments and TODO
14 years ago
Andrew Tridgell
0a793a1327
Revert "added support for AP_ADC MAVLink packet"
...
This reverts commit a65a2dda2c1bfa95437880227a3abddc95b329f5.
I am reverting this not for any sane reason, but because my 3 APM
boards now lock up on any I2C operation, and I don't know why. I can't
see how this change could have caused it, but I don't want to take the
chance.
14 years ago
Andrew Tridgell
a2c1caacf5
Revert "added support for AP_ADC MAVLink packet"
...
This reverts commit a65a2dda2c1bfa95437880227a3abddc95b329f5.
I am reverting this not for any sane reason, but because my 3 APM
boards now lock up on any I2C operation, and I don't know why. I can't
see how this change could have caused it, but I don't want to take the
chance.
14 years ago
Andrew Tridgell
95af8dc172
mavlink: import new version with AP_ADC packet
...
this adds the AP_ADC packet which gives us raw ADC values
14 years ago
Amilcar Lucas
f4998c3673
Moved a function from radio.pde to the RC_Channel_aux library. Now its more readable and reusable
14 years ago
Amilcar Lucas
b3d4bb1478
Again remove some more files from the APM_Camera branch
14 years ago
Andrew Tridgell
0b9dbf4645
mavlink: import new version with AP_ADC packet
...
this adds the AP_ADC packet which gives us raw ADC values
14 years ago
Amilcar Lucas
a8e68040f5
These files are not meant to be in master, they should only be in the APM_Camera branch for now
14 years ago
Amilcar Lucas
b7a0d8836a
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
Amilcar Lucas
f40c85a601
This is the real HEAD of the APM_Camera branch. Seams that lots of changes got lost in the SVN to GIT port
14 years ago
jasonshort
e05de48e2d
Adding reverse to Channel Raw output (unscaled output) to fix camera reversing.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3297 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
joeholdsworth@gmail.com
6dbfd78197
updated make file for cygwin compatibility
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3277 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
3072b61aeb
updated XML MAVLink definitions
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3272 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
363abab14e
Changed bit shifts to division, relying on the compiler.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3265 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
641099d2ed
renamed ACM_PI to APM_PI to fix build
...
the library name needs to match the header name for the arduino build
to work
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3254 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
ab876ebe13
Adding ACM_PI
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3253 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
89f9fafb90
BetterSerial has txspace() now
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3248 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
2e989fd101
replace space() with txspace()
...
space() was actually intended to be tx buffer space, it just had a
bug. The name txspace() is clearer however, and should prevent
confusion as to which buffer its for
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3247 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
7774ac534e
added comm_get_txspace() to GCS_MAVLink
...
this gives us the number of bytes available in the transmit buffer for
a mavlink channel
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3246 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
c822bad359
added txspace() method to FastSerial
...
this returns the number of bytes available in the transmit buffer
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3245 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
5980e80333
fixed spelling
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3244 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
694bfc5b87
Added two filters to the RawTemp and RawPress values to increase accuracy from noisy temp sensor.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3242 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
4ec8805216
Reverted to older PID. Restored the older filter, and removed PI command. I am no longer using PID for the quad and have switched to PIPI loops which perform much better. The D term in this class is not that great.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3241 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
fa1a6d3beb
shrink the size of mavlink_message_t using max dialect message size
...
this makes mavlink_message_t much smaller, but setting
MAVLINK_MAX_PAYLOAD_LEN to the maximum message size in this
dialect. This saves us 320 bytes of memory
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3239 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
754ab0290b
import new mavlink version
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3238 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago