19575 Commits

Author SHA1 Message Date
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
Beat Küng
21ce157763 lps25h: use STACK_MAIN instead of STACK 2016-09-20 18:55:25 +02:00
Beat Küng
281c450b6e fix syslink: rc.timestamp_publication -> rc.timestamp
changed in d297d31c236635ad7fa4a452484b7eb9e886e123
2016-09-20 18:55:05 +02:00
Daniel Agar
c4b9b05af9 make check_format also check git whitespace (#5503)
-fixes #5484
2016-09-20 12:45:42 -04:00
Nacho Carnicero
392391e8df Fix VTOL status in forward transition for tiltrotor models 2016-09-19 20:27:14 +02:00
Mark Whitehorn
95f899fee7 always publish simulator groundtruth attitude 2016-09-19 13:07:02 +02:00
Mark Whitehorn
8f64825297 switch to new logger for posix_sitl_default 2016-09-19 13:05:14 +02:00
Mark Whitehorn
ca9ac1c807 add default simulator groundtruth topic only for SITL builds 2016-09-19 13:05:14 +02:00
Mark Whitehorn
f24b199775 add HIL_STATE message handler and publish to uORB
add missing break

uorb topics generator: add multi-topics to the list of all topics

topic names with '# TOPICS <name>' were previously not in orb_get_topics().
This means the logger could not find them.

Affects for example actuator_controls_0.

px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method

switch simulated attitude to new topic: vehicle_attitude_groundtruth

logger: add input_rc topic. needed for web plotting

input_rc.msg: remove timestamp_publication, use timestamp instead

mixer.cpp: warnx -> PX4_ERR

logger: initialize timer_call to 0 (hrt_call_every reads some fields)

position_setpoint_triplet topic: set the timestamp when publishing

px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method

add vehicle_attitude_groundtruth to default topics

change to hil_state_quaternion
2016-09-19 13:05:14 +02:00
Beat Küng
79f2cd79d9 px_generate_uorb_topic_files.py: add multitopics to generate_topics_list_file_from_files method 2016-09-19 13:03:40 +02:00
Beat Küng
3a084fbdb8 position_setpoint_triplet topic: set the timestamp when publishing 2016-09-19 13:03:40 +02:00
Beat Küng
89a7e0cf87 uorb topics generator: add multi-topics to the list of all topics
topic names with '# TOPICS <name>' were previously not in orb_get_topics().
This means the logger could not find them.

Affects for example actuator_controls_0.
2016-09-19 13:03:40 +02:00
Beat Küng
4e1652fa6b logger: initialize timer_call to 0 (hrt_call_every reads some fields) 2016-09-19 13:03:40 +02:00
Beat Küng
44ac7d11e7 mixer.cpp: warnx -> PX4_ERR 2016-09-19 13:03:40 +02:00
Beat Küng
d297d31c23 input_rc.msg: remove timestamp_publication, use timestamp instead 2016-09-19 13:02:31 +02:00
Beat Küng
3a94afb03c logger: add input_rc topic. needed for web plotting 2016-09-19 13:02:31 +02:00
Dennis Shtatnov
f334a6225a Syslink cli deck detection 2016-09-19 11:54:53 +02:00
Dennis Shtatnov
937f3477d3 Syslink memory/deck interface 2016-09-19 11:54:53 +02:00
Dennis Shtatnov
83105fca95 CF2: Buzzer 2016-09-19 11:54:53 +02:00
Dennis Shtatnov
c9a17fdd68 CF2: Free up serials
There are only two exposed serial connections, which are used as other things for the decks, so don't utilize any by default
2016-09-19 11:54:53 +02:00