Commit Graph

5593 Commits

Author SHA1 Message Date
Andrew Tridgell 4eaa18e6f9 perf_counter: fixed write to correct fd for perf output
this fixes perf output for nsh over MAVLink
2015-08-28 21:57:09 +02:00
Lorenz Meier 3724947046 Fix circuit breaker param typo 2015-08-28 12:18:25 +02:00
Lorenz Meier badb22bc23 MAVLink app: Fix include guard to condition on NuttX when referring to NuttX 2015-08-26 16:17:37 +02:00
Lorenz Meier 9ef9185d1d Commander: Fix commandline handling 2015-08-26 16:17:07 +02:00
Lorenz Meier 7fb22e77f6 Remove old file 2015-08-26 15:54:02 +02:00
Lorenz Meier 4143c94029 sensors app: Re-introduce sensor rate limiting 2015-08-26 14:15:32 +02:00
Simon Wilks 28d0ad4854 Don't try to convert gps time to seconds a second time round and if requested only use GPS time when a 3D fix is present. 2015-08-26 12:17:14 +02:00
Mark Charlebois 3a47434749 Fixes for qurt HIL build
Workaround required Eigen downgrade to 3.2. Hexagon toolchain does
not support C++11 features of newest version of Eigen.

Running make qurt_fixup will downgrade and patch Eigen for qurt.
Running make restore will revert the patch and do a git submodule update
to restore the expected Eigen version.

Added a "restore" target to undo qurt_fixup

Before doing a qurt build run:

    make qurt_fixup

That will downgrade Eigen to 3.2 and apply the require patch.
To build another target after downgrading:

    make restore

Them make the desired target (other than qurt).

Fixed type used in orb_priority to be consistent with the code
(int* was used in declaration but int32_t* used in code)

Removed unused class member variable in sensors.cpp

Added cmake fix for unit tests. The location of px4_log.c changed.

Fixed the qurt drv_hrt.c implementation to use us instead of ms for time resolution

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with
duplicate files. It was moved out of common because it is not used by qurt.

Changed PX4_DEBUG to PX4_WARN when checking for the error condition for store_poll_waiter in vdev.cpp

Updated the px4_log.h file to make calls to the qurt_log functions.
The qurt_log function is defined in the platforms/qurt layer.

Added an option to control starting the commander module in HIL mode.

Moved the flight specific drivers to the configuration file instead of adding them
to the common tool chain file because HIL mode does not need them.

Added the uorb Subscriber and Publisher classes

Call PX4_ISFINITE macro instead of isfinite().

