Pierre Kancir
92be1780ac
AP_Mission: move get_bearing_cd to Location and rename to get_bearing_to
2019-04-06 09:10:28 +11:00
Michael du Breuil
c996dabc12
AP_Mission: Include camera
2019-04-05 20:12:53 +11:00
Peter Barker
30d2a2a4fd
AP_Mission: emit mission descriptions as they are run
...
Also add more mission-type-id to string mappings
Abort in SITL if no description for item
2019-04-02 11:07:58 +11:00
Pierre Kancir
b58ded8e0c
AP_Mission: use void casting to prevent GCC warning on memcopy
2019-03-26 10:43:23 +11:00
Peter Barker
9ab33fd3c4
AP_Mission: use enum class for AltFrame enumeration
2019-03-19 10:31:18 +11:00
Randy Mackay
1e1f14f6e9
AP_Mission: add text string for do-guided-limits
2019-03-15 14:51:35 +09:00
Randy Mackay
f4416cd3f2
AP_Mission: nav-guided-enable command stores location
...
this allows sending the location to an offboard navigation system
also add text string for nav-guided-enable command
2019-03-15 14:51:35 +09:00
Dr.-Ing. Amilcar do Carmo Lucas
fa9a460c30
AP_Mission: replace location_offset() and get_distance() function calls with Location object member function calls
...
This allows removing duplicated code
2019-02-28 11:44:09 +11:00
Peter Barker
25282c2989
AP_Mission: rearrange for early-exit if command not found for index
2019-02-21 08:31:12 +11:00
Peter Barker
3c3cda81e9
AP_Mission: remove redundant check
...
get_next_do_command does this check
2019-02-21 08:31:12 +11:00
Peter Barker
f5d50935fd
AP_Mission: scope variables more tightly
2019-02-21 08:31:12 +11:00
Peter Barker
7da35e9d08
AP_Mission: change while loop out for for loop
2019-02-21 08:31:12 +11:00
Peter Barker
c594e51922
AP_Mission: limit memcpy to constant 12 bytes
...
... essentially to make static analyzers happy
2019-02-20 16:35:55 +11:00
Peter Barker
9cd881b56c
AP_Mission: move responsibility for parachute deployment up
2019-02-13 09:25:27 +09:00
Peter Barker
402be4eaca
AP_Mission: const writing of commands to storage
2019-01-30 19:20:27 +09:00
Peter Barker
2fa0b61f8b
AP_Math: update example/test for Location_Class merge
2019-01-16 11:45:29 +11:00
Peter Barker
b12dc3cde7
AP_Mission: adjust for Location_Class and Location unification
2019-01-16 11:45:29 +11:00
Peter Barker
1b2ac38691
AP_Mission: adjust for Location no longer being packed
2019-01-16 11:45:29 +11:00
Michael du Breuil
fccf23dff2
AP_Mission: Add a helper to check if a mission contains an item
2019-01-08 10:39:50 +11:00
Peter Barker
59497c4635
AP_Mission: remove unused copy_alt variable
2019-01-03 10:21:31 +09:00
Michael du Breuil
670eaf8782
AP_Mission: Accept and store landing aborts in the mission
2018-12-15 09:03:25 +11:00
Peter Barker
a9b94ae13d
AP_Mission: use ahrs singleton
2018-11-08 10:01:16 +09:00
Peter Barker
1e39c17908
AP_Mission: return true if cmd-do was handled, false otherwise
2018-10-30 15:37:18 +11:00
Peter Barker
b1b5a7868d
AP_Mission: handle common camera commands
2018-10-30 15:37:18 +11:00
Peter Barker
51d4b2da34
AP_Mission: move servorelayevents handling into AP_Mission
2018-10-30 15:37:18 +11:00
Peter Barker
182d3634aa
AP_Mission: handle gripper mission items
2018-10-30 15:37:18 +11:00
Peter Barker
8ebec6a237
AP_Mission: create start_command and verify_command wrappers
2018-10-30 15:37:18 +11:00
Michael du Breuil
7db5daadad
AP_Mission: If a command fails to start immediately cycle to the next
2018-09-11 06:42:00 +10:00
Peter Barker
71bff63bff
AP_Mission: remove erroneous comment about clear()
2018-09-04 10:32:26 +10:00
Peter Barker
16b49399db
AP_Mission: add singleton
2018-09-04 10:32:26 +10:00
Michael du Breuil
e878558d41
AP_Mission: Reduce the number of places _set_cmd is called from
2018-08-28 10:01:36 +10:00
Andrew Tridgell
0289ad03df
AP_Mission: added semaphore for thread access
2018-08-25 15:44:36 +10:00
Peter Barker
32bc1860de
AP_Mission: starts_with_takeoff_cmd skips past mav_cmd_nav_delay
2018-08-20 14:15:40 +09:00
Peter Barker
9af11d79d1
AP_Mission: remove pointless else clauses
2018-08-20 14:15:40 +09:00
Francisco Ferreira
930981914a
AP_Mission: fix small bug in d5a4c6b
2018-04-26 23:21:29 +01:00
Michael du Breuil
d5a4c6b5bc
AP_Mission: Sanity check for NaN's and infinities
2018-04-26 14:48:14 -07:00
Lucas De Marchi
25490b6151
AP_Mission: use ins singleton
2018-03-16 00:37:35 -07:00
Peter Barker
beb85e49fb
AP_Mission: use baro singleton
2018-03-08 21:20:05 -08:00
Peter Barker
89d3289400
AP_Mission: AP_AHRS no longer requires GPS in constructor
2017-12-27 00:58:02 +00:00
Andrew Tridgell
a3e07f66a1
AP_Mission: removed create() method for objects
...
See discussion here:
https://github.com/ArduPilot/ardupilot/issues/7331
we were getting some uninitialised variables. While it only showed up in
AP_SbusOut, it means we can't be sure it won't happen on other objects,
so safest to remove the approach
Thanks to assistance from Lucas, Peter and Francisco
2017-12-14 08:12:28 +11:00
Peter Barker
30355fa6d8
AP_Mission: provide short description for mission item types
2017-11-27 10:28:24 +09:00
Randy Mackay
8b4345f29d
AP_Mission: add winch support
2017-10-27 09:20:38 +09:00
Michael du Breuil
a0a16b8369
AP_Mission: Load yaw heading for landing commands
2017-10-17 14:37:11 -07:00
Michael du Breuil
dbf67aa38a
AP_Mission: Remove duplicated code associated with copy the waypoint location
2017-10-16 10:02:33 -07:00
Lucas De Marchi
bfd13dfe87
global: use static method to construct AP_AHRS_DCM
2017-09-26 03:01:21 +01:00
Lucas De Marchi
b36a5919f5
global: use static method to construct AP_Mission
...
This also move the initialization to be in the header for those that
weren't already to maintain consistency.
2017-09-26 03:01:21 +01:00
Lucas De Marchi
ef50783268
AP_Mission: add static create method
2017-09-26 03:01:21 +01:00
Lucas De Marchi
8094482f21
global: use static method to construct AP_GPS
2017-09-26 03:01:21 +01:00
Lucas De Marchi
87b30b4552
global: use static method to construct AP_InertialSensor
2017-09-26 03:01:21 +01:00
Lucas De Marchi
c1a957fbf3
global: use static method to construct Compass
2017-09-26 03:01:21 +01:00