Andrew Tridgell
d8b0d17fe4
Plane: added weathervaning to landing reposition
9 years ago
Andrew Tridgell
f34af03891
Plane: added Q_WVANE_GAIN
...
this controls weathervaning in VTOL modes. Defaults to off
9 years ago
Andrew Tridgell
e9e43dc016
Plane: added Q_VFWD_GAIN for forward motor in VTOL modes
...
this allows for velocity control using the forward motor in VTOL modes
9 years ago
Lucas De Marchi
0095f6168e
ArduPlane: fix handling of SET_HOME_POSITION
...
Location.altitude is stored in cm.
9 years ago
Michael du Breuil
c17ea21a97
Plane: Add support for DO_REPOSITION via COMMAND_INT
...
also allows guided to change loiter directions
9 years ago
Andrew Tridgell
62574b35b5
Plane: fixed negative loiter radius values
9 years ago
Andrew Tridgell
edd15f15c0
Plane: added some fixed wing in-flight transmitter tuning
9 years ago
Andrew Tridgell
27fb35253c
Plane: added in-flight transmitter tuning
9 years ago
Tom Pittenger
436062ef37
Plane: improved crash detection
...
- fixes bug where a bungee launch is configured but the aircraft gets bumped and triggers the prop to spin up. This will now detect that and "crash' and disable the motor
9 years ago
Grant Morphett
2887e48178
Plane: Fixed bug with landing flare for high values of LAND_FLARE_SEC
...
I had an issue in SITL where my plane would round the last WP staring
its landing approach and immediately limit the roll to 5degress even
before the plane had finished turning the corner so it would go WAY
off course. For a high value of LAND_FLARE_SEC (mine was 5) the math
works out the plane has landed if
height <= sink_rate * land_flare_sec
During the banking of the last corner the plane started to decend and
quickly set itself up for a 6.1m/s sink rate which is normal. It was
at 30 meters altitude. As you can see at this point the math thinks
the plane has landed so limits the roll. The solution was to ensure
the plane had covered at least 50% of the distance toward the final
waypoint before allowing a flare to happen. Note that LAND_FLARE_SEC
above 2 is considered very high and this normally wouldn't occur.
9 years ago
Andrew Tridgell
154fe15c67
Plane: fixed build warning
9 years ago
Tom Pittenger
ff57884eca
Plane: renamed variable, non-functional change
9 years ago
Andrew Tridgell
3a242ee4a9
Plane: support up to 16 output channels
...
the extra channels can be used via SBUS output
9 years ago
Michael du Breuil
78442b7e81
Plane: make the initialization of the gcs instances follow the define
9 years ago
Andrew Tridgell
06bcf0df4b
Plane: change default loop rate for quadplanes to 300Hz
9 years ago
Andrew Tridgell
1fe9582ac3
Plane: back to velocity controller for quadplane landing
...
now with much smoother attitude control thanks to some help from
Leonard
9 years ago
Andrew Tridgell
4a5c4a5189
Plane: not in vtol mode when quadplane not enabled
...
prevents logging error in auto if quadplane not enabled and running a
VTOL mission command
9 years ago
Ricardo de Almeida Gonzaga
5bd034a5a8
Global: start using cmath instead of math.h
9 years ago
Andrew Tridgell
97a7192f76
Plane: make it more obvious that AUTO_FBW_STEER is not for normal use
9 years ago
Andrew Tridgell
5f1ad68bd9
Plane: improved velocity controller for quadplane landing
9 years ago
Andrew Tridgell
8b30569ad1
Plane: setup quadplane earlier in startup
...
this ensures the GCS gets the full parameter list as the param count
will be set before mavlink starts
9 years ago
Andrew Tridgell
5cc4b20c73
Plane: smooth out final descent for landing
9 years ago
Andrew Tridgell
197cefaaa7
Plane: prevent large nose-down on start of velocity controller
9 years ago
Andrew Tridgell
ae51e51c6a
Plane: use velocity controller for initial quadplane landing
9 years ago
Andrew Tridgell
b1266603a6
Plane: setup immediate pitch limit on quadplane takeoff
...
this prevents a single loop with large pitch down demand
9 years ago
Andrew Tridgell
913cf9dd37
Plane: set min quad throttle to 10%
...
fixes spin when armed
9 years ago
Andrew Tridgell
7f85c14c96
Plane: fixed landing detector for new AP_Motors code
9 years ago
Andrew Tridgell
70679a06aa
Plane: fixed quadplane throttle control in AUTO
9 years ago
Andrew Tridgell
52cc369f15
Plane: fixed typo in AP_Motors conversion
9 years ago
Andrew Tridgell
e7f7afcc4d
Plane: added correct filter defaults
9 years ago
Andrew Tridgell
9cf909607f
Plane: setup reasonable quadplane defaults
9 years ago
Andrew Tridgell
dd6c4d6225
Plane: fixed up parameters for quadplane
...
this fixes quadplane parameters for the new AP_Motors code
9 years ago
Randy Mackay
b96ea15220
Plane: quadplane uses AC_AttitudeControl_Multi
9 years ago
Randy Mackay
41b584ac9e
Plane: fix quadplane qstabilize throttle input
9 years ago
Randy Mackay
52caed2573
Plane: QTUN df messages angle boost field as float
9 years ago
Randy Mackay
70f81ee338
Plane: remove multicopter PID parameters
...
These have been moved to the AC_AttitudeControl class
9 years ago
Randy Mackay
39f795d9fd
Plane: quadplane sets motors desired spool state
9 years ago
Andrew Tridgell
f73c8ab8ed
Plane: allow testing of all motors in sequence
...
this makes for an easier startup test for a quadplane, allowing a
single MAVLink command to test that all motors are working correctly
in the right sequence
9 years ago
Tom Pittenger
6718241dad
cleanup comments
9 years ago
Gustavo Jose de Sousa
a4c099feaa
waf: create program groups for main products
...
Currently we need to build a different binary for each type of copter frame.
This is a preparation for setting all those binaries to a group called
"copter". We create the groups for the rest of the main products for
consistency.
9 years ago
Andrew Tridgell
dc9d87fde3
Plane: prepare for 3.5.2 release
9 years ago
Andrew Tridgell
8a6e5ffe80
Plane: fixed bug in rangefinder landing
...
introduced with QLAND change
9 years ago
Andrew Tridgell
b47b558246
Plane: change code URL
9 years ago
Andrew Tridgell
4d7beab8cc
Plane: added QTUN logging for quadplane
9 years ago
Andrew Tridgell
0a199945a2
Plane: added copter RATE logging for quadplane
9 years ago
Andrew Tridgell
1fa075e7a8
Plane: change default quadplane gains
...
lower filter frequency, higher I gain for roll/pitch
9 years ago
Lucas De Marchi
f258b66627
ArduPlane: Update path locations for parameters
...
Thanks to Francisco Ferreira for noticing that.
9 years ago
Andrew Tridgell
0442c2c659
Plane: prepare for 3.5.1 release
9 years ago
Andrew Tridgell
f0eddd6366
Plane: ensure we always eventually capture a loiter
9 years ago
Andrew Tridgell
30ca9fbb01
Plane: cope with upgrade to shifted indexes for quadplane
9 years ago