15166 Commits

Author SHA1 Message Date
Lorenz Meier
94313323aa MAVLink app: Fix sending of autopilot capabilities 2015-06-12 13:53:20 +02:00
Lorenz Meier
085a69383a Merged master 2015-06-12 13:40:47 +02:00
Lorenz Meier
0bfc727584 Add more functionality to HIL driver 2015-06-12 13:30:44 +02:00
Lorenz Meier
e7765d77f6 Merge pull request #2330 from PX4/abs_alt
Navigator: Make logic using previous and current altitudes consistent
2015-06-12 13:07:06 +02:00
Lorenz Meier
267fb408b1 Update MC thrust limit default param value and add explanation 2015-06-12 11:08:30 +02:00
James Goppert
dedd16e36e Modified velocity saturation to maintain direction. 2015-06-12 10:58:33 +02:00
James Goppert
adbccfaa1c Saturate velocity command for mc_pos_control. 2015-06-12 10:58:20 +02:00
Lorenz Meier
3c4e25153c Merge pull request #2337 from bansiesta/readme_link
Small README.md and LICENSE.md fixes
2015-06-12 09:42:31 +02:00
Lorenz Meier
5727985678 Comment out unused pca8574 driver in boot 2015-06-12 09:31:50 +02:00
Lorenz Meier
5eadda5ea5 Comment out unused pca8574 driver in boot 2015-06-12 09:31:10 +02:00
Ban Siesta
0e428a6b3b LICENSE.md: bring year up-to-date 2015-06-12 08:30:50 +01:00
Ban Siesta
7fa35e8a88 README.md: added link to LICENSE.md 2015-06-12 08:29:22 +01:00
Lorenz Meier
863a6e8811 HIL driver: Fix boot order race 2015-06-12 09:27:50 +02:00
Lorenz Meier
3f4b5fcb72 HIL driver: Fix boot order race 2015-06-12 09:27:15 +02:00
Lorenz Meier
7eef2e9c58 Merge pull request #2335 from UAVenture/posctl_th_meta_fix
fix posctl th param meta
2015-06-12 08:55:56 +02:00
Andreas Antener
315683124d fix posctl th param meta 2015-06-12 08:47:46 +02:00
Lorenz Meier
7374aff3aa Merge pull request #2334 from PX4/master_mavlink_null_fix
Backport of Fixes mavlink_if0: invalid data rate '(null)' bug
2015-06-12 08:36:25 +02:00
Mark Charlebois
c9be962f4c POSIX: Modified posix_run.sh to create rootfs dirs
The default rootfs is now in:

Build/posix_default.build/rootfs/

The subdirs fs/microsd and eeprom are now created if they do not exist.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:44:21 -07: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
Mark Charlebois
0c43803ec7 POSIX: Fixed syntax error in posix_apps.py
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 21:03:45 -07:00
Mark Charlebois
892a4c5f0f Merge branch 'bringup-m2' into bringup-m1 2015-06-11 20:40:35 -07:00
Mark Charlebois
aaac4708a5 Merge branch 'bringup-m1' of https://github.com/mcharleb/Firmware into bringup-m2
Conflicts:
	Tools/posix_apps.py

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 20:38:47 -07:00
Mark Charlebois
fb402bc096 POSIX: Fixed remaining broke gtests
The addition of the hrt workqueue required adding some additional files to
unittests/CMakeLists.txt

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 20:22:49 -07:00
Mark Charlebois
ea7d5070c5 POSIX: Fixed some of the failing gtests
The orb_advert_t change from int to void * required some fixups
for the gtests.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 19:42:54 -07:00
Mark Charlebois
527b97e8b4 POSIX: added tone_alarm simulator
The tone_alarm simulator was added to rc.S and the warning output for a
hrt_timer with a 0 expiry times was disabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 19:00:49 -07:00
David Sidrane
28d3729acd Backport of Fixes mavlink_if0: invalid data rate '(null)' bug 2015-06-11 15:43:28 -10:00
Mark Charlebois
9ef7db6a36 QuRT: Added missing hrt workqueue files
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 18:16:29 -07:00
Mark Charlebois
e4a8f32f1b QuRT: Added HRT workqueues as per POSIX
A high rate workqueue is required that acts like an interrupt handler
for a HW timer.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 18:13:36 -07:00
Elikos default
9605df75da fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-11 20:28:47 -04:00
Mark Charlebois
83bcb95999 POSIX: Added sleep command
The baro was not fully initialized when the sensors module tried to
open it. Added a sleep command and a sleep 2 to rc.S so the baro
is initialized by the time the sensors module tried to read it.

