Randy Mackay
681d28838f
Plane: integrate mount frontend-backend restructure
...
initialise mount on startup
use mount.has_pan_control method
remove calls to unimplemented mount.configure_cmd
remove call to update_mount_type which is now handled by mount lib
10 years ago
Robert Lefebvre
a2d73b42b9
Plane: Change Mode logging to use DataFlash library method.
10 years ago
Andrew Tridgell
1e3c23e5a3
Plane: on takeoff set prev_WP_loc to current_loc
10 years ago
Andrew Tridgell
ae96a48efc
Plane: use location_path_proportion()
...
this should produce better glide slopes when the aircraft is off
course
10 years ago
Andrew Tridgell
c05a0bc67f
Plane: prevent a change altitude command from causing a sudden descent
...
when a change altitude command comes in while a large glide slope
altitude change is present we could end up using the old glide slope
with the new altitude. This resets the altitude offset, causing a
direct altitude change
10 years ago
Andrew Tridgell
19847d8607
Plane: fixed missing break statement
10 years ago
Michael Day
8662aaa878
Plane: Support MAV_CMD_DO_FENCE_ENABLE as a mission item.
10 years ago
Andrew Tridgell
77958f8fd4
Plane: fixed CONTINUE_AND_CHANGE_ALT command
...
current_loc should be used, not prev_WP_loc
10 years ago
Michael Day
95d2e79312
Plane: Keep throwing WP in front plane for CONTINUE_AND_CHANGE_ALT
10 years ago
Michael Day
442c188ae0
Plane: Implementation of MAV_CMD_CONTINUE_AND_CHANGE_ALT.
10 years ago
Arthur Benemann
fe9e68f88c
Plane: send feedback to the GCS of pictures taken
10 years ago
Andrew Tridgell
1f3e285ed0
Plane: reset commanded_go_around at start of land
...
this allows multiple landing attempts
10 years ago
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
10 years ago
Andrew Tridgell
8d329f6b5a
Plane: ignore DO_LAND_START in missions
10 years ago
Michael Day
fe43ae538f
Plane: Added support for MAV_CMD_DO_LAND_START
10 years ago
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
10 years ago
Andrew Tridgell
bf80a2485f
Plane: support acceptance radius for waypoints
11 years ago
Andrew Tridgell
dad95648a0
Plane: split landing code into landing.pde
...
this is in preparation for more complex landing code using the
rangefinder
11 years ago
Andrew Tridgell
7def71d43a
Plane: improved landing approach and flare
...
flare if we are within the specified time of landing either vertically
or horizontally
11 years ago
Andrew Tridgell
165993dbf5
Plane: allow steering right through the landing
...
this allows a small degree of steering right through the landing,
which makes it possible to have a turn just before landing
11 years ago
Andrew Tridgell
d54bb68270
Plane: prevent cross-track on some WP types
...
when finishing a takeoff or when a user forces a WP change don't do
any cross-tracking. This avoids a problem where the plane tries to
line up with a track completely unrelated to the track currently being
flown
11 years ago
Andrew Tridgell
16f1c6867f
Plane: remved int cast
...
not portable
11 years ago
Andrew Tridgell
8610d9a8ea
Plane: added GLIDE_SLOPE_MIN parameter
...
this is used to prevent slow glide slopes being used for small
altitude changes in missions. This allows more accurate tracking of
altitude with terrain changes
11 years ago
Andrew Tridgell
f983040401
Plane: more fixes for glide slope calculations
11 years ago
Andrew Tridgell
3e320d71ab
Plane: added TERRAIN_FOLLOW parameter
...
when enabled RTL, CRUISE and rally points will use terrain altitude
11 years ago
Andrew Tridgell
d18c00d6fc
Plane: split up altitude handling
...
this creates altitude.pde for altitude handling, getting ready to add
terrain following
11 years ago
Randy Mackay
873eb68d79
Plane: add support for DO_SET_ROI within mission
11 years ago
Randy Mackay
d8573d0722
Plane: loiter num turns from low byte of p1
...
This limits the maximum number of turns to 255 for plane
11 years ago
Randy Mackay
ac65119cfe
Plane: use common Log_Write_Camera
...
pair programmed with Craig Elder
11 years ago
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