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
e0aa2e2391
RTL reduce verbosity
2017-07-08 21:54:04 +02:00
Daniel Agar
fbebec5d0f
navigator log RTL messages and don't print global timeout
2017-07-08 21:54:04 +02:00
Lorenz Meier
49bbd0e58d
Navigator: Be less verbose
2017-07-08 19:36:58 +02:00
Julian Oes
9854fc0d84
Set timestamp with vehicle commands
...
The vehicle_command uORB messages had the timestamp unset at 0.
2017-07-08 11:52:23 +02:00
Daniel Agar
c8189b9c23
navigator mission_block check range for loiter exit
...
- fixes #7510
2017-06-29 21:28:26 +02:00
Julien Lecoeur
7929287f73
Fix -Werror=format-truncation on GCC 7
...
Fix formatting
Check snprintf return for error AND overflow
2017-06-26 15:50:44 +02:00
Julien Lecoeur
06c6a0cdec
Fix -Werror=implicit-fallthrough errors on GCC7
2017-06-26 15:50:44 +02:00
Martina
5984e3d330
mission: clean up mavlink log messages style
2017-06-19 19:34:18 +02:00
ChristophTobler
bc406a122e
disable min loiter altitude
2017-06-15 09:18:35 +02:00
Lorenz Meier
d5c923c7ef
Navigator: Fix RTL backtransition for VTOL
...
A recent change removed the command forwarding required for VTOL transitions. This change brings this back.
Partially reverts https://github.com/PX4/Firmware/pull/7249
2017-06-15 08:27:23 +02:00
Sean Matthews
c41185a277
Fixes valid yaw check
2017-06-14 01:23:37 +05:30
Sean Matthews
d9cec600ed
Fixes #7313 : Invalid setpoint yaw after takeoff
2017-06-14 01:23:37 +05:30
Daniel Agar
77eaa3ae61
fw_pos_control_l1 rename Landingslope to match case
2017-06-08 22:04:30 -04:00
Daniel Agar
3b7e57a5b2
navigator/follow_target remove unused
2017-06-08 22:03:08 -04:00
Nacho Carnicero
e6670d7926
Drone yaw set to destination waypoint yaw in LOITER mode if MIS_YAWMODE=0 ( #7269 )
...
* Drone does not change orientation while in LOITER mode if MIS_YAWMODE=0
* Fix code style
* Some more code style fixes
* Format checks passed
2017-06-04 20:01:40 +08:00
Daniel Agar
f1079e3382
mission block remove unread value
2017-06-02 19:35:18 -04:00
Daniel Agar
64ed96d81a
clang-tidy readability-simplify-boolean-expr
2017-06-02 19:35:18 -04:00
ChristophTobler
680cebcb08
fix qgc flow takeoff -> use min takeoff alt if no home position
2017-05-30 10:22:09 +02:00
Lorenz Meier
9be5193965
Navigator: Fix RTL command lnd logic for missions
...
The navigator was sending RTL commands in the wrong circumstances leading to a cycle between Navigator and Commander.
2017-05-16 08:40:53 +02:00
Dennis Mannhart
1ee160a5ff
navigator takeoff: use global yaw instead of home yaw
2017-05-15 15:41:47 +02:00
ChristophTobler
14f860090a
remove empty line and fix typo
2017-05-15 15:41:47 +02:00
Dennis Mannhart
9e383f2cd3
navigator: when landed only exit idle if mission/takoff
2017-05-15 15:41:47 +02:00
yaoling
3ad23a44c5
navigator fix takeoff insidetime = 0 ( #7199 )
2017-05-13 12:16:55 -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
Lorenz Meier
981dac8e95
Navigator: Increase RAM size
2017-05-06 12:34:28 +02:00
Nate Weibley
50740ef813
Improve FW landing predictability
...
- Use the course over ground as loiter exit criteria (better wind behavior)
- Compute the tangent origin coordinate explicitly instead of using immediate position
2017-05-04 07:51:46 +02:00
ChristophTobler
dce28454c8
use current local position for land and not GPS -> e.g. flow
2017-05-03 16:52:37 +02:00
Daniel Agar
1fd343b5cc
navigator remove FW and MC cruise parameters
2017-04-23 14:50:21 +02:00
Sander Smeets
0106840b87
Allow inflight updates of cruise throttle during missions
2017-04-23 14:50:21 +02:00
Daniel Agar
ed1b442065
mission require valid landing after DO_LAND_START
2017-04-20 14:41:01 -04:00
Daniel Agar
56b028148b
Navigator move get_time_inside and cleanup ( #7062 )
2017-04-20 11:24:55 -04:00
Daniel Agar
809fec8c05
navigator treat TAKEOFF like POSITION if already flying
2017-04-19 10:45:59 +02:00
Lorenz Meier
00158f6e0e
Navigator: Use correct command to start RTL
2017-04-18 08:56:15 +02:00
Don Gagne
96458d3184
Support for RTL and Delay mission commands
2017-04-18 08:56:01 +02:00
Lorenz Meier
f70b4ef883
Navigator: Fix RTL state handling by enabling auto-continue after descend
2017-04-14 10:02:31 +02:00
Lorenz Meier
85b074f8d8
Navigator: Fix RTL state sequence
2017-04-10 23:34:35 +02:00
Lorenz Meier
5fd7f2fa6f
Navigator: Clean up of mission block init
2017-04-10 23:18:40 +02:00
Daniel Agar
c5e0bf1c2f
uORB combine VTOL FW and MC virtual topics ( #7008 )
2017-04-09 13:17:20 -04:00
Lorenz Meier
19f0b0be3a
Navigator: Altitude acceptance to switch to new waypoints should be more accurace than horizontal distance by default
2017-04-09 17:25:38 +02:00
Lorenz Meier
f74d6e443e
Navigator: Initialize RTL state properly
2017-04-08 07:58:37 +02:00
Sander Smeets
0158f1d506
VTOL Standard transition improvements ( #6904 )
...
* FW actuators fully on the entirety of front and back transition
* back transition ramp up to full MC weight half way through back transition
* increase maximum front and back transition times
* navigator don't reset transition altitude
2017-04-02 19:39:39 -04:00
FantasyJXF
d1c3b771ee
Update navigator_main.cpp
...
fix a spell error
2017-04-02 12:15:10 +02:00
Dennis Mannhart
1774e01c00
rtl: keep rtl altitude below max altitude
...
land_detector: delete unused class enum
2017-02-27 22:54:19 +01:00
Lorenz Meier
7710b64d27
Navigator: Re-initialize RTL every time it gets re-enabled
2017-02-26 13:26:52 +01:00
Lorenz Meier
ad3d0391ab
Navigator: Only update params as they change
2017-02-25 11:04:52 +01:00
Lorenz Meier
3e88b2f2b1
Rate-limit navigator update rate
2017-02-24 08:52:10 +01:00
Lorenz Meier
d66d7a4932
Navigator: Fix code style
2017-02-17 09:13:13 +01:00
Lorenz Meier
c8fb21e73e
Navigator: Enforce a minimum altitude for RTL
2017-02-17 09:13:13 +01:00