Fixed other noisy errors

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 17:28:46 -07:00
Lorenz Meier
7540aa6b87 Navigator: Make logic using previous and current altitudes consistent 2015-06-11 21:05:38 +02:00
Mark Charlebois
18304a2a0d POSIX: Fixed px4_getpid() calls from shell context
When px4_getpid() was called from the shell, there was no opaque
thread ID to return. Added a special thread ID for the shell
context. This ID only works for px4_getpid() and cannot be used
for other px4_task_*() calls.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-11 11:36:58 -07:00
Lorenz Meier
891829d3a7 Land detector: Protect fixed wing logic from false-positives due to bad input data 2015-06-11 19:25:17 +02:00
Lorenz Meier
722a5f61f6 Merge branch 'release_v1.0.0' into beta 2015-06-11 17:04:34 +02:00
Pavel Kirienko
e94bc7960c libuavcan submodule updated 2015-06-11 17:04:22 +02:00
Lorenz Meier
6ba0f246f0 Merge pull request #2318 from PX4/libuavcan_update
Libuavcan submodule update
v1.0.0rc12
2015-06-11 17:04:11 +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
f2b81ce69a commander: Only update home position if not armed already 2015-06-11 17:03:12 +02:00
Lorenz Meier
9155e8a7fe FX79: Increase travel 2015-06-11 16:35:10 +02:00
Lorenz Meier
ac084ae3d0 Merge pull request #2293 from kd0aij/HIL_inhibitSensorCheck
special treatment and warning message for HIL platform arming
2015-06-11 15:22:21 +02:00
Lorenz Meier
000434be15 IO mixer: Limit outputs to proper range 2015-06-11 14:52:10 +02:00
Lorenz Meier
3cc2b7ed12 EKF: Add small gyro failover hysteresis 2015-06-11 14:52:04 +02:00
Lorenz Meier
f0f3ffaec1 IO firmware: Do not apply trim values a second time 2015-06-11 13:31:58 +02:00
Lorenz Meier
25c23dbf4c back out payload mixer from FX79 default config 2015-06-11 13:19:36 +02:00
Lorenz Meier
086123fe84 Fix RC failsafe handling when landed 2015-06-11 12:40:39 +02:00
Lorenz Meier
e8a9c20056 EKF: Ensure we start with zero local altitude and zero GPS offset. Since the filter is not publishing any data at this point this is not relevant in operation, but might be important later if we publish a separate altitude estimate topic 2015-06-11 12:30:05 +02:00
Lorenz Meier
c06d4032f4 Merge pull request #2314 from kylemanna/python2
Tools: Update python files to work with python3
2015-06-11 09:29:11 +02:00
Kyle Manna
c593451e5d Tools: Convert Python 2 syntax to Python 3 compatible
* The `print """` syntax appears invalid in Python 3 which is the
  default for the Python binary on my system (and soon many more).
* Convert the file (using `2to3`) to a version that's compatible with
  Python 2 and Python 3.
* Tested against Python 2.7.10 and 3.4.3.
2015-06-11 00:07:54 -07:00
Lorenz Meier
155ee0e0b4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware into beta 2015-06-11 09:03:01 +02:00