Daniel Agar
222a91c6be
mathlib delete Matrix, Quaternion, Vector
2018-05-23 17:27:09 -04:00
Julien Lecoeur
e380adb9b6
Fix format with Artistic Style 3.1
2018-05-15 10:38:49 -04:00
Beat Küng
c6b0d5c76a
navigator: don't complain 'Using minimum takeoff altitude' in case of numerical inaccuracies
...
Happend in SITL.
2018-05-09 07:59:46 +02:00
Beat Küng
258b1ea473
navigator: ensure result of strncpy is null-terminated
2018-05-09 07:59:46 +02:00
Hamish Willee
19032b91e3
Change RTL @group to Return Mode
2018-05-08 07:04:32 +02:00
Hamish Willee
66d4b495d4
Return params to reflect current mode names
2018-05-08 07:04:32 +02:00
Hamish Willee
09986237b6
Navigator failsafe action params to reflect current mode names
2018-05-08 07:04:32 +02:00
Hamish Willee
2c1eb443ca
Geofence failsafe action params to reflect current mode names
2018-05-08 07:04:32 +02:00
Daniel Agar
2e92484325
ecl update to latest master with separate libraries ( #9406 )
2018-05-03 23:48:09 -04:00
Daniel Agar
ea3acb7121
cmake remove circular linking and reorganize
...
- px4_add_module now requires MAIN
- px4_add_library doesn't automatically link
2018-04-29 21:48:54 -04:00
Daniel Agar
3b5b12e1d1
move baro and magnetometer data out of sensor_combined
2018-04-11 23:26:58 -04:00
Oleg Kalachev
8d6bff08bb
precland: support receiving LANDING_TARGET message
2018-03-27 20:45:58 -04:00
Oleg Kalachev
5b030535c8
precland: fix incorrect converting microseconds to seconds
2018-03-27 20:45:58 -04:00
Oleg Kalachev
749a590c1c
precland: fix landing_target_pose subscription check
2018-03-27 20:45:58 -04:00
Oleg Kalachev
fef2e2ba82
precland: fix typos and code style
2018-03-27 20:45:58 -04:00
Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Daniel Agar
0ef5d892a1
navigator precland initialize all fields
...
- fixes coverity CID 264259
2018-03-24 13:39:31 -04:00
Daniel Agar
44e3bd6c1c
navigator follow_target move to matrix lib
2018-03-22 11:16:34 -04:00
Beat Küng
76aa044105
navigator mission: add yaw offset to vehicle's yaw for ROI cmds and disabled gimbal yaw
2018-03-19 09:42:41 +01:00
Beat Küng
a0372c6183
vmount: implement VEHICLE_CMD_DO_SET_ROI_WPNEXT_OFFSET
2018-03-19 09:42:41 +01:00
Beat Küng
aaa67632ca
navigator: remove redundant switch block for ROI handling
2018-03-19 09:42:41 +01:00
Beat Küng
89a775b401
navigator: remove use of final to allow extending class hierarchy
2018-03-13 17:35:15 +01:00
Beat Küng
e0af2912a1
navigator: avoid use of a static variable last_geofence_check
2018-03-13 17:35:15 +01:00
Beat Küng
320bdc6482
navigator: refactor to use ModuleBase class
2018-03-13 17:35:15 +01:00
Beat Küng
246be4f0ab
precland: use 'default' for destructor
2018-03-13 17:35:15 +01:00
Beat Küng
2e6904b8a4
navigator: use '#pragma once' as include guard
2018-03-13 17:35:15 +01:00
Beat Küng
f2dddc65a5
navigator: use new Param class
2018-03-13 17:35:15 +01:00
Beat Küng
0a5af01454
NavigatorMode: inherit from Block instead of SuperBlock
2018-03-13 17:35:15 +01:00
acfloria
fd0be3c412
Remove MavLink dependency in navigator
2018-03-09 21:16:28 +01:00
Julian Oes
9c6b1a0f04
navigator: fix incorrect takeoff altitude
...
This fixes a problem where we do not properly go to the set takeoff
altitude but end up lower.
The problem was that the setpoint triplet is reset when the navigation
mode changes. So in this case, the triplet is reset when we switch from
takeoff to loiter which can happen before reaching the actual takeoff
altitude.
The fix is an ugly hack to prevent the reset in the case of takeoff to
loiter. A better solution would be to remove the general reset and have
all navigation modes do the proper resets themselves.
This hotfix should however be lower risk.
2018-03-07 08:48:44 +01:00
Sander Smeets
2ef9c4ec35
VTOL force land even when transitioning to FW ( #8958 )
2018-03-01 16:51:50 -05:00
Vasily Evseenko
135162522a
Don't use ADSB messages with undefined fields in navigator ( #8900 )
...
Don't use ADSB messages with undefined fields in navigator
2018-02-18 11:08:40 +01:00
Julian Oes
cc36c8ee37
mission: warn at 2/3 of the max distance
...
This was wrong, instead of warning at 2/3 of the max distance as
mentioned in the comment, we would start to warn at 3/2 of the distance
which would then never actually happen.
2018-02-12 17:36:54 -05:00
Daniel Agar
6355eedd7a
move NAV_RC_LT into Mission group
2018-02-10 20:37:47 -05:00
Nicolas de Palezieux
bc3577bd60
mission_block: do relative alt correction for correct nav_cmd
2018-01-25 15:27:55 +01:00
DonLakeFlyer
342509b3ab
New ROI commands implementation
2018-01-25 15:27:55 +01:00
Lorenz Meier
d8164377a8
Navigator: Move mission param into mission params
...
This is important for the compile scope.
2018-01-22 15:56:42 +01:00
Nicolas de Palezieux
7ae3884944
heading towards ROI: do not require setting the MIS_YAWMODE param to enable multicopters yawing towards ROIs
...
ROI yaw control: configure yawing capability of mount in vmount parameters.
If configured that mount has no yaw control, vehicle will yaw towards ROI, irrespective of MIS_YAWMODE.
Vehicle will behave according to MIS_YAWMODE when there is no ROI.
2018-01-22 15:56:42 +01:00
Nicolas de Palezieux
bedaafcc20
NAV_CMD_DO_SET_ROI: handle relative altitude in mission ROI commands
2018-01-22 15:56:42 +01:00
TSC21
821eb5ac87
navigator: precland_params: PLD_MAX_SRCH: fix min value from float to int
2018-01-17 17:52:24 -05:00
Nicolas de Palezieux
aa4c6c038d
navigator : add support for precision landing
2018-01-15 10:27:23 +01:00
Daniel Agar
b524c8a20f
navigator silence geofence update PX4_INFO
2018-01-14 12:53:53 +01:00
Daniel Agar
f49c061a3c
navigator fix mission_result increment and sign mismatch
2018-01-14 12:53:53 +01:00
Daniel Agar
916d6a15fd
Mission merge offboard + onboard and simplify
2018-01-14 12:53:53 +01:00
Daniel Agar
956935141e
Navigator simplify mission
2018-01-14 12:53:53 +01:00
Daniel Agar
25c7a03a8b
Navigator remove unnecessary calls to updateParams
...
- the SuperBlock already does this
2018-01-14 12:53:53 +01:00
Daniel Agar
545f8c4452
RTL optionally use planned mission landing ( #8487 )
...
- adds new RTL_LAND_TYPE parameter
2018-01-04 23:42:01 -05:00
Daniel Agar
f87402b16c
navigator remove redundant param updates
2018-01-04 09:21:17 +01:00
Dennis Mannhart
a649bbebb7
commander: switch to hold or mission once takeoff is finished ( #8020 )
...
* add COM_TAKEOFF_ACT to optionally switch to mission after takeoff
2017-12-31 13:58:20 -05:00
Daniel Agar
7dab5d4380
mission feasibility full home position isn't always needed
2017-12-21 15:28:45 +08:00