Andrew Tridgell
ea086fa79c
Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
...
allows for mission control over inverted flight
11 years ago
Andrew Tridgell
55e7f9b1d6
Plane: calculate next_turn_angle to prevent early WP completion
...
this should help for ball drop and camera trigger with straight line
runs
11 years ago
Andrew Tridgell
0306dbf5f1
Plane: moved auto mode variables to auto_state
11 years ago
Michael Day
568fc9e6c9
Plane: Now using AP_Rally library.
11 years ago
Andrew Tridgell
e19341ca32
Plane: convert to new GPS driver API
11 years ago
Michael Day
25f23cf16c
Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence.
11 years ago
Andrew Tridgell
ce3f40b095
Plane: use should_log() for more msgs
11 years ago
Randy Mackay
3ce56f3086
Plane: integrate Mission cmd field changes
11 years ago
Randy Mackay
2184ff1e58
Plane: set_next_WP fn accepts Location
11 years ago
Randy Mackay
ce9f2ef7f0
Plane: minor command logic comments and reordering
11 years ago
Randy Mackay
ad4f30e790
Plane: use mission command specific structures
11 years ago
Randy Mackay
9ef920b0be
Plane: integrate dataflash Log_Write_MavCmd
11 years ago
Andrew Tridgell
4bf140aeac
Plane: make next_WP and prev_WP be locations
...
having a command ID in them doesn't really make sense
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Randy Mackay
6b789cd711
Plane: rename next_nav_command to auto_rtl_command
...
This command is only used to get the vehicle home (or to a rally point)
after the mission has completed
11 years ago
Andrew Tridgell
2b5bf45e83
Plane: only activate mission callbacks in AUTO mode
11 years ago
Andrew Tridgell
3277416aeb
Plane: fixed relative altitudes and resuming mission
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Andrew Tridgell
d4510d9b9b
Plane: altitude for do_set_home() is in meters
11 years ago
Randy Mackay
790a907811
Plane: use Dataflash lib's Log_Write_Cmd
11 years ago
Randy Mackay
0827506533
Plane: remove unused WAIT_COMMAND
11 years ago
Randy Mackay
53add04d36
Plane: remove some comments in commands_logic.pde
11 years ago
Andrew Tridgell
f036aa1780
Plane: fixed altitude for takeoff and takeoff heading
...
fixes for AP_Mission integration
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
11 years ago
Randy Mackay
9446e9fd2e
Plane: integrate AP_Mission library
11 years ago
Randy Mackay
e88f1953d0
Plane: use common location options masks
11 years ago
Andrew Tridgell
2b8cc1a1df
Plane: use set_mode() in do_RTL()
...
thanks to Randy for spotting this
11 years ago
Andrew Tridgell
eb7db82210
Plane: altitude for do_set_home() is in meters
11 years ago
Andrew Tridgell
57e0eb4db5
Plane: use a const reference for home
11 years ago
Andrew Tridgell
11337ab2df
Plane: updates for AHRS holding home position
11 years ago
Andrew Tridgell
cdd36b2c41
Plane: use AP_ServoRelayEvents library
11 years ago
Andrew Tridgell
2045591bed
Plane: fixed servo and relay repeat code
11 years ago
Andrew Tridgell
e4e5c92453
Plane: fixed relay handling
...
the parameters were badly out of whack!
11 years ago
Andrew Tridgell
8755747da0
Plane: only log when armed by default
...
use safety switch if arming not enabled
11 years ago
Andrew Tridgell
0ec322ee47
Plane: support MAV_CMD_DO_SET_CAM_TRIGG_DIST
11 years ago
Andrew Tridgell
365e82aecb
Plane: use a rally point when out of mission items
12 years ago
Andrew Tridgell
d275f50539
Plane: added GROUND_STEER_ALT and GROUND_STEER_DPS
...
this uses the new AP_SteerController steering controller developed for
the rover code to allow for ground steering of planes
12 years ago
Andrew Tridgell
011915eb1c
Plane: added error checking to rally load save
...
sanity check the rally points
12 years ago
Michael Day
497c95de8e
Plane: Add support for rally points.
...
Added parameter RALLY_TOTAL.
Added handlers for new MAVLink messages RALLY_POINT and
RALLY_FETCH_POINT.
defines.h modified to make room in EEPROM to store rally points.
rally.pde added and is responsible for ensuring rally points get
stored in the correct spot in EEPROM.
Multiple Rally/RTL point support now done. If rally points have
been defined, then when RTL mode is entered, the closest Rally
point is chosend and the plane loiters at that point.
Note only 10 rally points can be defined; this is to save space in
the APM's EEPROM.
12 years ago
Andrew Tridgell
dd6a69f588
Plane: added WP_MAX_RADIUS parameter
...
useful when using AUTO_FBW_STEER for manual steering in competitions
12 years ago
Andrew Tridgell
a00e4a1e83
Plane: send GCS message on relay change
...
makes it easier to debug
12 years ago
Andrew Tridgell
45cf82ba15
Plane: removed CONFIG_RELAY check
...
relay is always available
12 years ago
Andrew Tridgell
a33573352e
Plane: fixes for updated AP_Math and AHRS APIs
...
Pair-Programmed-With: Brandon Jones <brnjones@gmail.com>
12 years ago
Andrew Tridgell
3c97fad2ec
Plane: changes for GPS field changes
12 years ago
Andrew Tridgell
3c177867a4
Plane: allow enable/disable of camera log messages in CLI
12 years ago
Andrew Tridgell
1d6748cf3f
Plane: use a glide slope in RTL when descending
...
when above the target altitude in RTL come down slowly, when below
climb rapidly
This fixes issue #39
12 years ago
Andrew Tridgell
a5bda3ffef
Plane: changed to using a "aircraft parameters" structure
...
this structure can be passed to libraries to give them easy access to
critical user parameters
12 years ago
Paul Riseborough
d62636d309
Plane: added new TECS altitude controller
...
Includes improvements to takeoff/launch detect logic to support hand
launching for X-8 flight
12 years ago
Andrew Tridgell
515d726ee0
Plane: use RC_Channel::rc_channel() instead of rc_ch[]
12 years ago
Andrew Tridgell
eba7d6da9a
Plane: removed the old crash_timer code
...
This code is less relevent with the new L1 navigation, and could cause
issues with the pilot not having control after a long dive.
Thanks to Soren for pointing out the issues
See issue #305
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
e918293e86
Plane: explain verify_*() commands
12 years ago