Peter Barker
901664ce09
Plane: add support for RCn_OPTION (servorelay,camera)
...
Closes #7071
Closes #7666
7 years ago
Michael du Breuil
e4bbcd5ee3
Plane: Don't initilize motors with a trim value
7 years ago
Alexander Malishev
001948d40c
Plane: publish navigation info to OSD
7 years ago
Randy Mackay
903d00c4b2
Plane: remove compass accumulate
7 years ago
Andrew Tridgell
1d675390ab
Plane: make soaring an optional build feature
...
this disables soaring on px4-v2, saving 5k of flash
This is needed to consider pr #9042 , which takes a lot of flash space
7 years ago
Peter Barker
85f339caae
Plane: remove annoying ice_update shim
7 years ago
Peter Barker
e404562544
Plane: remove vexing button_update shim
7 years ago
Peter Barker
4502fd21c3
Plane: use compass singleton for logging
7 years ago
Michael du Breuil
1c276e6af7
Plane: Remove unneeded wrapper functions
...
Also removes unneeded battery failsafe flag clearing
7 years ago
Peter Barker
9824832523
Plane: use AP_RTC
...
Plane: AP_GPS now sets the system time directly
7 years ago
Peter Barker
bc9df01d21
Plane: remove sending of statustext for home location
7 years ago
Peter Barker
22306c370b
Plane: factor out a Plane::set_home
7 years ago
Tom Pittenger
4dca1c48f2
Plane: update vehicle max_speed to ADSB library
7 years ago
Michael du Breuil
b479f3760a
Plane: Remove some unneeded logging indirection
...
Saves 32 bytes on make px4-v2
7 years ago
Peter Barker
eb026e0a5f
Plane: correct compilation when logging is disabled
7 years ago
Peter Barker
68497f27fa
Plane: move try_send_message handling of RC_CHANNELS up
7 years ago
Peter Barker
5ef417a669
Plane: GPS now logs its own data
7 years ago
Peter Barker
2b54113334
Plane: Baro does its own dataflash logging
7 years ago
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