Daniel Agar
25ef76b3b8
navigator: fix LOITER_TO_ALT
...
- this was overzealously removed in https://github.com/PX4/PX4-Autopilot/pull/15677
2020-12-11 16:28:08 +01:00
Igor Campos
c316af6ec7
update to match new feature as a new mavlink command Oblique Survey 260
2020-12-09 17:54:53 +01:00
Jaeyoung-Lim
d59ba2032f
Handle takeoff waypoints for rover
...
Fix
2020-11-29 00:08:53 +01:00
Daniel Agar and RomanBapst
c01fabaf11
FW move altitude first order hold (FOH) and loiter to position special cases from navigator to position controller
...
Co-authored-by: RomanBapst <bapstroman@gmail.com >
2020-10-06 16:57:12 -04:00
kritz
9d962cdfbc
Pr update matrix ( #15520 )
...
* Update submodule Matrix
* replace deprecated matrix functions
* update submodule ECL
* Update Matrix submodule
* Use absolute value of loiter radius
* Update ECL submodule
2020-08-11 10:08:41 +02:00
Daniel Agar
97fc1db768
vehicle_local_position: rename yaw -> heading and add reset logic
...
- vehicle_global_position yaw removed (redundant)
2020-08-10 11:42:03 +02:00
David Jablonski
a0f5002685
navigator: fix loiter_time for FW missions
2020-04-25 09:13:09 -04:00
David Jablonski
536cd6cb1a
allow DO_CONTROL_VIDEO in missions
2020-03-30 17:10:36 +02:00
David Jablonski
6bd191a24e
Mavlink: Implemented SET_CAMERA_ZOOM
2020-03-30 17:10:36 +02:00
Lorenz Meier
76d20be29d
Mission block: Gate math cleanup and checks
...
This change simplifies the gate calculation.
2020-03-14 17:50:40 +01:00
Lorenz Meier
4876e7bd6b
Navigator: Improve documentation of mission block
...
The default for the gate check condition is to pass and this needed to be explicitly documented
2020-03-14 17:50:40 +01:00
Lorenz Meier
09595f88fc
Mission block: Style improvement
...
Boolean logic improvement to avoid double assignment of true
2020-03-14 17:50:40 +01:00
Lorenz Meier
5936844595
Update to latest mission API
2020-03-14 17:50:40 +01:00
Lorenz Meier
b405c7e9bd
Navigator: Add ability to wait for a position gate with executing the mission
...
This enables the navigator to wait for a specific gate coordinate to pass orthogonally to the current trajectory. This is particularly helpful for payload / camera handling in missions and avoids a dependency of payload handling on navigation waypoints.
2020-03-14 17:50:40 +01:00
Daniel Agar
a89b69b0ea
vehicle_global_position: remove velocity fields (duplicates of local vx, vy, vz)
...
* attitude_estimator_q: get velocity from local position (if available)
2020-03-11 23:57:43 -04:00
Matthias Grob
9f545ae3cf
navigator: convert to radians in configuration getter
2019-11-22 13:36:05 -05:00
Daniel Agar
515e896cde
navigator: set position setpoint timestamp
2019-11-19 10:24:52 -05:00
Julian Oes
ea35923d3a
navigator: bugfix to prevent NaN setpoints
...
The asinf function is NaN outside of -1 to 1. Therefore, it probably
makes sense to constrain the input to prevent NaN setpoints further down
the line.
2019-10-09 08:36:34 -06:00
Silvan Fuhrer
b1d38ee050
Navigator: VTOL: fix mission yawing timeout (MIS_YAW_TMT)
...
Signed-off-by: Silvan Fuhrer <silvan@auterion.com >
2019-08-21 10:08:04 +02:00
Timothy Scott
21760a5856
Changed constant name to UNMANNED_GROUND_VEHICLE
2019-06-13 10:04:26 +02:00
Timothy Scott
a134da6e12
Removed is_rotor_wing, replaced with vehicle_type
2019-06-13 10:04:26 +02:00
Timothy Scott
2ca40bfc65
Changed navigator to properly separate xy and z distance to waypoint
2019-06-13 10:04:26 +02:00
Daniel Agar
79d4c09d59
uORB::Publication simplify and cleanup
...
- base class is now template
- drop linked list
- virtualization no longer required
2019-06-12 08:48:19 -04:00
Daniel Agar
468fb53459
navigator fix FW loiter to alt tangent exit ( #11576 )
...
- fixes #11317
2019-03-03 22:22:32 -05:00
Daniel Agar
83e76ece1c
navigator mission block fix get_time_inside() and cleanup helpers
2019-02-06 18:59:11 -05:00
Daniel Agar
3665bc59b8
navigator initialize all mission items safely
2019-02-06 18:59:11 -05:00
CarlOlsson
e6d378c9aa
navigator: fix typo
2018-10-22 09:26:06 -04:00
Martina
18f4144e5a
mission_block: when creating a triplet from a mission item use the default
...
acceptance radius from the paramters and overwrite it if the mission item
has set acceptance radius
2018-10-09 12:01:45 -04:00
Martina
7031bb5a6d
navigator: add yaw_acceptance getter to incorporate feedback from position
...
controller. The yaw acceptance is defined by the mission item. If the pos
control sets it to NAN, then the yaw at a waypoint is ignored.
2018-09-24 11:23:01 +02:00
Philipp Oettershagen
20c02ae093
Fixed-wing autoland: Adapt according to @dagar's and @antiheavy's comments.
2018-08-24 10:13:07 -04:00
Philipp Oettershagen
ec4ccc1fcd
Fixed-wing autoland: Use a more appropriate (i.e. mostly tighter) altitude acceptance radius than just the standard altitude acceptance parameter (which may be too large to allow a precise autoland)
2018-08-24 10:13:07 -04:00
Alessandro Simovic
aad1ff0209
mission_block: explicit type conversion
2018-08-06 16:17:11 +02:00
Alessandro Simovic
b527187a10
mission_block: swapped "param6" for "altitude" for consistency
2018-08-06 16:17:11 +02:00
Alessandro Simovic
337133e9fa
use double LAT/LONG fields instead of float params for storing ROI settings
2018-08-06 16:17:11 +02:00
Jake Dahl
57dfcee842
added a check for not maybe_landed upon takeoff
2018-07-26 07:49:14 +02:00
Jake Dahl
a1ff4a8a67
removed unneccessary includes, eliminated namespace on math, changed date
...
changed a comment
reverted a file back to master
2018-07-26 07:46:24 +02:00
Jake Dahl
130cdf25bf
prevent RTL if already landing
2018-07-26 07:46:24 +02:00
Daniel Agar
cf74166801
double promotion warning fix or ignore per module
2018-07-01 09:36:55 +00:00
Daniel Agar
d0bde9ab2a
replace geo _wrap_pi with matrix::wrap_pi
2018-06-12 09:00:52 +02:00
Florian Achermann
84578748f4
Navigator Mission RTL ( #8749 )
...
* Add return to land to mission
This method uses the planned mission for rtl. If a landing sequence
is present it will continue the mission and land. If not it will
fly back the mission and loiter/land at the home position.
2018-05-27 12:07:06 -04:00
Sander Smeets
04cc5c5611
Navigator: VTOL only apply acceptance radius calculation for FW part of back transition ( #9519 )
2018-05-23 19:46:36 -04:00
Daniel Agar
29b3950747
move geo and geo_lookup to PX4/ecl
2018-03-26 23:16:55 -04:00
Beat Küng
f2dddc65a5
navigator: use new Param class
2018-03-13 17:35:15 +01: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
Nicolas de Palezieux
bedaafcc20
NAV_CMD_DO_SET_ROI: handle relative altitude in mission ROI commands
2018-01-22 15:56:42 +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
58d1cdc733
Allow MAV_CMD_DO_SET_HOME as a mission command
2017-12-20 10:19:07 +01:00