Andrew Tridgell
7f5cc97769
Plane: changed for new AP_Airspeed API
2014-11-13 21:12:59 +11:00
Andrew Tridgell
fa5bab2682
Plane: log raw pressure and offset
2014-11-13 17:49:14 +11:00
Andrew Tridgell
3813bcb7ce
Plane: small improvement to takeoff docs
2014-11-13 14:24:37 +11:00
Andrew Tridgell
135f9b2c54
Plane: added STALL_PREVENTION option
...
this will allow users to disable it if it proves to be a problem with
no airspeed sensor
2014-11-13 14:06:00 +11:00
Andrew Tridgell
58fd72944d
Plane: honor TKOFF_THR_MAX in set_servos()
...
fixes issue #1555
2014-11-13 11:35:28 +11:00
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
2014-11-12 13:36:02 +11:00
Andrew Tridgell
ba312856ea
Plane: provide a temperature to baro from the airspeed sensor
2014-11-12 13:36:02 +11:00
Arthur Benemann
5e2d7b1eaa
Plane: Implement MSG_CAMERA_FEEDBACK on planes
2014-11-11 10:31:58 -08:00
Arthur Benemann
fe9e68f88c
Plane: send feedback to the GCS of pictures taken
2014-11-11 10:31:54 -08:00
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
2014-11-11 10:31:52 -08:00
Andrew Tridgell
8ee677cfce
Plane: fixed CLI build again
...
thanks to John Williams for pointing it out
2014-11-11 21:54:25 +11:00
Andrew Tridgell
44ee1fcd3c
Plane: prevent large G_Dt_max report on startup
2014-11-10 07:09:31 +11:00
Andrew Tridgell
19c727c6c2
Plane: change default autotune level to 6
2014-11-08 18:42:35 +11:00
Andrew Tridgell
02d45468d6
Plane: update OVERRIDE_CHAN docs
2014-11-08 18:38:56 +11:00
Andrew Tridgell
34659478c2
Plane: fixed potential division by zero in mixing creation
...
also setup failsafe values if already armed, so while loading new
mixer the throttle output doesn't go to zero
2014-11-08 15:40:35 +11:00
Andrew Tridgell
1e6511b010
Plane: fixed number of channels we pass to PWM limits
2014-11-08 15:40:35 +11:00
Andrew Tridgell
0a318d3a68
Plane: move delay callback setup to after compass and airspeed config
...
this ensure parameters sent on startup include compass settings and
airspeed offset
2014-11-08 15:40:35 +11:00
Andrew Tridgell
7356503e90
Plane: set the PX4IO OVERRIDE_IMMEDIATE flag
2014-11-07 11:30:30 +11:00
Andrew Tridgell
0d2d63980d
Plane: limit RC config to 8 channels
...
this is a limitation of current px4io.c
2014-11-07 10:39:07 +11:00
Andrew Tridgell
63561e53fb
Plane: handle trims and reversals in px4 mixer creation
2014-11-07 10:39:07 +11:00
Andrew Tridgell
e30838a4ef
Plane: make OVERRIDE_CHAN behaviour exactly match FLTMODE6
...
this provides a convenient "real manual" flight mode
2014-11-07 10:39:07 +11:00
Andrew Tridgell
bfb2a7eb93
Plane: improved FLAPIN_CHANNEL docs
2014-11-07 10:39:07 +11:00
Andrew Tridgell
16fd113020
RC_Channel: added channel_function()
...
this is used in the plane mixing code
2014-11-07 10:39:07 +11:00
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
2014-11-07 10:39:07 +11:00
Andrew Tridgell
c494057c98
Plane: add support for generating a PX4 mixer for failsafe
...
this creates APM/MIXER.MIX which will be used if the FMU dies to
provide manual control over RC
2014-11-07 10:39:07 +11:00
Andrew Tridgell
96a87b6990
Plane: added DF logging of 2nd battery voltage
2014-10-30 21:17:17 +11:00
Andrew Tridgell
538cf68005
Plane: removed unused function
2014-10-30 18:23:29 +11:00
Andrew Tridgell
ddd27f5acb
Plane: increase mav throttle slew rate in generated param docs
2014-10-25 10:06:29 +11:00
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
2014-10-24 22:09:41 +11:00
Andrew Tridgell
c046273be2
Plane: fixed verify_land() comment for go-around
2014-10-24 22:04:59 +11:00
Andrew Tridgell
1f3e285ed0
Plane: reset commanded_go_around at start of land
...
this allows multiple landing attempts
2014-10-24 22:04:30 +11:00
Andrew Tridgell
ad58822cb5
Plane: removed impossible boolean check
2014-10-24 22:04:05 +11:00
Andrew Tridgell
959cd11cb1
Plane: save a byte in auto_state
...
keep single bits together to save space on APM2
2014-10-24 22:03:34 +11:00
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
2014-10-24 21:51:46 +11:00
Andrew Tridgell
e434850f1f
Plane: move set_mode() after mission.set_current_cmd()
...
if set_current_cmd() fails, we don't want to change to AUTO with some
unknown mission item
2014-10-24 21:51:27 +11:00
Andrew Tridgell
02b80db67c
Plane: minor code style change
...
use comment and function style consistent with rest of code
2014-10-24 21:50:18 +11:00
Michael Day
c1b949a74f
Plane: Bugfix. Changing to landing sequence now works at mission end.
2014-10-24 21:42:06 +11:00
Andrew Tridgell
240e87dc2c
Plane: update for new AP_InertialSensor API
2014-10-24 12:10:38 +11:00
Andrew Tridgell
05c325a12a
Plane: display min as well as max loop delta_t
2014-10-22 18:27:12 +11:00
Andrew Tridgell
2fc69c7c4c
Plane: disable CLI by default
...
it really isn't needed any more, and saves 20k of flash on APM2
2014-10-22 18:27:08 +11:00
Andrew Tridgell
f87da51b37
Plane: prevent calling jump_to_landing_sequence() too often
2014-10-20 08:36:20 +11:00
Andrew Tridgell
8d329f6b5a
Plane: ignore DO_LAND_START in missions
2014-10-20 08:36:20 +11:00
Andrew Tridgell
1f0840ddf8
Plane: improved RTL_AUTOLAND docs
2014-10-20 08:36:20 +11:00
Andrew Tridgell
9f32bf93d1
Plane: switch to AUTO on a DO_LAND_START MAVLink command
2014-10-20 08:36:20 +11:00
Andrew Tridgell
7ecc87a787
Plane: improved check for reaching RTL point for auto-land
2014-10-20 08:36:20 +11:00
Michael Day
be17bfd972
Plane: Added parameter RTL_AUTOLAND and implementation.
2014-10-20 08:36:20 +11:00
Michael Day
fe43ae538f
Plane: Added support for MAV_CMD_DO_LAND_START
2014-10-20 08:36:19 +11:00
Andrew Tridgell
4c984d9331
Plane: start preparing for 3.1.2
2014-10-13 10:25:53 +11:00
Randy Mackay
6d8e760582
Plane: report gyro unhealthy if failed calibration
2014-10-09 10:00:17 +09:00
Andrew Tridgell
71d786187e
Plane: make auto takeoff independent of compass
...
this solves a problem of poor initial yaw due to poor compass offsets
causing a takeoff to not be in the direction the plane is pointing. A
summed gyro is used until the GPS speed is above 5m/s for 2 seconds,
then the GPS heading corrected by the summed gyro error is used for L1
based navigation for the rest of the takeoff
2014-10-07 07:17:46 +11:00