Commit Graph
58 Commits
Author SHA1 Message Date
Daniel Agar 88ad0fc3bd astyle src/modules/navigator 2017-01-29 01:18:32 +01:00
Daniel Agar c280358e32 navigator fix code style 2017-01-07 01:03:18 -05:00
Julian Oes 8a6af658f3 navigator: don't omit printf value
There was a mismatch between the printf arguments and what was defined
in the fmt.
2016-12-15 00:12:54 +01:00
Daniel Agar c17c8884d1 implement MAV_CMD_DO_LAND_START 2016-11-19 15:48:10 +01:00
Daniel Agar 8ac4dd04ae implement MAV_CMD_MISSION_START 2016-11-06 15:24:34 +01:00
Michal Stasiak 2bfac7ff4f Mission feasibility: Geofence check fix
Current implementation checks against geofence only if it is in polygon form.
When it's created via params, it accepts all the waypoints as the number of vertices = 0.
Thus, changed the function to the one that is used to check whether geofence is breached in flight.
2016-11-05 11:07:23 +01:00
Julian Oes 9842e49dc6 navigator/mavlink: photos and videos at waypoints
This adds the capability to forward the commands
- MAV_CMD_VIDEO_START_CAPTURE
- MAV_CMD_VIDEO_STOP_CAPTURE
- MAV_CMD_IMAGE_START_CAPTURE
- MAV_CMD_IMAGE_STOP_CAPTURE
at waypoints which will then be sent over mavlink to component id
100 aka MAV_COMP_ID_CAMERA.
2016-10-15 12:37:06 +02:00
Beat Küng 55bff206be mission: add NAV_CMD_DO_SET_ROI & NAV_CMD_ROI 2016-10-07 10:57:26 +02:00
Lorenz Meier e2d1524a7a Mission feasibility checker: Better feedback for landing waypoints 2016-08-02 14:54:40 +02:00
Daniel Agar 59b4350aa0 implement MAV_CMD_NAV_LOITER_TO_ALT and general mission cleanup 2016-07-12 23:36:05 +02:00
Daniel Agar eae726e345 FW add mavlink NAV_CONTROLLER_OUTPUT 2016-05-13 12:56:04 +02:00
sander a713fd4197 Implemented VTOL_TAKEOFF and VTOL_LAND commands 2016-04-02 21:29:25 +01:00
Julian Oes bba0d0384d drivers/modules: changes after mavlink_log change
The mavlink_log API changes lead to changes in all drivers/modules using
it.
2016-03-24 13:10:02 +01:00
Daniel Agar 408d147a18 MissionFeasibilityChecker geofence ignore NAV_CMD_DO_*
-closes #4040
2016-03-22 06:54:41 +01:00
Lorenz Meier 2a2dca84bf Navigator: Do not interpret DO_SET_SPEED as 3D location, reset speed on negative value. 2016-03-13 18:09:52 +01:00
Lorenz Meier 697096511c Enable change speed command 2016-03-13 18:07:47 +01:00
Lorenz Meier 362e0316f7 Navigator: Forward trigger distance commands 2016-02-23 09:25:47 +01:00
Andreas Antener baa11e357d refactored do_set_servo handling and generalized formatting of CMD mavlink mission items, fixes #3644 2016-02-08 11:09:12 +01:00
Andreas Antener 1351c6f68c small fixes 2016-02-08 11:09:11 +01:00
sander 949b0738e1 Remove run-once procedure on check_dist_1wp 2016-02-07 17:56:10 +01:00
Lorenz Meier 1aff724ee2 Reject loiter turns 2016-02-06 13:42:03 +01:00
sander fdcfb7c7c6 Mission feasibility fixes
- Fixes https://github.com/PX4/Firmware/issues/3656
- Fixes https://github.com/PX4/Firmware/issues/3648
- Corrected spelling on method
2016-02-04 20:44:35 +01:00
sander 9a8e94bb68 Reject mission when starting with LAND and vehicle is landed 2016-01-24 11:19:00 +01:00
tumbili 07fafc4913 multirotor mission feasibility checks:
make sure that the relative altitude of the takeoff waypoint is
at least one meter higher than the acceptance radius of the waypoint.
This makes sure that the takeoff waypoint is not reached before the vehicle
is at least one meter in the air.
2016-01-17 13:09:28 +01:00
Lorenz Meier 77782bd254 Navigator: Support transition command and digicam command in missions 2016-01-11 08:19:00 +01:00
Lorenz Meier abbd560a90 Feasibility checker: Do not accept ROI 2015-12-04 09:51:39 +01:00
Lorenz Meier 6ebc26811f Make MAVLink less chatty 2015-11-21 23:07:18 +01:00
Lorenz Meier 53bbe1920d Navigator: Make error message less cryptic 2015-10-14 20:02:27 +02:00
Lorenz Meier 2be7b82256 Navigator: Remove unused error variable 2015-09-12 10:52:22 +02:00
Lorenz Meier a01ca427b0 Fix code style 2015-08-18 23:20:03 +02:00
fpvaspassion fef432d852 Actuator limits and channels corrrection 2015-08-18 23:17:08 +02:00
fpvaspassion 60be6a577f git status 2015-08-18 23:17:07 +02:00
fpvaspassion e6ffa16125 Implementation of 183 mission intem 2015-08-18 23:17:07 +02:00
Lorenz Meier 677aef6673 navigator: Fixed bitwise or 2015-06-15 21:55:02 +02:00
Lorenz Meier 41f535ae26 navigator: Include distance to first waypoint in mission check, provide warning feedback 2015-06-15 17:28:05 +02:00
Lorenz Meier a66b1b9d04 Improve feedback when auto mode is rejected due to a non suitable mission 2015-06-11 17:03:13 +02:00
Lorenz Meier bc48634101 Navigator: Reject missions with relative altitude if no home was set before arming 2015-06-11 17:03:12 +02:00
Lorenz Meier 01fd84e4dc mavlink and commander app: Add support for manual input, either directly or via remote control 2015-05-24 20:11:50 +02:00
Roman Bapst afa8266255 do not update mission if it has unsupported mission items 2015-05-21 20:08:49 +02:00
Lorenz Meier b7409635b7 Mission feasibility checker: Do not use static where its not needed. 2015-04-26 14:33:57 +02:00
Lorenz Meier 4b34221614 navigator: Get rid of audio tag in strings and use appropriate priority to get audio out when needed in the GCS 2015-04-14 13:25:49 +02:00
Thomas Gubler 3efffb68e7 Merge remote-tracking branch 'upstream/master' into HEAD
Conflicts:
	src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp
	src/modules/navigator/geofence.cpp
	src/modules/navigator/mission.cpp
2014-09-28 12:36:26 +02:00
Thomas Gubler ec09f08008 mf checker: fix landing check, ensure feedback from all checks is sent 2014-09-22 17:21:33 +02:00
Thomas Gubler bdccd69030 geofence: make some functions private, correctly update params 2014-08-24 15:27:31 +02:00
Lorenz Meier 101e7b1383 navigator: Feedback strings / text and logic was not consistent in previous state, fixed. 2014-07-17 21:06:42 +02:00
Lorenz Meier c01567c047 Check if waypoint altitude is relative. Fixes #1197 2014-07-17 21:02:17 +02:00
Julian Oes 034856a24c mission_feasability_checker: fixed warnings 2014-06-06 17:16:49 +02:00
Thomas Gubler 38b6bc2f72 Merge pull request #694 from thomasgubler/beta_homealtitudewarning
mission feasibility checker: add warning if waypoint is below home altitude
2014-05-28 16:05:56 +02:00
Lorenz Meier 23fe9e6dc0 navigator: comment only changes / code style fixes 2014-05-15 07:22:36 +02:00
Lorenz Meier 95e6fc30e2 navigator: Removed static where no static should have been used 2014-05-12 22:10:28 +02:00