15166 Commits

Author SHA1 Message Date
tumbili
e6cee32952 add simulated gps driver to startup for SITL 2015-06-15 21:59:58 +02:00
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
Lorenz Meier
dc839b67e8 Fix POSIX README.md path 2015-06-15 21:36:42 +02:00
Lorenz Meier
48bf40d5d1 POSIX: Add initial SITL instructions 2015-06-15 21:35:10 +02:00
Lorenz Meier
829d830d43 Merge pull request #2378 from mcharleb/sitl-rename
SITL: changed posix_default to posix_sitl
2015-06-15 20:18:51 +02:00
Lorenz Meier
5eee806adf Merge pull request #2380 from PX4/dma_hotfix
This is a temporary hot fix for lost data
2015-06-15 20:16:56 +02:00
Mohammed Kabir
0dc6e65d7a camera_trigger : direct GPIO access. finally working. 2015-06-15 23:24:14 +05:30
David Sidrane
e7a3674c1d This is a temporary hot fix for lost data 2015-06-15 07:03:14 -10:00
Mark Charlebois
729653ba71 SITL: changed posix_default to posix_sitl
The SITL build is now the default posix build.

The linker script for posix was moved to makefiles/posix.
The rc.S file was moved to posix-configs/SITL/init/
The POSIXTEST board definition is now SITL

To run the SITL test run:

make sitlrun

This replaces the make posixrun target.

The build directory is now Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 09:51:07 -07:00
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
9745d16905 Merge pull request #1977 from devbharat/fix_issue_1963
Shifted the set() function for Matrix3x3, Vector2, Vector3, Vector4 to a...
2015-06-15 17:35:40 +02:00
Lorenz Meier
73d179fb59 MS5611 driver: Fix reeset logic via I2C, minor code style fixes. Fixes #2007, identified by Kirill-ka 2015-06-15 17:28:26 +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
eb3cc8b41a mission result topic: Add warnings 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
21ca431131 Tone alarm: Add home set tune 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
091af08dd7 Merge pull request #2373 from PX4/commander_cleanup
commander: Remove unused param handles
2015-06-14 20:46:15 +02:00
Lorenz Meier
82352a64aa commander: Remove unused param handles 2015-06-14 19:36:29 +02:00
Lorenz Meier
75ef0e1709 Merge pull request #2365 from PX4/master_p1
Master p1
2015-06-14 15:43:38 +02:00
Lorenz Meier
9e3e43c49e Update comments in attitude controller. Fixes #2369 2015-06-14 15:27:24 +02:00
Mohammed Kabir
e6752e43b2 camera trigger : cleanup - still crashes 2015-06-14 17:41:54 +05:30
Mohammed Kabir
af62e74d4a camera trigger : command fix 2015-06-14 17:41:54 +05:30
Mohammed Kabir
72e2224d1e camera trigger : master rebase 2015-06-14 17:41:54 +05:30
Mohammed Kabir
df037d97c1 camera trigger : remove redundant timestamps 2015-06-14 17:41:54 +05:30
Mohammed Kabir
a1c2f24837 camera trigger : remove autogen message 2015-06-14 17:41:54 +05:30
Mohammed Kabir
95a8e29cfe camera trigger : mavlink stream 2015-06-14 17:41:54 +05:30
Mohammed Kabir
5ff38089e9 camera trigger : fix handling of fds in hrt callbacks 2015-06-14 17:41:54 +05:30
Mohammed Kabir
2dde99f0fc camera trigger : memset 2015-06-14 17:41:54 +05:30
Mohammed Kabir
be89a7262e camera trigger : add missing call to trampoline 2015-06-14 17:41:54 +05:30
Mohammed Kabir
34809e0aa3 camera trigger : add message 2015-06-14 17:41:54 +05:30