Andrew Tridgell
90bb97a144
Plane: added last_flying_ms to auto_state
...
used to find out how long it is since we were last flying
10 years ago
Andrew Tridgell
dd1059cecf
Plane: added arm_motors() and disarm_motors() helper functions
10 years ago
Andrew Tridgell
fb8b96ba0d
Plane: make is_flying() a bit more accurate in landing approach
...
prevent false negatives using the sink rate
10 years ago
Andrew Tridgell
1c1798fb11
Plane: support much smoother flare transitions
...
provide the height above the ground to TECS so it can make a smarter
pre-flare transition
10 years ago
Andrew Tridgell
b0cdf8952b
Plane: added HIL_MODE parameter
...
this allows for HIL with any firmware
10 years ago
Víctor Mayoral Vilches
4ae3bf5399
Plane: Update compass to the new interface
10 years ago
Andrew Tridgell
a942ebbb70
Plane: removed unnecessary prototype
10 years ago
Andrew Tridgell
dc9e2a54f3
Plane: fixed use of HAL soft_armed
10 years ago
Tom Pittenger
659904bf65
Plane: sped up is_flying filter since it is running at only 1Hz
10 years ago
Tom Pittenger
8f7bb61a54
Plane: changed arm check method to use new is_flying code
10 years ago
Tom Pittenger
58b0702793
Plane: isFlying redesign
...
The is_flying() function is too simplistic to be used as a generic
status. Added a sticky heuristic method that depends on the arm
state. More thought should go into the boolean result of isFlying but
this is at least safer than the original method.
10 years ago
Andrew Tridgell
999710d0e1
Plane: fixed issue where auto is entered before GPS lock
...
thanks to Tom Pittenger for noticing this!
10 years ago
Andrew Tridgell
5afe3fb958
Plane: mark 3.3.0beta1
10 years ago
Andrew Tridgell
422d0f05bd
Plane: provide terrain height to rangefinder
...
used for power saving
10 years ago
Andrew Tridgell
76f8b9b07c
Plane: support DO_SET_HOME MAVLink command
10 years ago
Jonathan Challinger
4105edaa87
Plane: use hal.util soft_armed state
10 years ago
Andrew Tridgell
4d6a7996f7
Plane: the next release will be 3.3.0
...
quite a few large changes pending
10 years ago
Andrew Tridgell
33225c2955
Plane: mark master as 3.2.2alpha1
10 years ago
Randy Mackay
3a1465c9d1
Plane: integrate SerialManager
...
call SerialManager init_console on startup
use SerialManager's set_block_writes_all
10 years ago
Randy Mackay
681d28838f
Plane: 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 is now handled by mount lib
10 years ago
Andrew Tridgell
5d8cec23db
Plane: update version to 3.2.1beta1
10 years ago
Robert Lefebvre
395c868727
Plane: Change Compass logging to new DataFlash method that handles instances.
10 years ago
Andrew Tridgell
059c3769f3
Plane: cope with the changed semantics if airspeed.use()
10 years ago
Dario Lindo Andres
0ea7a7a0cc
Plane: Corrected LOGGING_ENABLED
...
When we configure LOGGING_ENABLED to DISABLED code does not
compile. Now it works!
10 years ago
Andrew Tridgell
b8bfa755a9
Plane: raise alpha version
10 years ago
Andrew Tridgell
035b1302ed
Plane: updates for new AP_Baro API
10 years ago
Staroselskii Georgii
dc410a4b42
Plane: added AK8963 support
10 years ago
Andrew Tridgell
8708297341
Plane: update for new OptFlow API
10 years ago
Andrew Tridgell
ae96a48efc
Plane: use location_path_proportion()
...
this should produce better glide slopes when the aircraft is off
course
10 years ago
Randy Mackay
11def53ca7
Plane: pre_arm_gps_check flag always true
10 years ago
Andrew Tridgell
0599f1dcb1
Plane: changed version number to 3.2.1alpha1
10 years ago
priseborough
f23722ecee
Plane: Remove statement about flow driver rate in comment
10 years ago
priseborough
ca53d5fb62
Plane: Increase rate at which optical flow sensor is checked
...
The sensor driver runs asynchronously at 10Hz, so needs to be checked frequently for arrival of data.
10 years ago
priseborough
2db9247117
Plane : Add logging and EKF read for updated flow sensor interface
10 years ago
priseborough
f047e35167
Plane : Enable optical flow by default if sensor is fitted
10 years ago
priseborough
9707989b9f
Plane : Preliminary optical flow integration
10 years ago
Andrew Tridgell
d1fb137651
Plane: mark development version 3.2.1alpha
10 years ago
Andrew Tridgell
b88e6b6302
Plane: prepare for 3.2.0 release
10 years ago
Andrew Tridgell
826ae8ee8b
Plane: prepare for 3.1.2beta3
10 years ago
Andrew Tridgell
0672d1fc3c
Plane: mark beta2
10 years ago
Evan Slatyer
c4093b159f
ArduPlane failsafes: remove rc_override_active
...
- rc_override_active is never set anywhere in the ArduPlane code; it's only used for Copter and Rover. Removing it significantly simplifies the failsafe code.
- modified code has been tested in SITL. Heartbeat and RC failures in AUTO, CRUISE, and RTL modes (covering the three cases in the failsafe check functions) have been simulated with FS_LONG_ACTN = 0, 1, and 2, FS_SHORT_ACTN = 0, 1, and 2, and FS_GCS_ENABL = 0, 1, and 2. In all cases the results are identical to those with the original code.
10 years ago
Andrew Tridgell
c8060cb9f7
Plane: use load factor to limit nav_roll_cd
...
this calculates the aerodymanic load factor from smoothed airspeed and
uses it to limit roll to keep it below the level where the load factor
would take us past the aerodymanic limit of the airframe
10 years ago
Andrew Tridgell
44ee1fcd3c
Plane: prevent large G_Dt_max report on startup
10 years ago
Andrew Tridgell
16fd113020
RC_Channel: added channel_function()
...
this is used in the plane mixing code
10 years ago
Andrew Tridgell
913004beb0
Plane: added OVERRIDE_CHAN parameter
...
this allows both for testing PX4IO override on the ground, and for
forced manual override while flying, including re-arming after in-air
reboot
10 years ago
Andrew Tridgell
ad58822cb5
Plane: removed impossible boolean check
10 years ago
Andrew Tridgell
959cd11cb1
Plane: save a byte in auto_state
...
keep single bits together to save space on APM2
10 years ago
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
10 years ago
Michael Day
c1b949a74f
Plane: Bugfix. Changing to landing sequence now works at mission end.
10 years ago
Andrew Tridgell
240e87dc2c
Plane: update for new AP_InertialSensor API
10 years ago