John Arne Birkeland
a621f5821f
APM_RC: Cosmetic changes to increase readability and some minor optimizations
14 years ago
Amilcar Lucas
9dca9816f8
Implement relay get()
14 years ago
Amilcar Lucas
7b4ccffa53
Moved relay control functions to it's own library
14 years ago
Jason Short
0bfa67f413
Heavy Accel Filter + mild Gyro Filter. To use, filter_result must be set to true on ADC. Off by default.
14 years ago
Amilcar Lucas
c37fabea66
Added a comment to the BOARD type of teh make configure output file
14 years ago
Amilcar Lucas
eaaf44e2c8
Fix Arduino version detection on some systems
14 years ago
rmackay9
c80143b96e
AP_Optflow - small fix to lat/lon calculation and made example sketch work again
14 years ago
Jason Short
f89da12387
Minimized the accel_filtered vector to be faster and more accurate.
...
Made the Filter include the Accels and moved from 8 to 4 terms in the filter
14 years ago
James Goppert
0c7c508541
Optional recursion added.
14 years ago
James Goppert
48b811f6fa
Updated cmake.
14 years ago
Jason Short
de61e87128
Added ADC gyro Filtering for quads - this fixes a noise issue introduced into the controller
...
added Position mode
removed
Added back in the accelerometer experiment
Added filter_result boolean to enable filter on the fly
14 years ago
Jason Short
1f8576559a
Optimized PI loop
14 years ago
James Goppert
9e6b47184a
Arduino version directory updated to lib/version.txt
...
Also updated cmake files.
14 years ago
James Goppert
5489b84f8e
Improvements to cmake.
14 years ago
James Goppert
b0a1721199
Added cmake files.
14 years ago
James Goppert
d887a28b91
Added ArduBoat/ ArduRover/ and APO library.
14 years ago
James Goppert
71fbdf721a
Added APO branch.
14 years ago
Jason Short
326cfef808
Dead Zone fix - Now the range is full instead of clipped. Should make the Yaw much more smooth.
14 years ago
Amilcar Lucas
03740469fd
fix quotes and indentation
14 years ago
James Goppert
9c766d6373
Added override for mega upload protocol.
14 years ago
Amilcar Lucas
e5c248e2bf
Moved mavlink_check_target() to the libraries/.
...
This allows it to be reused by the other libraries and by other projects ArduPlane, ArduCopter, ArduRover ... etc.
It also reduces code duplication
14 years ago
James Goppert
6abb8a0796
Modified Arduino.mk to use correct upload protocol if not overrided.
...
The previous comment of upload protocol not working cannot be verified on
linux. If this problem persists on cygwin, please override with
UPLOAD_PROTOCOL=arduino in the enivornment before calling Arduino.mk
14 years ago
Jason Short
ce338071eb
RC_Channel tweaks. using Radio_trim rather than 1500 in Raw output. Cleaned up line in calc PWM to be easier to read.
14 years ago
Jason Short
231e7e961c
changed PI to float
14 years ago
Jason Short
bf94ba551e
changed PI Library to take Float for DeltaTime
...
Changed timing to be more accurate in main loop. Still need to switch to micros(). Left that for Tridge. This gets rid of six floating point calcs *250. Nice!
14 years ago
Andrew Tridgell
f375258699
fixed inconsistent linefeeds in ADC code
...
the linefeeds had bacome inconsistent in this library, making some
editors fail to load the code
14 years ago
Andrew Tridgell
edd7e509d9
MAVLink: enable separate MAVLink helpers
...
this makes the core MAVLink functions into library calls, instead of
being inlined. The resulting code size doesn't change, but it means we
can safely call MAVLink functions from multiple places without causing
undue code bloat
14 years ago
Amilcar Lucas
227ce0a92d
Merge some small misc improvements from APM_Camera branch
14 years ago
Andrew Tridgell
8b90ad84f6
fixed ArduCopter HIL build
14 years ago
Andrew Tridgell
3c69404d5b
fixed build of OpticalFlow code
14 years ago
Andrew Tridgell
a835912d93
ADC: randomise the sampling rate
...
this is based on suggestions from Kari and Mike, and should reduce the
aliasing effects we get from the simple averaging
14 years ago
Andrew Tridgell
ba6c58a33c
build: cope with more depths for libraries
...
this finds the libraries at more levels up from the current directory
14 years ago
Andrew Tridgell
840c256fe3
ADC: show timing information in ADC test
14 years ago
Andrew Tridgell
197b1d140a
show noise levels in ADC test
14 years ago
Andrew Tridgell
1d68953416
ADC: the bottom 3 bits of ADC output are always zero
...
its a 12 bit ADC .... silly of me to think the bottom 3 bits are
valid!
14 years ago
Andrew Tridgell
bd30840518
updated ADC test for new API
14 years ago
Andrew Tridgell
9af7021a98
change ADC sample rate to 1kHz
...
this costs us about 9% of our CPU, but should make aliasing much less
of a problem.
14 years ago
Andrew Tridgell
acb4538073
RangeFinder: use new ADC interface
...
the new interface gives values 8 times as large as previously
14 years ago
Andrew Tridgell
9314dcaa89
DCM: re-work the DCM to use the new IMU/ADC features
...
this gives us higher resolution DCM calculations, with much more
accurate timing of the update delta time.
14 years ago
Andrew Tridgell
8b3d9400e5
IMU: re-work the IMU library to take advantage of the ADC Ch6() call
...
This changes the IMU code to read 6 synchronised ADC channels at one
time, giving us matching values, and exposing the exact averaging time
to callers
14 years ago
Andrew Tridgell
70bf945d40
ADC: re-work for ADC code for full resolution and accurate timing
...
this changes the ADC code to return the full resolution of the
sensors. It also adds a new Ch6() interface that returns 6 channels at
once, so the IMU can read 3 accelerometers and 3 gyros at once, and
get the exact time that the values were accumulated over
14 years ago
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