Commit Graph

19594 Commits

Author SHA1 Message Date
Beat Küng 92d160c431 uorb devices: fix for QuRT which has no poll() 2016-09-28 15:31:52 +02:00
Beat Küng 219ab519e3 uorb devices: rename queue_size() & meta() to avoid member shadowing 2016-09-28 15:31:52 +02:00
Beat Küng d1850f5112 uorb top: measure the elapsed time to give more accurate results 2016-09-28 15:31:52 +02:00
Beat Küng 52dde93a31 uorb: merge nuttx & posix files 2016-09-28 15:31:52 +02:00
Beat Küng f601428e82 uorb: add ifdef's where necessary to mitigate diffs between nuttx & posix
now the files are equal
2016-09-28 15:31:52 +02:00
Beat Küng f5654511b8 uorb: more syntax changes to remove diff between nuttx & posix files 2016-09-28 15:31:52 +02:00
Beat Küng 83c5323c3a uorb: remove syntax differences between posix & nuttx src file 2016-09-28 15:31:52 +02:00
Beat Küng fbd7aac4b5 uorb: add 'top' command for a live view of topic updates 2016-09-28 15:31:52 +02:00
Beat Küng 670c93e726 cmake: add support for out-of-tree modules via EXTERNAL_MODULES_LOCATION variable 2016-09-27 15:10:23 +02:00
Lorenz Meier 65e3ae70dd DF update 2016-09-27 11:56:49 +02:00
Lorenz Meier 676e90cd98 Define realtime clock for systems not having one 2016-09-27 11:56:49 +02:00
Lorenz Meier adf56050b9 Use monotonic clock for simulator 2016-09-27 11:56:49 +02:00
Lorenz Meier 5b674ffe48 Update DF to include Travis CI fix for DF
DF Update: Use common CMake version so Darwin handling is correct in PX4

Update DF to use proper constants

