Andrew Tridgell
2ae412d513
Plane: only reset mission on disarm if not in AUTO mode
...
disarming while in a mission should leave the plane still flying the
mission, but with motor stopped. The user may do this during a landing
for example, but we want to keep gliding
10 years ago
Andrew Tridgell
2b0ccae776
Plane: fixed build warning
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
Dario Lindo Andres
7f5243026d
Plane: Cleanup code to remove 1280 ifdefs
...
Due to the imposibility to fit actual code on Legacies 1280 chips, some
cleanup is needed.
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
ca431a47a6
Plane: use all_healthy() for SYS_STATUS health
10 years ago
Andrew Tridgell
a2242305c7
Plane: use common send_opticalflow()
10 years ago
Andrew Tridgell
28f58df310
Plane: send HAGL in OPTICAL_FLOW
10 years ago
Andrew Tridgell
80d1bd230e
Plane: report bad AHRS health if uncalibrated accels with EKF
...
fixes issue #1720
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
5cdb8a4c2a
Plane: use battery.has_current
10 years ago
Andrew Tridgell
12f0c49915
Plane: remove fwd of unknown msg types
10 years ago
Andrew Tridgell
507117bd8f
Plane: removed use of mavlink_check_target()
10 years ago
Randy Mackay
f4fc910fea
Plane: send OPTICAL_FLOW msg to GCS
10 years ago
Randy Mackay
2b9bf69c9e
Plane: send optflow health in extended status
10 years ago
Andrew Tridgell
c05a0bc67f
Plane: prevent a change altitude command from causing a sudden descent
...
when a change altitude command comes in while a large glide slope
altitude change is present we could end up using the old glide slope
with the new altitude. This resets the altitude offset, causing a
direct altitude change
10 years ago
Andrew Tridgell
b4e01b7936
Plane: if SKIP_GYRO_CAL is set the do a gyro cal on 3D accel cal
...
otherwise the user has no opportunity to do a gyro calibration
10 years ago
Andrew Tridgell
c33f54378f
Plane: changed preflight calibration to prevent accel cal from MP
...
MissionPlanner sends param1=1 and param3=1 for preflight
calibration. This was having the effect of redoing the accel
calibration as 1D cal on every flight!
10 years ago
Randy Mackay
c74aff56c1
Plane: move MOUNT_STATUS lower in GCS_MAVLink
10 years ago
Arthur Benemann
9ae443f2a2
Plane: append MOUNT_STATUS message to STREAM_EXTRA3 messages
10 years ago
Andrew Tridgell
8bcbce16ed
GCS_MAVLink: show rangefinder status in SYS_STATUS
10 years ago
Andrew Tridgell
7f5cc97769
Plane: changed for new AP_Airspeed API
10 years ago
Arthur Benemann
5e2d7b1eaa
Plane: Implement MSG_CAMERA_FEEDBACK on planes
10 years ago
Arthur Benemann
92ead67d99
Copter: remove call to camera.configure and control
...
The do_take_picture() function must be called for logging to occur.
configure_msg is empty at the moment so the call to this is remove
10 years ago
Andrew Tridgell
e4f7a7f6d2
Plane: removed incomplete DF log of go-around
...
the right commands should already be logged. This code would have
logged a lot of uninitialised bytes
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
9f32bf93d1
Plane: switch to AUTO on a DO_LAND_START MAVLink command
10 years ago
Michael Day
fe43ae538f
Plane: Added support for MAV_CMD_DO_LAND_START
10 years ago
Randy Mackay
6d8e760582
Plane: report gyro unhealthy if failed calibration
10 years ago
Randy Mackay
b17c6d3368
Plane: only report ahrs unhealthy after initialisation
11 years ago
Andrew Tridgell
c4b17b74e2
Plane: use handle_set_mode()
11 years ago
Randy Mackay
82225de6fa
Plane: allow GCS to turn safety switch on/off
11 years ago
Randy Mackay
7a6b55368e
Plane: set sys_status motor outputs bit from safety switch
11 years ago
Randy Mackay
6d3acba04c
Plane: check target of set-mode request from GCS
...
Issue discovered and fix contributed by Deadolous
11 years ago
Andrew Tridgell
4b01cee330
Plane: send heartbeat to AFS when calibrating sensors
11 years ago
Randy Mackay
c2cdc0468b
Plane: individual accel and gyro status to GCS
11 years ago
Andrew Tridgell
b6319a9d19
Plane: keep an estimate of the rangefinder altitude
...
only accept data when we have had 10 samples in a row in range at 50Hz
11 years ago
Randy Mackay
c107f1da69
Revert "Plane: use rcmap when sending radio_in to GCS"
...
This reverts commit 441f23eed4
.
11 years ago
Randy Mackay
441f23eed4
Plane: use rcmap when sending radio_in to GCS
11 years ago
Randy Mackay
7d7272520e
Plane: use baro healthy()
...
Use baro last update time in place of healthy to determine whether HIL
sensor updates have started
11 years ago
Randy Mackay
b619c3956c
Plane: report baro health to GCS
11 years ago
Andrew Tridgell
ce9b14f0c8
Plane: convert to using StorageManager
11 years ago
Andrew Tridgell
817164914e
Plane: added airspeed simulation in HIL
11 years ago
Andrew Tridgell
0d7d6e1d2a
Plane: zero loc structure in HIL_STATE handling
...
this avoids av AVR bug in HIL
11 years ago
Andrew Tridgell
74fc7fbea5
Plane: added 2nd battery monitoring support
11 years ago
Przemek Lekston
75f9b8853d
GCS_Mavlink.pde: Fix for a possible segfault after passing ARSPD_FBW_MIN
11 years ago
Andrew Tridgell
d54bb68270
Plane: prevent cross-track on some WP types
...
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
11 years ago
Andrew Tridgell
b64ab07ca4
Plane: added STAB_PITCH_DN_CD parameter
...
this adds some down trim when at throttle levels below the trim
throttle in FBWA mode.
defaults to 200 centi-degrees. I may adjust based on flight tests
11 years ago
Andrew Tridgell
fe3c51d516
Plane: prevent integer underflow with comm_get_txspace()
11 years ago