Michael du Breuil
3e4288d604
Plane: Use RC_Channels instead of hal.rcin
7 years ago
Michael du Breuil
7405bb7b85
Plane: Support new battery failsafes
7 years ago
Peter Barker
7fd859da65
Plane: move home state into AP_AHRS
7 years ago
Peter Barker
7c86c4fe61
Plane: use ins singleton
7 years ago
night-ghost
98b8a61ca8
Plane: allow AP_Stats to be optional
7 years ago
David Ingraham
a6aeebad4b
Plane: Add support for AP_Gripper
7 years ago
Andrew Tridgell
e6cebdecd1
Plane: use scheduler.get_last_loop_time_s()
7 years ago
Peter Barker
3859e5dfb1
Plane: eliminate update_perf_logging scheduler table shim
7 years ago
Andrew Tridgell
36660b2124
Plane: use filtered loop time
7 years ago
Peter Barker
4586b892f2
Plane: pass log-performance-bit at init time rather than update time
7 years ago
Peter Barker
8cae776448
Plane: move logging of PM and PERF messages to AP_Scheduler
7 years ago
Peter Barker
02540fdbf9
Plane: use AP_Scheduler's loop() function
7 years ago
Peter Barker
73092c3c30
Plane: use scheduler ticks in place of mainloop_count
7 years ago
Peter Barker
519e6c31d2
Plane: use AP::PerfInfo library
7 years ago
Andrew Tridgell
2fb6113098
Plane: use AP:PerfInfo class
7 years ago
Andrew Tridgell
d1e11a5bde
Plane: fixed build (remove learn_offsets call)
7 years ago
Tom Pittenger
512b327cd4
Plane: failsafe events to use enums instead of magical numbers : Non-functional change
7 years ago
Andrew Tridgell
2a81792b41
Plane: don't disable compass on one bad reading
...
the compass can go back for a short time and recover
found by Michael
7 years ago
Michael du Breuil
9720fcb8cc
Plane: Only update home when not armed, rather then not soft armed
...
Plane supports being armed, in takeoff logic and not spinning the motor
until the moment the safety button has been pressed. Unfortunately
because the safety button is required to be pressed for soft arming this
results in the plane updating home position while the user moves the
vehicle or is holding it to throw the vehicle which will can result in
several meters of altitude error from where the user expected home to
be.
Because the normal approach to plane is to have activated the safety
button before arming the aircraft this is not expected to be a behaviour
change for most users, but an improvement for people who use the button
to initiate a takeoff.
7 years ago
Michael du Breuil
767018b1d4
Plane: Support unlocking cruise heading with rudder
7 years ago
Tom Pittenger
8029a7f10e
Plane: add Tom Pittenger to developers list
...
Plane: add Tom Pittenger to developers list. He was added to main Plane.h as "Lead Developer" here *https://github.com/ArduPilot/ardupilot/blob/master/ArduPlane/Plane.h#L2 ) but never to the main ArduPilot.c file.
7 years ago
Andrew Tridgell
9c8cd6c1cc
Plane: added Q_TRANS_DECEL
...
this gives a deceleration rate for QRTL transition from RTL, and also
for transitions to QLOITER
7 years ago
Michael du Breuil
d52f5155f0
Plane: Rename rc failsafe state members
7 years ago
Andrew Tridgell
1085069851
Plane: use WP_LOITER_RAD if RTL_RADIUS is 0 for QRTL
7 years ago
Andrew Tridgell
aa430a6e2c
Plane: use RTL_RADIUS for QRTL threshold
...
when Q_RTL_MODE=1 in a quadplane use RTL_RADIUS as the distance to
switch to QRTL mode. We navigate to the destination using direct
waypoint navigation instead of using a loiter circle.
7 years ago
Peter Barker
d49be616da
Plane: call ins's periodic function
7 years ago
Tom Pittenger
8adacfeea3
Plane: always log MODE and include reason when logging is enabled
7 years ago
Lucas De Marchi
44ffb67837
ArduPlane: use FALLTHROUGH define
...
When falling through on a case switch, allow to add an empty statement
with the correct attribute to tell the compiler this behavior is
intended.
8 years ago
Peter Barker
1a665280e9
Plane: remove CLI
8 years ago
Peter Barker
2fb46a67dd
Plane: camera is responsible for taking distance-based-images and logging
8 years ago
Michael du Breuil
f87a69dcf2
Plane: Throttle based landing aborts should ask the landing library
...
Throttle based aborts should be requesting a go around from AP_Landing.
This was missed in the initial port.
8 years ago
Peter Barker
c058fba5ac
Plane: eliminate GCS_MAVLINK::send_statustext_all
8 years ago
Peter Barker
3b0a7703c4
Plane: eliminate gcs_send_message wrapper
8 years ago
Peter Barker
5a8f01c19c
Plane: use send_text method on the GCS singleton
8 years ago
Peter Barker
949e07c7e3
Plane: use DataFlash should_log to determine raw IMU logging
8 years ago
Mark Whitehorn
6607dafc66
ArduPlane: change is_tailsitter() to tailsitter_active()
8 years ago
Mark Whitehorn
53b82d1d4d
ArduPlane: add comments on tailsitter pitch limits
8 years ago
Mark Whitehorn
65755454e0
ArduPlane: set tailsitter VTOL pitch limits using only Q_ANGLE_MAX
8 years ago
Michael du Breuil
92d505598b
ArduPlane: Poll AP_Landing for fly forward information
8 years ago
Peter Barker
378015691b
Plane: stop appending lf to PERF message
8 years ago
Andrew Tridgell
351304ebcb
Plane: don't set fly-forward when transitioning
...
when quad motors are providing assistance don't see the fly-forward
flag in the AHRS. This will lower the chance of EKF yaw confusion
8 years ago
Andrew Tridgell
954905e0eb
Plane: allow battery failsafe with usb connected
...
some people connect USB to allow connections from a companion
computer. The arming check is sufficient to prevent unwanted battery
failsafes when bench testing
8 years ago
Andrew Tridgell
516bf26719
Plane: fixed QRTL change when coming from loiter
...
the nav controller can think we have already reached the loiter target
if we were last in a LOITER when we switch to RTL. In that case it
would switch to QRTL immediately
found by Leonard (thanks!)
8 years ago
Eugene Shamaev
ca84ab36be
Plane: AOA and SSA estimations are added to parameters and data logs
8 years ago
Andrew Tridgell
17ba8b3304
Plane: raise logging rate for PID and servos
8 years ago
Andrey Kolobov
35d406aeab
Plane: added a soaring controller to Arduplane
8 years ago
Michael du Breuil
1bb806edb2
Plane: Use new landing interfaces
8 years ago
Andrew Tridgell
3bb25eb194
Plane: added Q_TAILSIT_INPUT
...
this allows the user to control tailsitters either in body frame (like
a plane) or in earth frame (like a multicopter). This is useful for
people wanting to learn to fly prop-hang on 3D planes
8 years ago
Andrew Tridgell
c787f4c56f
Plane: initial support for tailsitter transitions
8 years ago
Michael du Breuil
29b16dbafd
Plane: Refactor to request relative altitudes from AHRS
...
Removes the need for plane to do the math for finding the relative height.
Also caches the value at the same time we update current_loc, which is a
non behaviour change as that was the only time you could see a change in
the relative height propegate through the system anyways
8 years ago