Andrew Tridgell
011110e1dd
airspeed: use floating point values and better averaging in zero_airspeed()
...
this makes the calibration of airspeed a bit more accurate, and
prevents truncation of airspeed values
13 years ago
Pat Hickey
6dbd6b4181
ArduCopter: Get barometer data in terms of AP_Baro interface
...
* Major change: Log.pde Log_Write_Control_Tuning has changed significantly
* MS5611 has no concept of RawPres and _offset_press
* Log the get_pressure() instead. (If we don't trust the barometer, what's the point?)
13 years ago
Randy Mackay
fe336fb749
ArduCopter - small fixes to fix HIL compile errors
13 years ago
Randy Mackay
67855b207d
Arducopter, RangeFinder - added SONAR_TYPE parameter and properly support the XL (default), LV and long distance XL (aka XLL) sonar types
13 years ago
Jason Short
6dfdd754ea
Stability patch updates,
...
Cleanup
13 years ago
Jason Short
9bc6fce3b8
Function call defs commented with // so the preprocessor doesn't get confused
13 years ago
Jason Short
778393c4a7
Enabled the compass test
13 years ago
Andrew Tridgell
2a5a15abce
test: fixed test code for HIL build
13 years ago
Andrew Tridgell
2d8cfc0c3f
test: neaten up the output of the dcm test
13 years ago
Pat Hickey
475afd6ac2
purple: enable dcm test, and fixed imu test to test the IMU API
13 years ago
Pat Hickey
c2972ff1f9
purple: fixed CLI code for non-ADC hardware and no sonar
...
purple hardware does not use the ADC driver
13 years ago
Pat Hickey
63393b206a
purple: added ins test
...
this tests the InertialSensor library API
13 years ago
Pat Hickey
4869ac3385
purple: use the new LED_ON/LED_OFF macros for LED level
...
this gets this right on both APM1 and purple for ArduCopter
13 years ago
Jason Short
10a24f22fa
renamed set_cmd function
13 years ago
Jason Short
eef04a5a54
removed some tests
13 years ago
Jason Short
833fe17c6a
disabled raw GPS temp
13 years ago
Jason Short
bb4e612241
Shortened test name
13 years ago
Jason Short
2c9ebf11b8
removed unused functions, log fix
13 years ago
Jason Short
c8304114a3
renamed some command variables to align with Arduplane
...
reworked the arming code and moved the DCM gains out.
updated climb_rate to include sonar data.
13 years ago
Jason Short
0a538baeb2
updated baro test
13 years ago
Jason Short
142707711e
Updates to guided mode from Michael O.
...
removed or commented unused static vars
14 years ago
Jason Short
b0bd9d1c44
Added second PI loop for alt hold.
...
Upped gains for default JDrones Frame
added gains for second PI loop for alt
removed some tests for 1280 space constraints
14 years ago
Amilcar Lucas
ee4251baef
Fix compilation
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
Jason Short
35c30e91bf
Test for new nav function
14 years ago
Jason Short
b2b28cc90c
Converted Millis to Micros
...
added navigation check to return a failed navigation
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
0425f4be54
updates for new DCM code
...
G_Dt is no longer needed by the DCM
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
Jason Short
e6b7c57d26
Circle Mode now working
...
250Hz loop implemented
14 years ago
Jason Short
02bfd43390
Fixes Alt hold mistake
...
Moves tuning into runtime definable param
Added more IMax to throttle
Signed-off-by: Jason Short <jasonshort@gmail.com>
14 years ago
Andrew Tridgell
1456a2a912
renamed top level directories
...
ArduCopterMega -> ArduCopter
added archives directory for old code
14 years ago
jasonshort
3ad21cc236
2.0.40
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3252 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
f868cd90e4
we should not be calling mavlink_delay() in the CLI
...
(this reverts svn 3050 from Jason)
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3167 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
8715ed3bd7
2.0.39
...
added callback to the test functions… not sure if this is the correct thing to do.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3050 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
de191b7bee
2.0.39
...
Cleanup and removed some old tests to save data flash.
git-svn-id: https://arducopter.googlecode.com/svn/trunk@3030 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jphelirc
2d094da38e
added relay control to CH6
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2943 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
f5d17f756a
ACM - partial integration of optical flow sensor
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2934 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
6e179db689
HIL: fixed build with HIL and logging
...
thanks to Jani for noticing this
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2925 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
d04d32c40c
2.0.37
...
Added rate of change limit for noisy Sonars.
converted to static functions - Tridge
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2901 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
6b0c938176
CLI: make it possible to completely disable the CLI
...
set CLI_ENABLED to DISABLED for no CLI. This saves a lot of memory
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2895 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
df6a1b51f3
make a lot more functions and variables static
...
this saves about 1k of code space through better compiler optimisation
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2889 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
tridge60@gmail.com
855b88852e
fixed a bunch of compiler warnings
...
mostly signed/unsigned warnings
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2884 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
f46647d8b8
minor cosmetics
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2846 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
35bf288abd
New PIDs - I rewrote the control laws from scratch to add a PI Rate function. The end result should fly nearly identically to the current version. The nice detail is that we can use NG PID values for easy transition!
...
Before: -> After
Stabilize P –> Stabilize P (Use NG values, or 8.3 x the older AC2 value)
Stabilize I –> Stabilize I (Stays same value)
Stabilize D –> Rate P (Stays same value)
–> Rate I (new)
Added a new value – an I term for rate. The old stabilization routines did not use this term. Please refer to the config.h file to read more about the new PIDs.
Added framework for using DCM corrected Accelerometer rates. Code is commented out for now.
Added set home at Arming.
Crosstrack is now a full PID loop, rather than just a P gain for more control.
Throttle now slews when switching out of Alt hold or Auto modes for less jarring transitions
Sonar and Baro PIDs are now combined into a throttle PID Yaw control is completely re-written.
Added Octa_Quad support - Max
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2836 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
dhcorley@msn.com
6be97515ac
re-sync rawgps cli test with APM2 (r2501)
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2601 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
cb168c399d
AC2.0.24b
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2567 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
rmackay9@yahoo.com
7845bba097
Traditional Heli - merged heli code into ACM trunk code!
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2548 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
dhcorley@msn.com
732a36960e
sync rawgps test with APM 2x rawgps test
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2501 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago
jasonshort
8a19c0a392
2.0.23, Hexa Fix, Baro and Sonar tests now separated.
...
git-svn-id: https://arducopter.googlecode.com/svn/trunk@2464 f9c3cf11-9bcb-44bc-f272-b75c42450872
14 years ago