Lorenz Meier
4565f57468
Merged release_v1.0.0 into master
2015-05-27 15:28:41 -07:00
Lorenz Meier
c9e8af8e9b
Update navigator to reflect topic updates.
2015-05-27 15:21:31 -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
Ban Siesta
321e1c1f7b
navigator: stop complaining about some geofence not cleared
2015-05-26 23:00:44 -07:00
Ban Siesta
3c39e85fdf
navigator: stop complaining about some geofence not cleared
2015-05-25 18:09:01 +01:00
Lorenz Meier
01fd84e4dc
mavlink and commander app: Add support for manual input, either directly or via remote control
2015-05-24 20:11:50 +02:00
Roman Bapst
5a53a4f7bf
do not update mission if it has unsupported mission items
2015-05-21 20:09:15 +02:00
Roman Bapst
afa8266255
do not update mission if it has unsupported mission items
2015-05-21 20:08:49 +02:00
Lorenz Meier
d906fb8f31
Merged master into linux
2015-05-19 21:00:02 +02:00
Lorenz Meier
11564a0f14
Mission yaw mode: Default to facing the next waypoint
2015-05-19 17:03:28 +02:00
Mark Charlebois
36f5d47ed9
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/modules/commander/gyro_calibration.cpp
src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Lorenz Meier
b3ed0cf36b
Navigator: be more verbose about RTL
2015-05-11 09:37:42 +02:00
Mark Charlebois
c5237f7f6f
Removed extra abstracton layer in systemlib
...
The calls to task_spawn_cmd, kill_all, and systemreset were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.
Removed the wrappers and changed all calls to the px4_ equivalents.
NuttX specific code was moved into px4_tasks.h
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-05-06 14:43:11 -07:00
Mark Charlebois
190814bc97
Merge remote-tracking branch 'upstream/master' into linux
...
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
Conflicts:
src/drivers/rgbled/rgbled.cpp
src/modules/commander/PreflightCheck.cpp
src/modules/commander/airspeed_calibration.cpp
src/modules/commander/calibration_routines.cpp
src/modules/commander/gyro_calibration.cpp
src/modules/commander/mag_calibration.cpp
src/modules/mc_att_control/mc_att_control_main.cpp
2015-04-28 11:48:26 -07:00
Lorenz Meier
b739ad1a80
Remove reference to completely unused parameter
2015-04-26 23:36:16 +02:00
Lorenz Meier
b7409635b7
Mission feasibility checker: Do not use static where its not needed.
2015-04-26 14:33:57 +02:00
Lorenz Meier
f7f949f455
Navigator: Reduce excessive stack
2015-04-26 14:33:56 +02:00
Mark Charlebois
9758112e31
Use px4_config.h instead of nuttx/config.h
...
Modified code to use OS independent header file for config settings.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:55:41 -07:00
Mark Charlebois
bf429188b4
Reverted: Use OS independent API for task creation/deletion
...
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Mark Charlebois
ddb32742eb
Use OS independent API for task creation/deletion
...
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.
The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.
Signed-off-by: Mark Charlebois <charlebm@gmail.com >
2015-04-20 10:49:44 -07:00
Daniel Agar
230c0b95e3
GF range warning limit mavlink critical messages
...
-only send a mavlink critical message every 3 seconds
2015-04-17 20:15:43 -04:00
Lorenz Meier
c9c1c9d58a
Fix #1789 - takeoff sideways on beginning of missions
2015-04-15 21:15:19 +02:00
Don Gagne
05c351183f
Parameter meta data fixes
2015-04-15 11:29:37 -07:00
Lorenz Meier
cf0a7bde67
Merge pull request #2029 from DonLakeFlyer/ParamXml
...
Store parameter xml size in .px4 file
2015-04-15 09:35:29 +02:00
Don Gagne
3dc8cf8769
Clean up parameter meta data as needed by QGC
2015-04-14 23:26:14 -07:00
Lorenz Meier
4b34221614
navigator: Get rid of audio tag in strings and use appropriate priority to get audio out when needed in the GCS
2015-04-14 13:25:49 +02:00
Daniel Agar
25dfd84b40
Geofence max horizontal and vertical distance
...
-changes GF_ON to GF_MODE
-adds GF_MAX_HOR_DIST and GF_MAX_VER_DIST params
2015-04-13 22:22:19 -04:00
Daniel Agar
8aae66b893
trivial code style cleanup round 2
2015-03-27 23:38:58 -04:00
Daniel Agar
c2abb0f82a
fix code style if trivial one line difference
2015-03-19 23:49:36 +01:00
Andreas Antener
81648f84cd
increase RTL descend altitude
2015-02-27 22:22:19 +01:00
Lorenz Meier
dc46736ead
Merge ROS into master
2015-02-03 20:07:55 +01:00
Lorenz Meier
b42b6c50d4
Improve Navigator output
2015-02-03 14:21:31 +01:00
Thomas Gubler
84ff3c671d
Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge2_attctrl_posctrl
...
Conflicts:
src/drivers/px4fmu/fmu.cpp
2015-02-01 11:06:47 +01:00
Simon Wilks
e9bcc0a262
Add yaw modes that define multirotor heading behaviour during missions.
2015-01-31 11:22:01 +01:00
Thomas Gubler
2d124852c1
propagate uorb contants change through all modules/drivers
2015-01-28 16:31:41 +01:00
Daniel Agar
ce11cc9f32
geofence.cpp format
2015-01-22 15:02:43 +01:00
Daniel Agar
20a8b26ac8
Fixed coverity CID #12538
2015-01-22 15:02:43 +01:00
Lorenz Meier
4942883ddc
RTL params: Set safer initial value for RTL altitude for all vehicles, improve dparam documentation
2014-12-30 10:45:09 +01:00
Lorenz Meier
6fae021a00
Merge pull request #1527 from dagar/Werror
...
turn on -Werror and fix resulting errors
2014-12-25 17:44:44 +01:00
Thomas Gubler
ba4b8c8e00
Merge pull request #1523 from bansiesta/geofence_parse_fix
...
Geofence parse fix
2014-12-23 09:20:00 +01:00
Daniel Agar
d511e39ea7
turn on -Werror and fix resulting errors
2014-12-22 17:56:59 -05:00
Ban Siesta
82383533c1
geofence: be more verbose if import fails
2014-12-21 14:09:30 +00:00
Ban Siesta
b1f462a266
geofence: don't fall over lines containing just a LF
2014-12-21 14:09:04 +00:00
Ban Siesta
a4e27fd849
navigator: reset some flags after the mission result has been published
2014-12-19 23:39:25 +00: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
7cb4786e79
navigator: report when a waypoint has been reached not when the whole mission is finished
2014-12-19 23:38:10 +00:00
Ban Siesta
f0ff914b62
navigator: don't publish mission result immediately but only after every iteration of the navigator
2014-12-19 23:36:32 +00:00
Ban Siesta
5bbd0743e0
navigator: deleted some verbose output
2014-12-19 22:27:25 +00:00
Ban Siesta
2a09473e5f
topics: move geofence status to its own topic
2014-12-19 22:26:31 +00:00