Peter Barker
1fc4063117
Copter: correct TERRAIN_FOLLOW parameter comments
9 years ago
Andrew Tridgell
55ad1548e4
Copter: fixed heli rotor speed control from AP_Motors refactor
9 years ago
Tom Pittenger
a96abde4bf
Copter: do not log CURR.Throttle because it's already logged elsewhere
9 years ago
Tom Pittenger
b433250da5
Copter: sanity check gps latlng
9 years ago
Randy Mackay
2815af81ad
Copter: rename RTL_CONE_SLOPE_DEFAULT definition
...
Also tiny formatting fix
9 years ago
Peter Barker
e977d85e0c
Copter: move telemetry_delayed up into base class
9 years ago
Peter Barker
3cf174c343
Copter: move adjust_rate_for_stream up
9 years ago
Peter Barker
bb19c57615
Copter: subclass GCS_MAVLink in place of defining its functions for it
9 years ago
Randy Mackay
5fb6e4edae
Copter: 3.4-rc1 release notes
9 years ago
Randy Mackay
be3b1cb6ab
Copter: convert STB_ params to ATC_ANG_
9 years ago
Andrew Tridgell
53fc095d4c
Copter: fixed motor test build on heli
...
pwm percent makes no sense
9 years ago
Andrew Tridgell
c605f09859
Copter: fixed motor test with percentage
...
use motors min/max pwm, not throttle channel range
9 years ago
Andrew Tridgell
146a59eed3
Copter: fixed ESC calibration on PixRacer
...
we need to set the ESC scaling before we go into the calibration loop
or the outputs will never arm
9 years ago
Andrew Tridgell
045e3c179a
Copter: moved EKF2 to a new parameter index
...
the meanings of many of the parameters have changed. Best to use a new
index to prevent old parameters from causing crashes
9 years ago
Randy Mackay
cb9ca94dd1
Copter: remove unused pv_location_to_vector_with_default
9 years ago
Randy Mackay
390d06a400
Copter: add and use FLIP_COMPLETE mode reason
...
No need to use the original reason we entered flip mode as the reason we are exiting flip. Instead we can use a new reason called FLIP_COMPLETE
9 years ago
Andrew Tridgell
7e1ef905d3
Copter: removed 30ms delay on arming
...
this is the last of the delays that can cause the EKF to get unhappy
on arming in copter. The comment says it is waiting for RC input, but
I don't think that makes any sense any more.
9 years ago
Randy Mackay
c9284e5f64
Copter: fix flip after throttle changed to 0 to 1 range
9 years ago
Randy Mackay
f28666e7cd
Copter: pass throttle for esc calibration in 0 to 1 range
9 years ago
Lucas De Marchi
33f5fc5f38
ArduCopter: remove support for flymaple
9 years ago
Andrew Tridgell
a922b98ac0
Copter: use send_heartbeat wrapper
9 years ago
Andrew Tridgell
8913dc32b0
Copter: simplify UART setup
9 years ago
Andrew Tridgell
31866c66d8
Copter: always build with MAVLink2 headers
9 years ago
Andrew Tridgell
57870cccb9
ArduCopter: update signing timestamp on GPS lock
9 years ago
Andrew Tridgell
b85f129cc5
ArduCopter: handle SETUP_SIGNING message
9 years ago
Randy Mackay
5461002eea
Copter: read rangefinder at 20hz
9 years ago
Randy Mackay
e6b3638d84
Copter: minor change to land mode's logic to use rangefinder
...
No functional change
9 years ago
Randy Mackay
8171532dc5
Copter: allow rangefinder to be disabled from definition
9 years ago
Randy Mackay
e489c3184c
Copter: rangefinder.enabled false if no range finders are configured
9 years ago
Randy Mackay
59070653cc
Copter: provide filtered range finder altitude to AC_WPNav
9 years ago
Randy Mackay
e18bf3af56
Copter: remove unused definitions
9 years ago
Randy Mackay
5ac13c0355
Copter: move rangefinder variables into structure
...
moved in rangefinder_alt, rangefinder_alt_health and rangefinder_enabled
9 years ago
Randy Mackay
70463dc572
Copter: auto_spline_start handles triggers terrain failsafe
...
Also immediately exit auto_wp_start on terrain failsafe
9 years ago
Randy Mackay
3688636736
Copter: RTL ignores terrain during terrain failsafe
9 years ago
Randy Mackay
273b9acad8
Copter: prearm check that RTL_ALT is below rangefinder max alt
...
Only applies where terrain following is enabled and a range finder is connected
9 years ago
Randy Mackay
c7f80324fa
Copter: tilt correct rangefinder
9 years ago
Randy Mackay
ba38b0234f
Copter: use rangefinder class's valid_range_count
...
Also read_rangefinder directly updates rangefinder_alt variable instead of returning distance
No functional change
9 years ago
Randy Mackay
949d5f7109
Copter: add rangefinder_alt_ok
...
Reduces some duplicate code,no functional change.
9 years ago
Randy Mackay
7689315ba2
Copter: rename sonar to rangefinder
9 years ago
Randy Mackay
028946ae9e
Copter: rename CONFIG_SONAR to RANGEFINDER_ENABLE
9 years ago
Randy Mackay
e0bf08abe0
Copter: fixes to guided mode target check is within fence
...
guided altitude targets are converted to alt-above-home
remove unnecessary fence_status local variable from guided_set_destination methods
log failures to set guided target under a new failure code: ERROR_CODE_DEST_OUTSIDE_FENCE (5)
rename pv_get_home_destination_distance_mc to pv_distance_to_home_cm
9 years ago
Saloni Jain
bc22419286
Copter : Modified set_guided_destination() to reject requests for guided waypoints outside the fence.
9 years ago
Don Gagne
97d361333d
ArduCopter: SET_SENSORS_OFFSETS support for third compass
9 years ago
Randy Mackay
a9d16f3373
Copter: move auto's take-off check to beginning of auto_init
...
This ensures there are no side-effects of a failed switch to AUTO like stopping the vehicle or affecting the yaw mode
9 years ago
Niti Rohilla
26e41fee7a
Copter: prevent Auto tipovers caused by missing takeoff command
9 years ago
Randy Mackay
793e3da904
Copter: rename variables used for NAV_DELAY command
9 years ago
Niti Rohilla
55f66b7696
Copter: Add support for MAV_CMD_NAV_DELAY
9 years ago
Andrew Tridgell
e4948544e7
Copter: cleanup unnecessarily complex gcs[] usage
9 years ago
dgrat
3bc97ae356
ArduCopter: Do not use is_zero() for non-float types
...
This function makes only sense for floating point types. However this
function was also used for ints.
9 years ago
Ricardo de Almeida Gonzaga
ce241dd97a
ArduCopter: Fix typos
9 years ago