Added px4_led.c to nuttx platform layer
Use the posix version of px4_led.c for nuttx so we don't end up with duplicate files.
It was moved out of common because it is not used by qurt.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-25 21:59:01 -07:00
Andreas Antener 9e1713eb9f constantly reset altitude and yaw setpoint in mc pos control when not in rotary wing mode 2015-08-24 10:38:33 +02:00
Simon Wilks f7e4a4852d Reset the altitude setpoint. 2015-08-24 10:38:33 +02:00
Lorenz Meier 27e4139540 UAVCAN fix compile warning on signedness 2015-08-24 10:20:40 +02:00
tumbili 8f5f3faf46 fw position controller should not publish att sp during a vtol transition 2015-08-23 21:15:56 +02:00
Simon Wilks 2c69d2d5d6 Make sure we allow multirotor attitude control for VTOLs when transitioning from FW to MC mode. 2015-08-23 21:00:01 +02:00
Simon Wilks 22690ce897 Take throttle from the appropriate controller given the current mode. 2015-08-23 20:54:53 +02:00
Andreas Antener 5536360c49 use vehicle_status instead of vtol_status 2015-08-23 20:02:39 +02:00
Andreas Antener f93e600b8c consider transition state in posctl 2015-08-23 20:02:39 +02:00
Lorenz Meier 86279dab6b Fix position controller braces 2015-08-23 17:41:59 +02:00
Lorenz Meier a508330bdf Fix attitude controller braces 2015-08-23 17:41:45 +02:00
Lorenz Meier d26aa2c85b Fix navigator priority 2015-08-23 17:41:15 +02:00
Lorenz Meier 9965ad2ccf Merge pull request #2732 from PX4/uorb_topics3
uORB topics: Moved all to auto-generated
2015-08-23 16:34:36 +02:00
Lorenz Meier feb3cc9270 Default attitude mappings to zero 2015-08-23 14:40:30 +02:00
devbharat 8257f3d2fd Replaced exits with return 2015-08-23 14:39:33 +02:00
devbharat 20d71870ec Minor changes to get fixed wing control apps running for posix 2015-08-23 14:39:25 +02:00
Lorenz Meier 295e4be8c3 Merge branch 'beta' 2015-08-23 14:06:37 +02:00
tumbili 3ccb35f338 fix 2015-08-23 14:06:25 +02:00
Lorenz Meier 4aec25724e Condition the print load systemlib build correctly for all OS 2015-08-23 13:38:37 +02:00
Lorenz Meier 24af256516 Fix print load for non-NuttX configs 2015-08-22 23:06:01 +02:00
Lorenz Meier 6fda74dbd6 print load: Fix struct visibility 2015-08-22 22:55:49 +02:00
Lorenz Meier 2c4e72a081 Add missing decls to print load 2015-08-22 22:55:41 +02:00
Lorenz Meier 07a88e9e86 print load: Fix struct visibility 2015-08-22 22:16:03 +02:00
Lorenz Meier 808d817cfe Add missing decls to print load 2015-08-22 22:10:29 +02:00
Lorenz Meier 90d8b22f4f Compile fix for POSIX for load print routines 2015-08-22 21:20:15 +02:00
Lorenz Meier cd4a47191f Merge branch 'beta' into beta_merge4 2015-08-22 21:12:55 +02:00
Lorenz Meier 10047964e3 Fix compile error on load print struct 2015-08-22 21:12:26 +02:00
Lorenz Meier 4463f1a8a2 MAVLink: Add streams to C-based stream config 2015-08-22 20:51:43 +02:00
Lorenz Meier c41f32c17c Merge beta 2015-08-22 20:49:54 +02:00
Lorenz Meier e1aaaa1f18 MAVLink: Start app using pre-configured streams to save some script execution overhead. Frees 1K during app startup, which should help FMUv1 considerably. 2015-08-22 20:31:45 +02:00
Lorenz Meier 86e2e7e2a6 print load: Initialize to empty string, not null pointer 2015-08-22 19:21:54 +02:00
Lorenz Meier c264d6bb99 SDLOG2: Store load / mem use post-flight 2015-08-22 15:27:05 +02:00
Lorenz Meier b70c9a84c6 systemlib: Add ability to dump memory usage 2015-08-22 15:26:28 +02:00
Lorenz Meier 8cda0ec266 EKF memory usage fix 2015-08-22 14:13:03 +02:00
Lorenz Meier 85007d8952 Merge branch 'beta' into beta_merge4 2015-08-22 14:09:20 +02:00
tumbili 6cdceb1829 fix tecs status logging 2015-08-22 14:08:58 +02:00
tumbili 221c222ca2 comment out code which relied on old tecs logging format 2015-08-22 14:08:57 +02:00
Lorenz Meier 21d1b4ba2e Merged beta into master 2015-08-22 14:06:01 +02:00
Pavel Kirienko f371ece43b UAVCAN_ENABLE defaults to 0 2015-08-22 13:54:57 +02:00
Pavel Kirienko e1f33871ef UAVCAN enabled by default 2015-08-22 13:54:57 +02:00
Pavel Kirienko 6864779fa6 Multiple stages for UAVCAN_ENABLE 2015-08-22 13:54:56 +02:00
Pavel Kirienko 3860dbdc8c UAVCAN Barometer driver fix - reporting temperature in Celsius degrees, not in Kelvin 2015-08-22 13:54:56 +02:00
Pavel Kirienko 473d321af8 UAVCAN Magnetometer driver update - no logical changes 2015-08-22 13:54:56 +02:00