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
2015-01-29 13:57:18 +11:00
Robert Lefebvre
a2d73b42b9
Plane: Change Mode logging to use DataFlash library method.
2015-01-21 14:37:36 +09:00
Andrew Tridgell
1e3c23e5a3
Plane: on takeoff set prev_WP_loc to current_loc
2015-01-03 14:07:02 +11:00
Andrew Tridgell
ae96a48efc
Plane: use location_path_proportion()
...
this should produce better glide slopes when the aircraft is off
course
2015-01-01 15:17:45 +11:00
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
2014-12-03 18:31:23 +11:00
Andrew Tridgell
19847d8607
Plane: fixed missing break statement
2014-11-25 13:15:25 +11:00
Michael Day
8662aaa878
Plane: Support MAV_CMD_DO_FENCE_ENABLE as a mission item.
2014-11-25 13:02:47 +11:00
Andrew Tridgell
77958f8fd4
Plane: fixed CONTINUE_AND_CHANGE_ALT command
...
current_loc should be used, not prev_WP_loc
2014-11-25 10:44:02 +11:00
Michael Day
95d2e79312
Plane: Keep throwing WP in front plane for CONTINUE_AND_CHANGE_ALT
2014-11-25 10:43:15 +11:00
Michael Day
442c188ae0
Plane: Implementation of MAV_CMD_CONTINUE_AND_CHANGE_ALT.
2014-11-25 10:43:15 +11:00
Arthur Benemann
fe9e68f88c
Plane: send feedback to the GCS of pictures taken
2014-11-11 10:31:54 -08: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
Michael Day
01f611daa9
Plane: "Go around" operation. Assumes go around behavior follows land wp.
2014-10-24 21:51:46 +11:00
Andrew Tridgell
8d329f6b5a
Plane: ignore DO_LAND_START in missions
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
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
Andrew Tridgell
bf80a2485f
Plane: support acceptance radius for waypoints
2014-09-03 12:38:30 +10:00
Andrew Tridgell
dad95648a0
Plane: split landing code into landing.pde
...
this is in preparation for more complex landing code using the
rangefinder
2014-08-13 21:38:05 +10:00
Andrew Tridgell
7def71d43a
Plane: improved landing approach and flare
...
flare if we are within the specified time of landing either vertically
or horizontally
2014-08-13 21:38:05 +10:00
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
2014-08-13 21:35:26 +10:00
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
2014-08-04 21:02:13 +10:00
Andrew Tridgell
16f1c6867f
Plane: remved int cast
...
not portable
2014-08-04 21:02:13 +10:00
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
2014-08-04 21:02:13 +10:00
Andrew Tridgell
f983040401
Plane: more fixes for glide slope calculations
2014-08-04 21:02:13 +10:00
Andrew Tridgell
3e320d71ab
Plane: added TERRAIN_FOLLOW parameter
...
when enabled RTL, CRUISE and rally points will use terrain altitude
2014-07-24 21:50:19 +10:00
Andrew Tridgell
d18c00d6fc
Plane: split up altitude handling
...
this creates altitude.pde for altitude handling, getting ready to add
terrain following
2014-07-24 21:50:19 +10:00
Randy Mackay
873eb68d79
Plane: add support for DO_SET_ROI within mission
2014-07-09 21:26:02 +09:00
Randy Mackay
d8573d0722
Plane: loiter num turns from low byte of p1
...
This limits the maximum number of turns to 255 for plane
2014-06-17 20:53:59 +10:00
Randy Mackay
ac65119cfe
Plane: use common Log_Write_Camera
...
pair programmed with Craig Elder
2014-06-17 14:11:47 +10:00
Andrew Tridgell
ea086fa79c
Plane: added MAV_CMD_DO_INVERTED_FLIGHT support
...
allows for mission control over inverted flight
2014-06-05 16:12:10 +10:00
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
2014-06-05 09:35:09 +10:00
Andrew Tridgell
0306dbf5f1
Plane: moved auto mode variables to auto_state
2014-04-27 15:34:30 +10:00
Michael Day
568fc9e6c9
Plane: Now using AP_Rally library.
2014-04-19 09:16:05 +10:00
Andrew Tridgell
e19341ca32
Plane: convert to new GPS driver API
2014-04-01 06:38:24 +11:00
Michael Day
25f23cf16c
Plane: Sends MAV_SYS_STATUS_GEOFENCE and also allows GCS to enable/disable fence.
2014-03-27 09:26:20 +11:00
Andrew Tridgell
ce3f40b095
Plane: use should_log() for more msgs
2014-03-19 14:18:14 +11:00
Randy Mackay
3ce56f3086
Plane: integrate Mission cmd field changes
2014-03-19 12:14:24 +09:00
Randy Mackay
2184ff1e58
Plane: set_next_WP fn accepts Location
2014-03-19 12:13:06 +09:00
Randy Mackay
ce9f2ef7f0
Plane: minor command logic comments and reordering
2014-03-19 12:13:01 +09:00
Randy Mackay
ad4f30e790
Plane: use mission command specific structures
2014-03-19 12:12:52 +09:00
Randy Mackay
9ef920b0be
Plane: integrate dataflash Log_Write_MavCmd
2014-03-19 12:12:45 +09:00
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>
2014-03-19 12:12:39 +09:00
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
2014-03-19 12:12:30 +09:00
Andrew Tridgell
2b5bf45e83
Plane: only activate mission callbacks in AUTO mode
2014-03-19 12:12:24 +09:00
Andrew Tridgell
3277416aeb
Plane: fixed relative altitudes and resuming mission
...
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:12:22 +09:00
Andrew Tridgell
d4510d9b9b
Plane: altitude for do_set_home() is in meters
2014-03-19 12:12:18 +09:00
Randy Mackay
790a907811
Plane: use Dataflash lib's Log_Write_Cmd
2014-03-19 12:12:08 +09:00
Randy Mackay
0827506533
Plane: remove unused WAIT_COMMAND
2014-03-19 12:11:24 +09:00
Randy Mackay
53add04d36
Plane: remove some comments in commands_logic.pde
2014-03-19 12:11:22 +09:00
Andrew Tridgell
f036aa1780
Plane: fixed altitude for takeoff and takeoff heading
...
fixes for AP_Mission integration
Pair-Programmed-With: Randy Mackay <rmackay9@yahoo.com>
2014-03-19 12:11:09 +09:00