15635 Commits

Author SHA1 Message Date
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
Mark Charlebois
84bf4bb6bb Use ?= for MK_DIR in firmware.mk
APU requires the use of ?= for MK_DIR but the use of lastword was
causing MK_DIR to be a subdir of makefiles. Changed lastword to
firstword (which is always the path to firmware.mk) which fixed
the problem.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
Mark Charlebois
17b23f4e80 SITL: Added documentation on file paths
Added description of how to create required directories

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
Mark Charlebois
26d2589e97 makefile cleanup
Moved nuttx specific make rules to files in makefiles/nuttx.

All target specific makefiles are in their target sub directories.

To minimize file duplication, targets that share rules include a
common file. For example the posix and posix-arm targets both use
makefiles/posix/posix_elf.mk

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-16 09:58:48 -07:00
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
Simon Wilks
79944b2c35 Update pitch and yaw gains to flight tested values. 2015-06-16 11:21:36 +02:00
tumbili
1ebea1e759 ask for climbout mode when doin takeoff help 2015-06-16 11:05:44 +02:00
Lorenz Meier
f57086cb99 Merge pull request #2382 from PX4/multicopter_fall_fix
MC att control demand: Require a higher minimum throttle
2015-06-16 08:38:46 +02:00
Lorenz Meier
da5014fe95 Merge pull request #2389 from mcharleb/gyrossim-cleanup-2
gyrosim: removed dead code from gyrosim
2015-06-16 08:35:28 +02:00
Lorenz Meier
bfa840668b Merge pull request #2387 from mcharleb/SITL-readme-fix
SITL: updated README and rc.S
2015-06-16 08:25:16 +02:00
Mark Charlebois
ed58e83460 gyrosim: removed dead code from gyrosim
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 18:08:22 -07:00
Mark Charlebois
834e3c0587 SITL: updated README and rc.S
Changed rc.S to rcS.

Updated README.md to explain the require directory structure and
where to run mainapp from for SITL to work correctly.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 15:48:12 -07:00
Lorenz Meier
2e5d2c1cbe Merge pull request #2385 from mcharleb/SITL-readme-fix
SITL: fixed path to mainapp in documentation
2015-06-16 00:11:25 +02:00
Mark Charlebois
8ddfcb7f4b SITL: fixed path to mainapp in documentation
The updated path os Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 13:50:50 -07:00
Lorenz Meier
de8464e3ed Merge pull request #2383 from tumbili/gps_sim
add simulated gps driver to startup for SITL
2015-06-15 22:07:05 +02:00
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