Update DF
2016-09-27 11:56:49 +02:00
Lorenz Meier af8cbee6d5 Support 10.11 and 10.12 in parallel in PX4 2016-09-27 11:56:49 +02:00
Lorenz Meier f49eabdb9d Update DF to have 10.11 and 10.12 support in parallel 2016-09-27 11:56:49 +02:00
Lorenz Meier c433e7bf3e Set correct XCode 8 version 2016-09-27 11:56:49 +02:00
Lorenz Meier 88cffaddec Enable CMake
Output CMake version
2016-09-27 11:56:49 +02:00
Lorenz Meier cf671b5134 Fix tests and re-introduce tests into build
Code style fix
2016-09-27 11:56:49 +02:00
Lorenz Meier 1909f2b02f Switch Travis to XCode 8 2016-09-27 11:56:49 +02:00
Lorenz Meier 2b9596cac0 Run clean beffore distclean so that a partial build is wiped as well. 2016-09-27 11:56:49 +02:00
Lorenz Meier 69c28177ac Fix platform headers / files for XCode 8 2016-09-27 11:56:49 +02:00
Lorenz Meier edf0057cee Modify build for XCode 8 2016-09-27 11:56:49 +02:00
Lorenz Meier 398d9642cb Update DF for XCode 8 2016-09-27 11:56:49 +02:00
Daniel Agar fb75240ee9 FW init TECS with PSP_OFF and constrain TAS error 2016-09-27 08:49:45 +02:00
Daniel Agar ebdfa2860b land_detector status cleanup 2016-09-27 08:49:45 +02:00
Daniel Agar 9fd0513be3 vtol remove unused vehicle_status 2016-09-27 08:49:45 +02:00
Dennis Shtatnov e27f396f55 Syslink properly working address params 2016-09-27 08:46:00 +02:00
David Sidrane f750140b6f Make line 280 check happy (#5550) 2016-09-27 08:34:48 +02:00
Daniel Agar 7c0a567eaa navigator explicitly invalidate position setpoint 2016-09-26 23:11:08 +02:00
Daniel Agar 7b03bce416 Navigator mission FOH use previous loiter altitude
-the previous item altitude wasn't valid if switching from LOITER ->
MISSION
-fixes #5395
2016-09-26 23:11:08 +02:00
Julian Oes 660a9e13e7 mavlink_mission: improve comments about casting 2016-09-26 22:55:21 +02:00
Julian Oes 238f597b78 mavlink_mission: remove wrong comment 2016-09-26 22:55:21 +02:00
Julian Oes 047c0e44bd mavlink_mission: support missions with int params
This brings support for the messages MISSION_REQUEST_INT and
MISSION_ITEM_INT which raises the lat/lon accuracy for waypoints.
2016-09-26 22:55:21 +02:00
Julian Oes 997ae98444 navigator: reset cruise speed when out of mission (#5494)
This reset the cruise speed which can be set by mission items/waypoints
to set a custom speed. Once, switched out of mission, it makes sense to
use the speed set by the param again.
2016-09-26 22:54:15 +02:00
Carlo Wood c6a2641507 Fix some pthread related linker stuff. (#5504)
The px4_os_add_flags defined in cmake/posix/px4_impl_posix.cmake did
add (threading) libraries to added_exe_linker_flags, which subsequently
end up in CMAKE_EXE_LINKER_FLAGS and then have no effect because those
flags are passed to the linker before any of the object files and static
libraries.

Those libraries are already added correctly in the corresponding
src/firmware/*/CMakeLists.txt files (for qurt, nuttx AND posix).

I left in the non-library linker flag '-pthread' for the bebop board,
although it seems very weird to me that this is needed (is it?).
If that is needed then it seems weird to link manually (that is,
src/firmware/*/CMakeLists.txt) with -lpthread.

For linux/g++ -pthread is added to the CXXFLAGS as it should be:
this causes the compiler to define _REENTRANT which is needed
for (the interface of) certain libraries to become thread-safe.
Offically one also can just pass -pthread to the linker, which then
causes the right libraries to be linked, but just linking with
-lpthread -lm -lrt works too.

I ran into this while adding support for libcwd, which explicitly
complains that _REENTRANT isn't defined when trying to link with
the thread-safe version of libcwd (-lcwd_r) and then tells you
to use -pthread.
2016-09-26 22:53:41 +02:00
Daniel Agar 6d655d2d6e startup remove old EKF PE_ params (#5533) 2016-09-26 22:51:43 +02:00
Daniel Agar 1d0a667826 Geofence defaults (#5534)
* geofence messages too frequent

* geofence horz/vert disable with 0 instead of -1

-closes #5430
2016-09-26 22:50:36 +02:00
David Sidrane 0eca86443d Master additional targets (#5548)
* Allow Niga to be disabled from command line

* Add a build all nuttx targets
2016-09-26 22:48:37 +02:00
Sander Smeets c4eabbd083 VTOL transition switch parameter checking (#5545)
* VTOL transition switch parameter checking

* Code style
2016-09-26 10:18:23 +02:00
Lorenz Meier bd922e4eed Standard VTOL: report correctly in SIM 2016-09-25 18:37:33 +02:00
Lorenz Meier 9915a416ff Better yaw limits for default VTOLs 2016-09-25 18:37:03 +02:00
Lorenz Meier e42ff72d6a Standard VTOL configs: Limit yaw rate 2016-09-25 18:37:03 +02:00
lovettchris 11f8da5fc6 AUTO_LOITER respect disabled RC link loss param (#5499) 2016-09-23 18:14:32 -04:00
tommises 35b45e02b1 controllib_test fix filename in comments (#5538) 2016-09-23 17:13:54 -04:00
Dennis Shtatnov b9c5d117dd CF2: Linux USB uploading fix 2016-09-21 17:20:08 -04:00
Andreas Antener e7d90b1cd3 reduced the wait time at the end of the motor ramp to not unnecessary stress the system 2016-09-21 08:53:15 +02:00
Andreas Antener 3b58caa32a Updated motor RAMP timing to match slew rate limiter 2016-09-21 08:53:15 +02:00
Daniel Agar 69ae0091b8 VTOL QuadChute only if not landed 2016-09-21 08:36:00 +02:00
Dennis Shtatnov cfe59e74b2 CF2: Unique Board ID 2016-09-20 19:21:24 -04:00
Daniel Agar 9fb167b642 add crazyflie to builds (#5516)
* Makefile simplify check and quick_check

* make check add crazyflie_default
2016-09-20 21:05:44 +02:00