Commit Graph

6016 Commits

Author SHA1 Message Date
Lorenz Meier cc9d8c7a1c Merge pull request #2418 from tumbili/vtol_rework
Vtol rework
2015-06-19 00:34:21 +02:00
tumbili b3c3d6634c added vtol types 2015-06-19 00:04:24 +02:00
tumbili 526698854c adapt vtol attitude control class to new vtol type classes 2015-06-19 00:04:24 +02:00
tumbili 77077cb92a added tailsitter attitude control class 2015-06-19 00:04:24 +02:00
tumbili a212e45744 added tiltrotor attitude control class 2015-06-19 00:04:24 +02:00
Lorenz Meier e23712c47c Merge pull request #2395 from tumbili/takeoff_help
ask for climbout mode when doin takeoff help
2015-06-18 23:56:28 +02:00
tumbili 1ccded0305 added generic class for vtol types 2015-06-18 23:55:30 +02:00
Mark Charlebois 785053e4f1 px4_log: reverted unused attribute annotations
Used a do_nothing() function for px4_omit() that will satisfy the
compiler so it will not report unused variables when a debug
message is compiled out.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-18 07:41:22 -07:00
Lorenz Meier e08dc0df40 Add support for RC_CHANNELS_OVERRIDE in addition to normal message 2015-06-18 11:03:32 +02:00
Lorenz Meier a94a8c5f51 sdlog2: Flow: Remove unused field 2015-06-18 08:56:36 +02:00
Lorenz Meier 3cd211ed72 MC pos control: Do not raise min throttle too far. 2015-06-18 08:56:00 +02:00
Lorenz Meier f619c1390e Merge pull request #2366 from PX4/ekf_airspeed
EKF unfiltered airspeed
2015-06-18 08:36:11 +02:00
Mark Charlebois 29a36da22c px4_log: Added documentation and handled unused variables
Added __attribute__ ((unused)) for variables used only for log
output and flagged as unused if the message log level is compiled out.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 17:11:21 -07:00
Mark Charlebois 1a8703ec1c Improved logging with both compile and runtime level filtering
The device level debug will have to be removed and the debugging
can be based on this new logging structure which can tell where
an error (or debug output) occured whch the current implmentation
cannot.

The one limitation is the new macros cannot take a char* for the
format parameter. It must be an actual string literal because it
is concatenated with other strings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-17 13:28:27 -07:00
David Sidrane 3e64ad10e8 Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 19:43:06 +02:00
David Sidrane d6c2dd997b Conditional inclusion of the Node Allocation and FW Server - default is OFF 2015-06-17 06:21:28 -10:00
Roman 0446efa9a4 limit roll angle in loiter and position control mode if we are in a takeoff situation 2015-06-17 17:46:37 +02:00
Roman 6ce106eea4 limit minimum pitch in altitude controller modes if in a takeoff situation 2015-06-17 17:36:26 +02:00
tumbili 5c59d7a434 do not run tecs if we are on ground to prevent integrator filling 2015-06-16 23:05:58 +02:00
tumbili c91bb76b42 ask for climbout mode when doin takeoff help 2015-06-16 23:05:58 +02:00
Mohammed Kabir 3d92364d9e camera trigger : increase free cycling time when we are not enabled 2015-06-16 22:55:05 +05:30
Lorenz Meier 7c8ea1f680 Merge pull request #2370 from PX4/mission_feedback
Mission feedback
2015-06-16 18:18:05 +02:00
Mohammed Kabir 6a818ae053 commander : ignore handling camera_trigger command 2015-06-16 15:47:55 +05:30
Mohammed Kabir ba89883fb0 camera trigger: minor cleanup 2015-06-16 15:44:58 +05:30
Lorenz Meier 460c6bcf57 MC att control demand: Require a higher minimum throttle 2015-06-15 21:56:44 +02:00
Lorenz Meier 677aef6673 navigator: Fixed bitwise or 2015-06-15 21:55:02 +02:00
Mohammed Kabir 0dc6e65d7a camera_trigger : direct GPIO access. finally working. 2015-06-15 23:24:14 +05:30
Ban Siesta 3489c3de1c uORBDevices_posix: copied over fixes from uORBDevices_nuttx 2015-06-15 18:34:52 +02:00
Ban Siesta 21d9bd70a3 uORBDevices_nuttx: Fixed the bug that a publisher had to be started
before an advertiser for multi_pub/subs.

This is achieved using
- A "published"  flag for each uORB device node
- A check before increasing the instance count (basically, a node is
  re-used if nothing has been published on it before which means that it
  has been created by a subscriber.
2015-06-15 18:34:52 +02:00
Ban Siesta 9ecf4345a5 ORBMap: bugfix, got rid of infinite Looping Louie 2015-06-15 18:34:51 +02:00
Ban Siesta c5fd277a9e ORBMap: whitespace 2015-06-15 18:34:51 +02:00
Ban Siesta fee8449de3 uORBDevices: astyle 2015-06-15 18:34:51 +02:00
Ban Siesta f4f761042b uORBManager: astyle 2015-06-15 18:31:01 +02:00
Ban Siesta adaaeff48a uORBTest_UnitTest: Split test function in 3 separate functions and add a
test which fails because it does the subscription before the advertisement.
2015-06-15 18:31:01 +02:00
Ban Siesta c584bab811 uORB: document ORB_MULTI_MAX_INSTANCES 2015-06-15 18:31:01 +02:00
Ban Siesta 99a442b80e uORB: bump ORB_MULTI_MAX_INSTANCES to 4 because this is needed for an extended unit-test 2015-06-15 18:31:01 +02:00
Ban Siesta 8be1b4f19c uORBTest_UnitTest: astyle 2015-06-15 18:31:01 +02:00
Ban Siesta 45f5907716 uORBTest_UnitTest: say who you are in the printf 2015-06-15 18:31:00 +02:00
Lorenz Meier 56a8f0e604 Merge pull request #2377 from mcharleb/getpid-fix
POSIX: px4_getpid() fix
2015-06-15 18:19:23 +02:00
Roman 75c1588241 only send autopilot capabilities blindly for serial connection 2015-06-15 18:03:05 +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 b11e133318 Evaluate warning field from mission result 2015-06-15 17:28:05 +02:00
Lorenz Meier b5a79bbc0b commander: Use distinct tunes for home set and mission ok / failed 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 a4b2389460 Commander: Support 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 2ba8ac4438 Move mission result to generated topics 2015-06-15 17:28:04 +02:00
Mark Charlebois d66b6ea701 POSIX: px4_getpid() fix
Since the PX4 code uses both px4_task and pthread APIs,
px4_getpid() must be save to call from either context.

On posix, this means we have to always return the pthread ID.

Reverted simulator change of pthread to px4_task

There may have been side effects if this was build for a target that
has process/task scoped file descriptors. It is now safe to call
px4_getpid() from this pthread context with this change for the
posix build for px4_getpid().

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 08:25:57 -07:00
Lorenz Meier dc03793426 Merge pull request #2368 from PX4/manual_climbout
FW pos control: Perform climbout if user requests more than 85% pitch up
2015-06-15 16:02:53 +02:00
Lorenz Meier 82352a64aa commander: Remove unused param handles 2015-06-14 19:36:29 +02:00