Julian Oes
787931f04f
navigator: check distances between waypoints
...
Instead of just checking whether the first waypoint is too far away from
home it makes sense to also check between waypoints.
This can prevent
- flyaways due to user errors, or
- catch the corner case where a takeoff waypoint is added to a mission
and therefore the first waypoint is not too far away, however, the
subsequent waypoints are still too far away.
2017-10-18 08:42:20 +02:00
Daniel Agar
352d65a14a
navigator delete unused attitude setpoint ( #8028 )
2017-09-29 11:51:00 -04:00
Daniel Agar
3c18be387c
ROI - move handling to navigator ( #7939 )
2017-09-26 12:25:02 -04:00
Beat Küng
c4cdaa48e0
dataman, mission_feasibility_checker: remove unneeded uorb includes
2017-08-04 18:08:51 +02:00
Beat Küng
328e84117e
navigator geofence: switch to new dataman data structure, support multiple polygons
...
This also removes the 'navigator fence <lon> <lat>' command to simplify
code (I don't think there's still use for that anymore). However the
file loading is still supported.
If goefence.txt does not exist, navigator will not clear the geofence
anymore on startup.
2017-08-04 18:08:51 +02:00
Lorenz Meier
099a6dfd3e
Mission feasibility checker: Improve output messages for humans
...
Text to speech will work better with these messages and some of them exceeded the 50 character limit.
2017-07-09 14:43:24 +02:00
Daniel Agar
77eaa3ae61
fw_pos_control_l1 rename Landingslope to match case
2017-06-08 22:04:30 -04:00
Mohammed Kabir
ad5fe5f44a
Add support for SET_CAMERA_MODE command; Not used yet.
2017-05-12 22:11:17 +02:00
Mohammed Kabir
2e92a3946d
camera_trigger : completely refactor state handling
2017-05-12 22:11:17 +02:00
Daniel Agar
ed1b442065
mission require valid landing after DO_LAND_START
2017-04-20 14:41:01 -04:00
Don Gagne
96458d3184
Support for RTL and Delay mission commands
2017-04-18 08:56:01 +02:00
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