sander
a713fd4197
Implemented VTOL_TAKEOFF and VTOL_LAND commands
2016-04-02 21:29:25 +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
b75eaf3c4a
implemented takeoff before WP and move to WP before land
2016-02-08 11:09:10 +01:00
Andreas Antener
7a592d56a2
initialize mission item struct
2016-02-07 11:36:03 +01:00
sander
f0bad06bfd
Fixes https://github.com/PX4/Firmware/issues/3658
2016-02-03 11:48:42 +01:00
Andreas Antener
7e7b21cbdc
use raw parameter floats if mission item is a mission command
2016-01-11 08:19:00 +01:00
Lorenz Meier
5d9048280f
Fix code style
2015-12-21 14:15:24 +01:00
Lorenz Meier
2041e3f3bc
Handle unsupported commands gracefully in terms of their numerical range. Introduce an error code for out-of-range commands.
2015-12-21 09:19:39 +01:00
Lorenz Meier
fe4c67a781
Fixed MAVLink mission transmission
2015-10-30 18:42:10 +01:00
Lorenz Meier
90798a7cb6
Revert "Do not check component ID for mission handling partner"
...
This reverts commit e0e7a2414e .
2015-10-30 18:42:10 +01:00
Lorenz Meier
e0e7a2414e
Do not check component ID for mission handling partner
2015-10-30 16:59:37 +01:00
Don Gagne
51e9f686e3
Fix MAV_FRAME_MISSION usage
2015-10-12 15:06:20 -07:00
Lorenz Meier
1977dc1a3f
MAVLink app: Stop spamming the user with file system errors after two failures.
2015-09-07 10:23:15 +02:00
Lorenz Meier
a058ce4b8e
Mission: Do not emit status messages if nothing changes
2015-09-04 14:57:51 +02:00
Lorenz Meier
a0b20f223c
MAVLink: Adjust to uORB mission changes
2015-08-20 11:08:05 +02:00
fpvaspassion
456bdd070a
Cleanup of mission item parsing
2015-08-18 23:17:08 +02:00
fpvaspassion
477625a53c
Last corrections of PWM mission control
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
oberion
2bcdcbedae
mavlink_mission: Removed hack. It is automatically set in the init phase after successful connection
2015-08-10 15:35:18 +02:00
oberion
a985b37c80
mavlink/mavlink_mission: Dirty fix for setting waypoints over multiple mavlink link
2015-08-05 16:14:17 +02:00
Mark Charlebois
a452478ef9
More fixups for orb_advert_t changed to void *
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
1ca05aaa64
orb_advert_t changed to void * and checks changed to nullptr
...
The existing orb_advert_t use thoughout the code sometimes tries
to treat it as a file descriptor and there are checks for < 0
and ::close calls on orb_advert_t types which is an invalid use
of an object pointer, which is what orb_advert_t really is.
Initially I had changed the -1 initializations to 0 but it was
suggested that this should be nullptr. That was a good recommendation
but the definition of orb_advert_t had to change to void * because
you cannot initialize a uintptr_t as nullptr.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:42:49 -07:00
Mark Charlebois
a734fc96d1
extensive orb_advert_t fixes
...
The calls to orb_advertise were being mishandled throughout the code.
There were ::close() calls on memory pointers, there were checks
against < 0 when it is a pointer to a object and values larger than
0x7ffffffff are valid. Some places orb_advert_t variables were
being initialized as 0 other places as -1.
The orb_advert_t type was changed to uintptr_t so the pointer value
would not be wrapped as a negative number. This was causing a failure
on ARM.
Tests for < 0 were changed to == 0 since a null pointer is the valid
representation for error, or uninitialized.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-27 14:41:33 -07:00
Lorenz Meier
d351772a46
mavlink app: Be less chatty on startup
2015-01-09 09:09:40 +01:00
Ban Siesta
180e17de33
navigator: report using mission result if a DO_JUMP waypoint has been changed
2014-12-19 23:38:55 +00:00
Ban Siesta
c9ca61ef5b
mavlink: don't slow mission updates down like this, otherwise we might miss mission results
2014-12-19 23:34:18 +00:00
Thomas Gubler
7dfc67d032
fix mission item to mavink waypoint conversion
2014-09-03 17:52:24 +02:00
Lorenz Meier
9c75b9562e
Be more permissive with mission component IDs, renamed camera to onboard link but still accepting same commandline syntax
2014-08-21 14:39:17 +02:00
Anton Babushkin
3cbfe989c7
mavlink: missions manager compID cleanup, use the common compID, stict compID checks for incoming messages
2014-08-20 21:54:38 +02:00
Anton Babushkin
b31ddc193c
mavlink: tix mission manager to use MavlinkStream API
2014-07-24 19:31:25 +02:00
Anton Babushkin
a5f2d1b066
mavlink: new message sending API, includes fixed
2014-07-23 11:11:49 +02:00
Lorenz Meier
0144a7dacf
mavlink: Optimize to native types where possible, move things to optimize alignment
2014-07-12 18:43:09 +02:00
Lorenz Meier
7b768d11c3
Improve mission feedback, fix compile errors
2014-07-12 14:31:09 +02:00
Anton Babushkin
e57579fa21
mavlink, navigator: compile errors/warnings fixed
2014-07-10 17:08:23 +02:00
Anton Babushkin
9b2d444cc5
dataman: use DM_KEY_WAYPOINTS_OFFBOARD() macro everywhere
2014-07-10 14:08:09 +02:00
Anton Babushkin
da2f68a6a0
mavlink: don't lock dataman when updating mission state
2014-06-21 14:25:29 +02:00
Anton Babushkin
3b6458859f
Merge branch 'navigator_rewrite' into dataman_state_nav_rewrite
2014-06-15 17:30:44 +02:00
Anton Babushkin
5be741607c
mavlink: mission manager moved to separate class and reworked
2014-06-14 23:57:29 +02:00