Lorenz Meier
502a25d27f
Navigator: Update to new sensors combined topic
2015-08-30 11:37:27 +02:00
Lorenz Meier
700594e743
Merge branch 'beta'
2015-08-28 22:03:12 +02:00
Lorenz Meier
ad1dff434d
Navigator: Fix out of index warnings when empty offboard mission was read
2015-08-26 20:14:40 +02:00
Lorenz Meier
d26aa2c85b
Fix navigator priority
2015-08-23 17:41:15 +02:00
Lorenz Meier
51293ad554
navigator: Adjust to uORB mission changes
2015-08-20 11:07:40 +02:00
Lorenz Meier
33bd30233e
Remove mission topic and move it to auto-generated
2015-08-20 11:07:11 +02:00
Lorenz Meier
a01ca427b0
Fix code style
2015-08-18 23:20:03 +02:00
fpvaspassion
fef432d852
Actuator limits and channels corrrection
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
158c260c43
update loitering coordinates when 183 mission item is lastone
2015-08-18 23:17:07 +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
Simon Wilks
4eef65f313
Enable ms5611 driver and fix build errors.
2015-08-18 23:01:52 +02:00
Lorenz Meier
0d37de005b
Merged beta to master
2015-07-17 23:42:23 +02:00
Lorenz Meier
d8a54f5018
Navigator: fix feedback on success / fail
2015-07-17 20:59:39 +02:00
Lorenz Meier
253b8f50ce
Load missions correctly after restart. Fixes #2564
2015-07-17 20:35:07 +02:00
Lorenz Meier
a45391b244
Navigator: If orb copy fails, print FD
2015-07-05 16:17:29 +02:00
Lorenz Meier
8c5d99484e
Navigator: Improve output
2015-07-05 13:45:10 +02:00
Lorenz Meier
395ef5562c
navigator: Fix param meta data and comments
2015-06-30 07:10:26 +02:00
Lorenz Meier
0271a56487
navigator: Fix param meta data
2015-06-30 07:00:30 +02:00
Lorenz Meier
d19de58102
Merge branch 'master' of github.com:PX4/Firmware into master_release
2015-06-27 11:54:17 -07:00
Lorenz Meier
50ba1f7365
merged release_v1.0.0 into master
2015-06-30 15:30:45 +02:00
tumbili
47c4ece9eb
use px4_poll instead of poll
2015-06-26 15:07:30 +02:00
Lorenz Meier
454becdae5
Merged release_v1.0.0 branch into master
2015-06-25 21:45:17 +02:00
Lorenz Meier
d673bf8457
Navigator: Reduce excessive stack allocation
2015-06-22 22:16:03 +02:00
Lorenz Meier
677aef6673
navigator: Fixed bitwise or
2015-06-15 21:55:02 +02:00
Lorenz Meier
41f535ae26
navigator: Include distance to first waypoint in mission check, provide warning feedback
2015-06-15 17:28:05 +02:00
Lorenz Meier
174f4d27f3
Navigator: output new mission status
2015-06-15 17:28:05 +02:00
Lorenz Meier
2cf10a5e99
Navigator: Publish mission validity in mission result
2015-06-15 17:28:04 +02:00
Lorenz Meier
c9fefe236b
Merged release into master
2015-06-13 11:06:01 +02:00
Lorenz Meier
05993bee6f
Navigator: Provide better feedback if no mission present, enforce minimum altitude in loiter and in auto modes
2015-06-12 15:57:27 +02:00
Lorenz Meier
540ffa7861
Let user know we are loitering now
2015-06-12 14:02:47 +02:00
Mark Charlebois
4d1ae6269b
POSIX: Added PX4_ROOTFSDIR to file paths
...
Set a default path relative to current dir for the posix target.
Running make posixrun will create the required directoroes and then run
mainapp from its build location.
PX4_ROOTFSDIR is set to nothing for nuttx.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-06-11 21:36:13 -07:00
Lorenz Meier
7540aa6b87
Navigator: Make logic using previous and current altitudes consistent
2015-06-11 21:05:38 +02:00
Lorenz Meier
a66b1b9d04
Improve feedback when auto mode is rejected due to a non suitable mission
2015-06-11 17:03:13 +02:00
Lorenz Meier
bc48634101
Navigator: Reject missions with relative altitude if no home was set before arming
2015-06-11 17:03:12 +02:00
Lorenz Meier
30969eb10c
Navigator: Use correct open call
2015-06-10 13:20:13 +02:00
Lorenz Meier
1ecbf674aa
navigator: Finish rework of switch distance to account for vehicle dynamics
2015-06-08 16:48:50 +02:00
Lorenz Meier
1fb7434128
Navigation capabilites: Ensure regular publication of updated topic
2015-06-08 16:48:50 +02:00
Lorenz Meier
b2a694f71d
navigator: Use the controller radius also as lower bound for mission items
2015-06-08 16:48:50 +02:00
Lorenz Meier
0f3438eb17
Navigator: Obey minimum turn radius the controller is capabable of.
2015-06-08 16:48:49 +02:00
Lorenz Meier
a0f2075d5a
navigator: Decide feasibility of mission based on current position, not home
2015-06-05 22:44:00 +02:00
Lorenz Meier
1d58190bf9
Default altitude mode to first order hold (line between waypoints) and allow missions to be further away to still successfully start them
2015-06-04 13:31:12 +02:00
Roman
7331ea32ef
make navigator work for posix
2015-06-01 23:40:20 +02:00
Roman
b688e3b97c
remove unnecessary parenthesis
2015-06-01 11:17:40 +02:00
Roman
9ff89ffe5c
use PX4_ISFINITE
2015-06-01 11:16:32 +02:00
Lorenz Meier
c9e8af8e9b
Update navigator to reflect topic updates.
2015-05-27 15:21:31 -07:00
Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -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