Commit Graph

13526 Commits

Author SHA1 Message Date
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
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
Mohammed Kabir ecd2762281 camera trigger : fix memset 2015-06-14 17:41:54 +05:30
Mohammed Kabir 239c8dc7dc camera trigger : implement trigerring and command 2015-06-14 17:41:54 +05:30
Mohammed Kabir a8537b8818 camera trigger : initial import 2015-06-14 17:41:54 +05:30
Lorenz Meier 44441ab501 FW pos control: Perform climbout if user requests more than 85% pitch up 2015-06-14 14:05:17 +02:00
Lorenz Meier 2fd4c5240f Merge pull request #2341 from PX4/mc_offb_vel_limit
Multicopter offboard velocity limit
2015-06-14 12:53:19 +02:00
Lorenz Meier e76bdc3cac EKF: Use unfiltered airspeed if airspeed is large enough - rely for better stability on the filtered speed for the threshold. Lower the threshold to 5 m/s to ensure airspeed fusion even on small wings 2015-06-14 12:10:36 +02:00
Lorenz Meier 0916e6fc19 sensors app: Populate unfiltered airspeed field 2015-06-14 12:09:21 +02:00
Mark Charlebois 872a26e6da Fixed passed ot open() for O_CREAT
In nuttx the mode parameter to open is not required but in Linux,
and per the POSIX spec, mode is required if the O_CREAT flag is
passed.

The mode flags are different for NuttX and Linux so a new set of
PX4 defines was added:

PX4_O_MODE_777 - read, write, execute for user, group and other
PX4_O_MODE_666 - read, and write for user, group and other
PX4_O_MODE_600 - read, and write for user

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:40 +02:00
Mark Charlebois c6b36073fe POSIX: ifdef getreg32() calls in mcu_unique_id()
mcu_unique_id() reads registers at an invalid address in non-nuttx builds.
Added ifdef to return a dummy value for non-nuttx builds.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-14 11:26:27 +02:00
Lorenz Meier dc7471f430 Merge pull request #2296 from PX4/attitude_loop_speed
Attitude loop speed
2015-06-14 10:46:09 +02:00
Lorenz Meier b6d9a97aaa Merge pull request #2349 from PX4/auto_takeoff_fix
FW: Auto takeoff fix
2015-06-14 10:45:10 +02:00
Mark Charlebois 7e7513bc15 POSIX: change pthreads to px4_tasks in simulator
The simulator was using pthread APIs directly so calls to px4_getpid()
would fail since the task ID was not known. Changed simulator to use
px4_task_spawn_cmd.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-13 16:44:29 -07:00
TSC21 dccd4df7bc mocap_support: added support for mocap data on firmware 2015-06-13 17:03:31 +01:00
Lorenz Meier 5e4ce5cf59 Add missing errno header 2015-06-13 16:36:00 +02:00
Mark Charlebois e6d9aa2b43 mavlink fix for cause of intermittent crash
If the posix target is run and the rootfs is not created, then
there is an fopen in mavlink without a return value check and then a write
to the fd. When this condition occurs it tries to write to NULL and will
segfault.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-13 07:21:45 -07:00
Lorenz Meier 1522255c29 MAVLink app: Fix argument handling to work on all operating systems 2015-06-13 06:53:02 -07:00
Lorenz Meier 9d0d6ba2bf EKF: Fix isfinite calls 2015-06-13 11:31:55 +02:00
Lorenz Meier c9fefe236b Merged release into master 2015-06-13 11:06:01 +02:00
Lorenz Meier f9f34078d1 commander: Ensure RTL can be triggered in all modes 2015-06-13 00:16:25 +02:00
Lorenz Meier 2fc069bd63 Merge pull request #2350 from PX4/master_versioning_fix
Back Port of Git Versioning - without side effects
2015-06-13 00:07:19 +02:00
Elikos default a0176474c7 fix NaN yaw breaking attitude setpoints when going back into posctl from offboard 2015-06-13 00:02:17 +02:00
Lorenz Meier 3b0d766fd8 Merge pull request #2353 from andre-nguyen/offb_NaN_fix
fix NaN yaw breaking attitude setpoints when going back into posctl from offboard
2015-06-13 00:01:24 +02:00
David Sidrane 9585bb4a3c Missing slash 2015-06-12 07:54:51 -10:00
David Sidrane 428611119f Merged GIT version changes 2015-06-12 19:32:55 +02:00
David Sidrane 17fddb1556 Back Port of Git Versioning - without side effects Part 1 2015-06-12 06:49:15 -10:00
Lorenz Meier 8838b18da7 FW attitude control: Run attitude controller as fast as we can to minimize latency 2015-06-12 16:10:20 +02:00
Lorenz Meier 3f77455dd8 commander: Condition HIL arming check properly 2015-06-12 15:58:21 +02:00
Lorenz Meier 92aeef2b84 commander: Better text feedback 2015-06-12 15:57:57 +02:00
Lorenz Meier 05993bee6f Navigator: Provide better feedback if no mission present, enforce minimum altitude in loiter and in auto modes 2015-06-12 15:57:27 +02:00