Randy Mackay
cca05ee8ae
Copter: start dataflash logging when arming
...
Stop nearly empty logs from being produced.
Removed redundant armed bit from ap state.
12 years ago
Andrew Tridgell
b6e3e59bc3
Copter: simplify setHIL for baro
12 years ago
Andrew Tridgell
55da049c69
Copter: fixes for AP_Baro_HIL
12 years ago
Andrew Tridgell
db57c8d7c5
Copter: removed the deprecated HIL sensors interface
...
must use the new HIL_STATE message now
12 years ago
Andrew Tridgell
172d9724df
Copter: use new HIL compass API
12 years ago
Andrew Tridgell
0d027b7a23
Copter: updates for new compass API
12 years ago
Andrew Tridgell
105bd32a2e
Copter: fixed some uses of constrain_float() to be right type
12 years ago
Andrew Tridgell
25c576cad7
Copter: replaced constrain() with constrain_float()
12 years ago
Michael Oborne
743d7f2b74
Fix Param description
12 years ago
Randy Mackay
d9601916ee
Copter: update firmware version and release notes for 3.0.0-rc1
12 years ago
Randy Mackay
3aca35777f
Copter: use mavlink fence message
...
Note: we should consider moving this send via mavlink into the fence
library
12 years ago
Randy Mackay
bab9fa25e5
Copter: add GCS failsafe
12 years ago
Randy Mackay
31e430948a
Copter: use renamed RCInput valid_channels
12 years ago
Randy Mackay
76d0f7f74d
Copter: fix compiler warning re unused float_int
12 years ago
Randy Mackay
cc2232b2f3
Copter: remove outdated tests
...
We primarily use sitl now for testing making these unit tests less
important and having large blocks of commented out code that perhaps
doesn't compile anymore makes the code messy
12 years ago
Randy Mackay
d146d6aaa6
Copter: restore update_altitude to run at 10hz
12 years ago
Randy Mackay
90af3262c5
Copter: pre-arm check for compass
12 years ago
Randy Mackay
57731bb3f9
Copter: adopt compass test from arduplane
12 years ago
Randy Mackay
c232d7af4b
Copter: correct fence parameter
12 years ago
Randy Mackay
58d1da2d80
Copter: integrate AC_Fence in place of limits
...
Lesser functionality than limits but saves more than 150 bytes and it
works
12 years ago
Randy Mackay
45aab0de92
Copter: add I2C error count to PM message
12 years ago
Andrew Tridgell
300a8d2bbc
Copter: support all 12 channels on PX4
...
last 4 channels are on the FMU pins
12 years ago
Randy Mackay
74dca6da22
Copter: move update_commands to run_autopilot fn
...
update_commands was being run in the medium_loop counter but it is
easier to understand the flow of the code if it is consolidated along
with other autopilot calls.
12 years ago
Andrew Tridgell
fb0f5d46ba
Copter: use BIT_IF_SET()
...
this should fix the problem with simple mode on PX4
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
5ad9deecfb
Copter: cleanup some bit if tests to be clearer
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Andrew Tridgell
8ec1eaa8b1
build: removed obsolete cmake rules
...
these have not been maintained for over a year
12 years ago
Randy Mackay
63a48f76e2
Copter: add pre-arm check of radio and accel
...
Only checks throttle channel and accelerometer scaling
12 years ago
Randy Mackay
07b6efafd8
Copter: use DEGX100 constant for position_vector calcs
12 years ago
Randy Mackay
0b29754920
Copter: simplify roll-pitch stabilize controller
...
remove check of whether to freeze i term when attitude is less than 5
degrees from horizontal. I terms have been moved to the rate
controllers.
12 years ago
Andrew Tridgell
82c604dd67
Copter: more constrain fixes
12 years ago
Andrew Tridgell
d5875676b1
Copter: use a reference to DCM matrix
12 years ago
Andrew Tridgell
c2c037ec0d
Copter: use the right constrain() type in Attitude code
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
12 years ago
Randy Mackay
a9da3c9d3d
Copter: remove unused throttle functions
...
removed get_pilot_desired_acceleration vand get_pilot_desired_direct_alt
were used for initial testing of the inertial alt-hold controller but
are no longer required.
12 years ago
Andrew Tridgell
9cec664236
Copter: fixed format of PM message log
12 years ago
Randy Mackay
94d4ecef11
Copter: reduce throttle rate D to zero
12 years ago
Randy Mackay
2fc25da4c3
Copter: Leonard's fix for get_loiter_accel_to_lean_angle
12 years ago
Andrew Tridgell
c53ede506d
Copter: make if statement clearer
12 years ago
Bill Bonney
36041bb9ff
Copter: Enable CURRENT logging by default to dataflash
12 years ago
Andrew Tridgell
8b31f276a2
Copter: switch to block based logs for SITL
12 years ago
Randy Mackay
745df9b13c
Copter: add SONAR_GAIN to tune reaction to sonar
...
Some users report the response to sonar is too violent, this allows that
reaction to be reduced
12 years ago
Randy Mackay
50515e28e1
Copter: replace fabs with fabsf
12 years ago
Randy Mackay
a53e5f747b
Copter: add fourth yaw behaviour, look-at-home
...
Added get_wp_yaw_mode to remove duplication of checks of the
WP_YAW_BEHAVIOR parameter
12 years ago
Andrew Tridgell
02c3083f60
Copter: print flight mode as string
12 years ago
Andrew Tridgell
ce3ee97e73
Copter: removed duplicate print_latlon() declarations
12 years ago
Andrew Tridgell
93d075404c
Copter: added board voltage to current message
12 years ago
Andrew Tridgell
a0708460a4
Copter: convert to new logging system
12 years ago
Andrew Tridgell
67484a2ea1
Copter: make copter code compatible with the new logging system
...
not fully converted yet
12 years ago
Randy Mackay
37abfdc65a
Copter: make CIRCLE_RATE a tunable parameter
...
Also bug fix to check of how many time it has rotated during a loiter
turns mission command
12 years ago
Randy Mackay
d65d7d95e2
Copter: bug fix for take-off so it never descends
...
If copter was already flying when take-off command was received it could
descend to the target altitude if it was below the current altitude.
12 years ago
Randy Mackay
0fc9c8739e
Copter: add WP_YAW_BEHAVE parameter
...
Allows user to control whether nose points towards next waypoint and/or
home when RTLing.
Replaces YAW_OVR_BEHAVE which had a very similar purpose. Almost nobody
ever knew about or used this parameter.
12 years ago