Andrew Tridgell
42344455c9
Plane: fixed structure init for arduino compiler
12 years ago
Andrew Tridgell
9f0f482dd7
Plane: fixed LOITER_TIME to start when loiter starts
...
thanks to Paul Riseborough for finding this bug!
12 years ago
Andrew Tridgell
75f4a43e2d
Plane: fixed LOITER_TURNS command
...
and cleanup more loiter variables
12 years ago
Andrew Tridgell
82cd391cf8
Plane: use RADIUS_OF_EARTH define
12 years ago
Andrew Tridgell
8f091e70c8
Plane: move elevon variables into a structure
12 years ago
Andrew Tridgell
79c6f32400
Plane: made variables static and remove initial rc overrides
...
minor code size savings
12 years ago
Andrew Tridgell
e918293e86
Plane: explain verify_*() commands
12 years ago
Andrew Tridgell
19b92b5bd8
Plane: removed "circle waypoint" completion test
...
this is redundent with the location_passed_point() test
12 years ago
Andrew Tridgell
994d8e354a
Plane: allow for negative WP_LOITER_RAD for conter-clockwise loiter
...
this follows the same convention as missions
12 years ago
Andrew Tridgell
78538d0543
Plane: removed old HDNG2RLL PID control
...
not used with L1
12 years ago
Andrew Tridgell
b2ad43f625
Plane: removed ahrs.set_barometer()
12 years ago
Andrew Tridgell
8d2cf6f3e5
Plane: update author list
12 years ago
priseborough
70a186464b
Plane: added LEVEL_ROLL_LIMIT parameter
...
this replaces both TKOFF_HEAD_HOLD and RUDDER_STEER, allowing users to
instead select a roll limit for takeoff and landing
12 years ago
Andrew Tridgell
575f346e85
Plane: removed HIL_MODE_ATTITUDE
...
we really need full sensors for HIL with the L1 controller. The flight
is also _much_ better with sensors HIL.
12 years ago
Andrew Tridgell
11eb0cfce1
Plane: update for new AP_Navigation controller class
...
this switches ArduPlane over to use the L1 navigation controller, via
a generic nav_controller object pointer.
Note that the nav_controller controls all types of navigation now,
including level flight and heading hold. This provides a cleaner
abstraction than the old method of special case navigation handling
Pair-Programmed-With: Paul Riseborough <p_riseborough@live.com.au>
12 years ago
Andrew Tridgell
c47bc09a3c
Plane: avoid doing radio trim if less than 20% of travel available
...
this prevents problems with awful trim on bootup due to RC TX being
off
12 years ago
tobias
217b8d7a59
cleanup: use const for struct Location pointers and references
...
this allows the compiler to generate more efficient code
12 years ago
Andrew Tridgell
71f6287388
Plane: fixed spelling
12 years ago
Andrew Tridgell
dcbe144c7e
Plane: prepare for release of 2.71
12 years ago
Andrew Tridgell
e58f49aeaf
Plane: copy rudder out in TRAINING mode
...
we were doing rudder mixing in training mode, which shouldn't be done
12 years ago
Andrew Tridgell
993154ea59
Plane: expand the VTAIL_OUTPUT docs for APM1
12 years ago
Andrew Tridgell
bd2b9fbe9d
Plane: simplify the VTail mixer to be more like a hardware mixer
...
this should make it easier to trim the vtail
12 years ago
Andrew Tridgell
17cbcd1bf6
Plane: fixed failsafe with VTAIL_OUTPUT
12 years ago
Andrew Tridgell
406921faf1
Plane: added VTAIL_OUTPUT option
...
this allows for software vtail mixing
12 years ago
Randy Mackay
21a51c8333
Plane: update GCS_Mavlink parameter documentation
12 years ago
Andrew Tridgell
a69c9ff674
Plane: added logging of DIGICAM events
12 years ago
Andrew Tridgell
ddfcafe80f
Plane: fixed DIGICAM camera trigger
12 years ago
Andrew Tridgell
683a2919d1
Plane: prevent stick mixing when throttle is below failsafe threshold
...
this fixes issue #40
12 years ago
Andrew Tridgell
c5e2cfcc3e
Plane: preparing for 2.71-beta
12 years ago
Andrew Tridgell
2506c216dd
Plane: added a second type of stick mixing
...
this changes STICK_MIXING from a boolean to a tri-state. With
STICK_MIXING=1 it now uses FBW style mixing. With STICK_MIXING=2 it
uses the old style of direct stick mixing.
12 years ago
Andrew Tridgell
5d54215221
Plane: use int16_t() not int() to ensure simulator matches AVR
12 years ago
Andrew Tridgell
e390726bdd
Plane: prevent overflow on large PID gains
...
this uses get_pid_4500() to prevent overflow of servo_out on large PID gains
12 years ago
Andrew Tridgell
624ebced38
Plane: document INVERTEDFLT_CH
12 years ago
Andrew Tridgell
dfb14d760b
Plane: added HIL_SERVOS option
...
this allows for real servo output in HIL
12 years ago
Andrew Tridgell
6cc4aadc06
Plane: report compass health in SYS_STATUS
12 years ago
Andrew Tridgell
a165f0d138
Plane: removed old angle wrap code
12 years ago
Andrew Tridgell
7db7d7db77
Plane: change FBWB altitude control algorithm
...
this makes FBWB much less sensitive to airframe tuning. When the
elevator stick first goes neutral it locks in the current altitude as
the target altitude. When the elevator stick is off neutral, it moves
the target altitude in proportion to the elevator, at a rate goverened
by the new FBWB_CLIMB_RATE parameter
This prevents the aircraft from slowly drifting in altitude in FBWB,
and gives a more intuitive control mechanism for altitude.
Thanks to Chris Miser from Falcon UAV for help in designing this
change
12 years ago
Andrew Tridgell
fcde3ceb24
Plane: also avoid rudder on takeoff with TOFF_HEAD_HOLD==0
12 years ago
Randy Mackay
a49fe272ad
Plane: replace gps fix with status
...
Required to ensure 3d fix is used for initialising home
12 years ago
Randy Mackay
c2055557f5
Plane: add support for GPS fix type 2D
12 years ago
Andrew Tridgell
f077f54e6a
Plane: added TKOFF_HEAD_HOLD option
...
this allows control over whether ArduPlane tries to hold heading
during auto takeoff. For hand launches it can be better to hold the
wings level and not attempt to hold heading during takeoff to prevent
the possibility of a stall during the climb out.
Thanks to Chris Miser from Falcon UAV for the feedback that led to
this option.
12 years ago
Andrew Tridgell
1d983b3f2e
Plane: fixed X accel triggering of auto
12 years ago
Andrew Tridgell
1a36c3684b
Plane: fixed GPS test (detection of uBlox needs 10Hz poll)
12 years ago
Andrew Tridgell
6948e0c473
Plane: only enter CLI is link is idle when 3 enters are hit
...
this will prevent binary contents of RADIO packets being interpreted
as CLI enter line-feeds
12 years ago
Andrew Tridgell
0e37ae4400
Plane: change CLI timeout to 20s
12 years ago
John Stäck
c9576e59f9
Add set command to setup menu (and changed show command), same as for ArduCopter. Not included when building for 1280.
12 years ago
Randy Mackay
36834e77b5
Copter: remove support for CLI Slider
12 years ago
Andrew Tridgell
36ff950b12
Plane: fixed MAVLink target IDs in fence point message
...
thanks to Kevin Hester for finding this
12 years ago
Andrew Tridgell
0a385cc0ff
Plane: added TKOFF_THR_MINACC option
...
this is used for triggering auto takeoff with a hand launched plane
12 years ago
Michael Warren
9697ff5d6d
Plane: Added extra parameter to specify at what speed in auto-takeoff throttle should engage
...
This adds TKOFF_THR_MINSPD in m/s
12 years ago