Andrew Tridgell
f18e0dadc9
Copter: added optional AdvancedFailsafe for copter and heli
2016-08-25 14:14:18 +10:00
Grant Morphett
28552d5cc9
Copter: Supports COMMAND_INT in the code so added it to capabilites.
2016-08-25 12:56:32 +10:00
Andrew Tridgell
ea7e62df17
Copter: use a constant string for frsky_telemetry init
2016-08-25 11:00:31 +10:00
floaledm
893614897e
Copter: moved MAV_TYPE to Copter.h
2016-08-25 10:16:20 +10:00
Andrew Tridgell
96de005591
Copter: moved MAV_TYPE define to defines.h
2016-08-25 10:16:20 +10:00
Andrew Tridgell
a14ff8ac77
Copter: fixes for Frsky_Telem API changes
2016-08-25 10:16:20 +10:00
Andrew Tridgell
0bcc9c4cb0
Copter: fix for AP_FrSky_Telem API change
2016-08-25 10:16:19 +10:00
floaledm
baa3357b21
Copter: changed init for SPort passthrough protocol compatibility
2016-08-25 10:16:18 +10:00
floaledm
157db51b9d
Copter: make control_sensor vars available outside of send_extended_status1
2016-08-25 10:16:18 +10:00
floaledm
c0bd21d9f2
Copter: compatibility with revised AP_Frsky_Telem class
2016-08-25 10:16:18 +10:00
floaledm
f73fa1fc80
Copter: removed frsky_telemetry_send scheduled task
2016-08-25 10:16:17 +10:00
murata
97613ef961
Copter: By multiple bit synthetic, can this method once access.
2016-08-24 11:30:23 -03:00
Gustavo Jose de Sousa
b8e518a533
waf: use ap_library tool
...
That way we avoid recompiling source files that don't depend on vehicles.
Change notes:
- UTILITY_SOURCE_EXTS: moved to ap_library
- Task generators indexes: ap_library handles that now and in a better way
- Use of AP_STLIB_FEATURES: it doesn't make sense anymore, since the stlib
taskgen has empty source list
- Flags and defines: passed down to ap_library through AP_LIBRARIES_OBJECTS_KW
- Set use='mavlink' in AP_LIBRARIES_OBJECTS_KW instead of calls to
bld.ap_stlib().
2016-08-24 10:46:23 -03:00
Tom Pittenger
e9d34c07d2
Copter: reduce scheduler max-time for avoid-adsb from 400 to 100
2016-08-17 22:38:54 -07:00
Tom Pittenger
5c1d49b985
Copter: add new avoidance recovery modes
2016-08-17 22:38:54 -07:00
Tom Pittenger
a1bf791529
Copter: do not report collision warning when action is COLLISION_ACTION_NONE:
2016-08-17 22:38:54 -07:00
Tom Pittenger
06b64000e1
Copter: move mavlink msg handling into library
2016-08-16 16:33:36 -07:00
Tom Pittenger
d04a5d58fd
Copter: decode correct ADSB packet
2016-08-16 16:33:36 -07:00
Peter Barker
f67d247a46
Copter: factor pre-arm checks, continue testing after a failure
...
The functional change here is that we continue to run later checks
when a check fails.
The user-visible effect of that is that your GCS will tell you about
all pre-arm failures, not just the first.
This makes things work a little more like Plane, in preparation for
using AP_Arming.
2016-08-16 11:37:18 -03:00
murata
ec4c17e630
Copter: Delete a comparison that does not become a true forever.
2016-08-16 21:04:25 +09:00
Andrew Tridgell
06154fc4ab
Copter: use rangefinder to prevent auto-disarm in the air
...
only consider the vehicle to be landed if either no rangefinder or
rangefinder shows an altitude below 2m
2016-08-16 15:14:10 +10:00
Andrew Tridgell
e4564de837
Copter: fixed heli criterion for unsetting land_complete
...
in order to honor H_LAND_COL_MIN we need to check if we have reached
the throttle lower limit
2016-08-16 11:30:37 +10:00
Andrew Tridgell
a67b9372fd
Copter: check that climb rate is low in landing detector
...
this fixes an issue where a vehicle may still be descending rapidly
and trigger the landing detector. See the log for Robs heli.
2016-08-16 11:29:15 +10:00
Andrew Tridgell
3041a75798
Copter: limit attitude on landing using WP_NAVALT_MIN
2016-08-16 11:26:56 +10:00
Andrew Tridgell
89c10a2db9
Copter: rename WP_TKOFF_NAV_ALT to WP_NAVALT_MIN
...
this is in preparation for using the same parameter for landing as
well
2016-08-16 11:26:56 +10:00
Tom Pittenger
dbdd86ad46
Copter: set SYS_STATUS and HB_Flag Guided bits when in AVOID_ADSB
2016-08-12 14:46:44 -07:00
Tom Pittenger
4cd66d54d1
Copter: fixed adsb pre-arm error text. "Arm" and "PreArm" were swapped
2016-08-12 12:56:44 -07:00
Jonathan Challinger
0051ecb288
Copter: fix LAND_SPEED_HIGH
2016-08-11 19:17:17 -07:00
Peter Barker
4371223738
Copter: add dataflash as a bit for the mavlink SYS_STATUS message
2016-08-11 17:48:44 -03:00
Andrew Tridgell
ba7d0d6cd8
Copter: changed startup order
...
this allows BoardConfig to report errors in a way that allows for
BRD_TYPE to be changed by the user
2016-08-10 19:54:01 +10:00
murata
4eee3b1317
Copter: fix underflow in scheduler
...
If fast_loop method executed time is over MAIN_LOOP_MICROS,
scheduler.run method set value is 0.
2016-08-09 22:54:27 -03:00
Randy Mackay
0ed5665193
Copter: change parameter order of guided_set_angle
...
I thought it might be slightly better to put the optional parameters at the end
No functional change
2016-08-10 10:03:54 +09:00
Allan Matthew
6dd4e1a2aa
Copter: accept yaw rate commands in Guided atttude controller
2016-08-10 10:03:37 +09:00
Randy Mackay
9842840346
Copter: GND_EFFECT_COMP parameter to enable ground effect compensation
2016-08-09 13:31:36 +09:00
Peter Barker
68630a86fe
Copter: fix logging after log download
...
Downloading a log causes DataFlash to stop logging.
Restart logging when we are not downloading and start_logging is called.
2016-08-09 09:06:14 +09:00
Randy Mackay
728e8f8f56
Copter: land_state uses enum
...
This resolves a Covarity warning related to initialisation (that was not really a problem) but it is better form anyway
2016-08-08 13:31:29 +09:00
Randy Mackay
575795fa84
Copter: CTUN logging checks return value of height_above_terrain
...
This resolves a Covarity warning but it was actually safe before
No functional change
2016-08-08 13:31:27 +09:00
Randy Mackay
542677f1d5
Copter: land vertical control uses current_loc.alt instead of get_alt_cm
...
This resolves a warning from Covarity that we were not checking the return
value of Location_Class::get_alt_cm. It was not actually a problem.
No functional change
2016-08-08 13:30:53 +09:00
Randy Mackay
3be76743bf
Copter: precland checks get_alt_cm return value
...
This makes it easier for Covarity to recognise that we don't have an error by checking the return value of get_alt_cm
No functional change
2016-08-08 13:30:19 +09:00
Randy Mackay
83c3659acc
Copter: report version print fix
...
Found by Covarity
2016-08-08 12:15:14 +09:00
Randy Mackay
f4fee69f29
Copter: add div-by-zero check to get_pilot_desired_throttle
...
This divide by zero is only possible if there was a coding error in the setup of the throttle channel but added to make Covarity happy
2016-08-08 12:14:02 +09:00
Randy Mackay
8bb536b366
Copter: 3.4-rc2 release notes
2016-08-08 11:24:43 +09:00
Leonard Hall
3349e24492
Copter: fix autotune unit conversions for step sizes
2016-08-08 11:24:42 +09:00
Randy Mackay
5255f55cc3
Copter: add comments to RTL's compute return target
2016-08-06 14:01:39 +09:00
Randy Mackay
68d3655195
Copter: fix rtl's use of rally point alt
...
Thanks to OXINARF for spotting this
2016-08-06 14:01:38 +09:00
Randy Mackay
57977e2d76
Copter: ensure RTL to rally point does not breach the altitude fence
...
Previously we added the rally-point altitude to the calculated return altitude on the final line of this function meaning the fence's altitude check was not performed on the final value. This change adds the rally-point altitude as the first step so it is included before the fence altitude check.
This change also converts the return alt to an alt-above-home so that it can correctly be compared to the fence (previously a terrain-altitude might have been compared to an alt-above home)
2016-08-06 14:01:31 +09:00
Francisco Ferreira
43ad1f372d
Copter: change function from computing return altitude to computing return target
...
Also fix altitude for rally points
2016-08-06 13:50:53 +09:00
Francisco Ferreira
e732cda577
Copter: when calculating RTL return alt use rtl_path directly
...
At the same time, fix bug: check return point for terrain and not origin twice
2016-08-06 13:50:50 +09:00
Randy Mackay
5b5385715e
Copter: manual modes set_land_complete to false
2016-08-05 13:36:39 +09:00
Randy Mackay
c3d71f733c
Copter: remove get_takeoff_trigger_throttle
...
get_pilot_desired_climbrate can be used instead.
2016-08-05 12:40:37 +09:00