Randy Mackay
b0c777259f
Copter: update home constantly while disarmed
10 years ago
Randy Mackay
2bec00e1c5
Copter: set ahrs home from ekf location
10 years ago
Randy Mackay
74b98b89d0
Copter: remove dcm check
10 years ago
Randy Mackay
522ef8f91f
Copter: rename MOT df msg to MOTB
...
This will slightly reduce confusion with the MOT message from AC3.1.5
that eventually became RCOUT
10 years ago
Randy Mackay
b679fd0be0
Copter: log RATE with ATT
10 years ago
Randy Mackay
e6c3f4f97b
Copter: move aux switch enum to defines.h
10 years ago
Robert Lefebvre
97cd3614eb
Copter: Change Aux Switch function list to enum.
10 years ago
Robert Lefebvre
a5af151a91
Copter: Initial expansion of Aux Switch to Ch7-12
10 years ago
Víctor Mayoral Vilches
79e152cd93
Copter: Update compass to the new interface
10 years ago
Randy Mackay
088a49abbf
Copter: remove APM1, APM2 support
10 years ago
Randy Mackay
fbfc94cf69
Copter: remove GPS glitch and failsafe
...
The EKF failsafe now captures all failures that could lead to a bad
position including GPS glitches and a bad compass meaning we do not need
this protection in the main flight code.
10 years ago
Randy Mackay
6f6847c025
Copter: use only InertialNav_EKF
...
remove calls to unsupported functions including ignore_next_error,
set_altitude, etc.
10 years ago
Randy Mackay
d7f624be39
Copter: remove baro_glitch protection
10 years ago
Leonard Hall
c537c38646
Copter: add update_throttle_low_comp
...
sets the priority of throttle vs attiude control so that attitude is
favoured (i.e. high throttle-low-comp) during dynamic flight while
throttle is favoured when vehicle may be landing.
10 years ago
Leonard Hall
d5bbe6de03
Copter: remove TRIM_THROTTLE
...
throttle_trim is replaced by throttle_average which is initialised to
the throttle_mid parameter value at startup
10 years ago
Leonard Hall
c78480e14f
Copter: rename loiter_pos to pos_xy
...
Also renamed throttle_rate to vel_z, throttle_accel to accel_z
10 years ago
Leonard Hall
e232867661
Copter: move LOITER_RATE to 2-axis PI controller
...
Also rename LOITER_RATE to VEL_XY for parameters, definitions, variables
10 years ago
Leonard Hall
8ba195a3a2
Copter: add Mot and Rate dataflash logging
10 years ago
Randy Mackay
bae424fa88
Copter: pass in loop_rate to motors constructor
10 years ago
Andrew Tridgell
7c975808f8
Copter: provide terrain height to rangefinder
...
used for power saving
10 years ago
Andrew Tridgell
191d803968
Copter: make PERF info message into a STATUSTEXT message
...
this makes it appear properly in tlogs. Also show both min and max
loop times
10 years ago
Randy Mackay
77d8f88e45
Copter: fence, rtl, land use alt-above-home
10 years ago
Randy Mackay
e081b9d1c7
Copter: home is set becomes three state
10 years ago
Randy Mackay
f4c392c64d
Copter: pre_arm_checks returns success or failure
...
This makes the pre-arm check function consist with the other arming
check functions
10 years ago
Randy Mackay
64af4ff923
Copter: rename set_servos_4 to motors_output
10 years ago
Robert Lefebvre
8e8ec09740
Copter: update pos_control alt_max from fence at 1hz
10 years ago
Randy Mackay
f91fb9a4e8
Copter: rename frsky_telemetry_send function
10 years ago
Randy Mackay
34503de18e
Copter: integrate SerialManager
...
Remove serial0, serial1 baud and protocol parameters
Pass serial_manager to GCS, GPS, mount, FrSky_telem objects during init
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
10 years ago
Randy Mackay
c51ba8cd03
Copter: integrate mount frontend-backend restructure
...
initialise mount on startup
use Mount::has_pan_control method
Remove calls to unimplemented mount.configure_cmd
Remove call to update_mount_type which will be handled from within mount
lib
10 years ago
Randy Mackay
58ac9de94b
Copter: update home position when disarmed
...
This resolves the issue in which the vehicle's position jumped back to
it's home location when disarmed and using the EKF. This also makes
copter consistent with plane.
10 years ago
Randy Mackay
e94693e8ac
Copter: remove unused throttle integrator
10 years ago
Robert Lefebvre
b8822a42b6
Copter: Change Compass logging to new DataFlash method that handles instances.
10 years ago
Randy Mackay
4059e02a8c
Copter: move ch6 tuning to tuning.pde
10 years ago
Andrew Tridgell
c151f24672
Copter: updates for new AP_Baro API
10 years ago
Robert Lefebvre
20fce5c9ff
Copter: Move landing gear code into new file
10 years ago
Robert Lefebvre
fd61c3179a
Copter: Remove relay pointer from LandingGear object
10 years ago
Robert Lefebvre
e10e020062
Copter: Add Landing Gear functionality to main code
10 years ago
Staroselskii Georgii
84a15304a1
Copter: added AK8963 support
10 years ago
Andrew Tridgell
c784ee717b
Copter: update for new OptFlow API
10 years ago
Randy Mackay
b6bcf841e1
Copter: remove second camera mount
10 years ago
Randy Mackay
aba829678a
Copter: optflow instantiation format change
...
No functional change
10 years ago
Randy Mackay
c93c7af20c
Copter: move update_optflow to sensors.pde
...
No functional change
10 years ago
Randy Mackay
67fdfffc2a
Copter: remove OF_Loiter PIDs and tuning
10 years ago
priseborough
9e7709fa09
Copter: Expand EKF speed limit public method to handle control limits
10 years ago
priseborough
9844dacf40
Copter: Add EKF ground speed limit to loiter speed control
...
This is required to prevent the speed controller saturating the optical flow sensor during low altitude flying.
10 years ago
priseborough
715d64dce9
Copter: Check for new optical flow updates at 200Hz
...
Supports use of higher flow read rates if required.
10 years ago
priseborough
468c83c074
Copter : Check for new optical flow readings every 10ms
...
The driver polls the sensor asynchronously every 100 msec, so we need to continually check for new data.
10 years ago
priseborough
45c007d216
Copter : Correct comment on required optical flow update rate
10 years ago
priseborough
a72b6b179b
Copter : Modify EKF optical flow data interface
10 years ago
priseborough
311206017c
Copter : Update EKF optical flow data interface
...
Makes it compatible with the new PX4Flow interface
10 years ago