Andrew Tridgell
b235304235
Copter: reduce IMU logging to 25Hz
...
leave more room for IMT logging needed for Replay
9 years ago
Randy Mackay
a5c55c3fbd
Copter: fix get_non_takeoff_throttle
...
The throttle_mid parameter (for historic reason) is interpreted as a value that includes throttle_min. This means we must subtract the throttle_min value from it when converting it to a throttle in the 0 to 1 range.
9 years ago
Randy Mackay
2eb0484142
Copter: rename Loiter states and swap order within select statement
9 years ago
Randy Mackay
1c4db779a1
Copter: Loiter stabilizes roll and pitch while landed
9 years ago
Randy Mackay
9c12b64ba5
Copter: rename AltHold states and swap order within select statement
...
No functional change
9 years ago
Randy Mackay
932cd907d4
Copter: AltHold stabilizes roll and pitch while landed
9 years ago
Randy Mackay
3ead74c4be
Copter: remove zero-throttle check from AltHold takeoff state
...
Hard to imagine a reason why we would want to turn off stabilization during takeoff
9 years ago
Lucas De Marchi
fea084a596
Global: use ap_version.h
...
This header is used by waf to contain the generated version macros,
particularly using the git hash. For waf it's better to be in a separate
header since it then can keep track of changes on it a trigger
recompilation.
For the make build system, a dummy ap_version.h file has been added in
the missing/ folder so both implementations can co-exist.
9 years ago
Lucas De Marchi
352e103f1a
ArduCopter: use separate header for version macro
...
Having the version macro in the config.h and consequently in the main
vehicle header means that whenever the version changes we need to
compiler the whole vehicle again. This would not be so bad if we weren't
also appending the git hash in the version. In this case, whenever we
commit to the repository we would need to recompile everything.
Move to a separate header that is include only by its users. Then
instead of compiling everything we will compile just a few files.
9 years ago
Allan Matthew
d6012c535e
Copter: remove unused dt passed to precland
9 years ago
skyscraper
6bcd9e6f65
Copter::pre_arm_rc_checks: fix logic checking that throttle min and max are configured
9 years ago
Allan Matthew
7960e3bb8f
Copter: pass DISTANCE_SENSOR messages to rangefinders
...
This allows the MAVLink range finder driver to intercept distance measurements
9 years ago
Michael du Breuil
e7974702d4
Copter: Ignore POSITION_TARGET_GLOBAL_INT
9 years ago
Michael Oborne
5848d8a5e6
ArduCopter: support MAVLINK_MSG_ID_MISSION_ITEM_INT
9 years ago
Andrew Tridgell
54d1cc7e50
Copter: only save offsets for Compass::LEARN_EKF
...
this means by default that one flight one affect the next one, which
makes it more robust in case of a bad flight
9 years ago
Michael du Breuil
c97888f524
Copter: Remove support for CONDITION_CHANGE_ALT
9 years ago
Randy Mackay
d455e2a33f
Copter: fix auto-circle comment
9 years ago
Randy Mackay
a6b6fb2473
Copter: fix TERRAIN_FOLLOW parameter description
...
Thanks OXINARF
9 years ago
Randy Mackay
3d31c3b936
Copter: log error if circle does not initialise correctly
9 years ago
Randy Mackay
caf6bbc2e0
Copter: rename set_alt to set_alt_cm in control_rtl
9 years ago
Randy Mackay
fac7b7c566
Copter: rename set_alt to set_alt_cm in control_guided
9 years ago
Randy Mackay
f8f6c135e9
Copter: rename set_alt to set_alt_cm in control_auto
9 years ago
Randy Mackay
d92154a44e
Copter: rename set_alt to set_alt_cm in commands_logic
9 years ago
Randy Mackay
cd97aa97a3
Copter: provide terrain reference to AC_WPNav
9 years ago
Randy Mackay
cac79f297e
Copter: guided can trigger terrain failsafe
9 years ago
Randy Mackay
9100cf605a
Copter: auto can trigger terrain failsafe
9 years ago
Randy Mackay
43d14defd4
Copter: RTL handles terrain data failure
9 years ago
Randy Mackay
47658fe964
Copter: add terrain failsafe
9 years ago
Randy Mackay
8e43be1511
Copter: fixes to allow compiling without terrain support
9 years ago
Randy Mackay
74e02d2c82
Copter: rename TERRAIN_USE to TERRAIN_FOLLOW
...
This matches plane's parameter name
9 years ago
Randy Mackay
13c26eab67
Copter: update current_loc at 400hz
9 years ago
Randy Mackay
f45c69e7ad
Copter: log terrain altitude in CTUN message
9 years ago
Randy Mackay
25c676c3b4
Copter: report terrain capability to GCS
9 years ago
Randy Mackay
ddffbe27aa
Copter: add terrain pre-arm check
9 years ago
Randy Mackay
91f6c7b503
Copter: add TERRAIN_USE parameter
...
Also add terrain.cpp to hold terrain_update and terrain_logging functions
9 years ago
Randy Mackay
267c1c3934
Copter: guided mode handles terrain alt
9 years ago
Randy Mackay
e8b14e59fc
Copter: spline mission commands handle terrain altitudes
9 years ago
Randy Mackay
81d244c9bd
Copter: do-circle accept terrain altitude
9 years ago
Randy Mackay
70630e9774
Copter: auto loiter handles terrain
9 years ago
Randy Mackay
4892446c55
Copter: do-loiter accepts terrain altitudes
9 years ago
Randy Mackay
27517004c0
Copter: slow to land-speed 10m above terrain
9 years ago
Randy Mackay
39dc2d7176
Copter: while landing use land-speed from 10m above home
...
Previously vehicle was switching to land-speed at 10m above the origin
9 years ago
Randy Mackay
ffd86744ce
Copter: do-land accepts terrain
9 years ago
Randy Mackay
352b6ae82a
Copter: RTL supports terrain altitudes
9 years ago
Randy Mackay
06ee6a7bd4
Copter: auto takeoff accepts abs and terrain alts
9 years ago
Randy Mackay
9449776e3c
Copter: straight line waypoints accept terrain
...
auto_wp_start calls AC_WPNav's new set_wp_destination which accepts a
Location class allow altitude to be set as above-terrain or even an
absolute altitude
9 years ago
Randy Mackay
2134e8bfb9
Copter: add terrain and navigation dataflash error codes
9 years ago
Randy Mackay
84fd8da944
Copter: current_loc to Location class
9 years ago
Niti Rohilla
867360c350
ArduCopter : Updated handle_guided_request() to report error.
9 years ago
Tom Pittenger
afb3e94fe6
Revert "Copter: clipped param cmd float to zero"
...
This reverts commit 9b6de75203
.
9 years ago