Commit Graph

7823 Commits

Author SHA1 Message Date
Lorenz Meier 8cd6f3529c Merge pull request #2555 from PX4/uorb_msg
uORB message support
2015-08-12 17:31:44 +02:00
Nghia Ho a4726292b2 fixed double promotion warning when doing printf 2015-08-11 21:30:05 -07:00
Mark Charlebois ce49145c1d Removed DSPAL header include in px4_workqueue.h
This was mistakenly added in a bad merge.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-11 12:50:44 -07:00
Mark Charlebois a589d15c52 Refactored debug() and log() in CDev
These functions used vprintf which is not available on all platforms.
They also do not enable line and file debug output.

Changed to macros that preserve the output format.  Uses new macro that
can be used to implement per object, runtime selectable logging

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-11 12:07:06 -07:00
Lorenz Meier ea2975c2a9 Merged beta into master 2015-08-11 11:03:01 +02:00
Lorenz Meier 72c3f4b815 Flow: Shrink boot handler size 2015-08-11 09:24:56 +02:00
Lorenz Meier c8ca147b4d sdlog2: Waiting for full boot 2015-08-11 09:24:39 +02:00
Lorenz Meier 134c1d991a Commander: Time out if not starting successfully 2015-08-11 09:24:13 +02:00
Lorenz Meier 7170c76fff Camera trigger: Support N pins to be triggered in parallel if needed 2015-08-10 21:58:56 +02:00
Lorenz Meier a632f18277 Camera trigger fixes, found by @fkaiser 2015-08-10 19:57:47 +02:00
Lorenz Meier 7052ddf3db Q Att estimator: Remove excessive stack use 2015-08-10 17:14:36 +02:00
Lorenz Meier cab6d8b770 System lib: Remove unused variable from CPU load tracking 2015-08-10 17:07:30 +02:00
Lorenz Meier 05d752ae34 MAVLink: Limit use to 3 instances, which is what is realistically being used. 2015-08-10 17:07:11 +02:00
Lorenz Meier 69ce66a3f9 MAVLink app: use struct-internal symbol for 3DR radio telemetry type 2015-08-10 15:49:38 +02:00
Lorenz Meier bb1fef4454 uORB: Remove intermediate file: telemetry status 2015-08-10 15:38:01 +02:00
Lorenz Meier 287e611cdb uORB: Remove intermediate file: sat info 2015-08-10 15:38:01 +02:00
Lorenz Meier 1c3f860b2d uORB: Remove intermediate file 2015-08-10 15:38:01 +02:00
Lorenz Meier d8b1a8a17f uORB: Remove intermediate file 2015-08-10 15:38:01 +02:00
Lorenz Meier 9df860e921 update uORB for generated topics 2015-08-10 15:38:01 +02:00
Lorenz Meier b3c1d56926 sdlog2 update for generated topics 2015-08-10 15:36:24 +02:00
Lorenz Meier 3ff8afb6ba Commander update for telemetry status 2015-08-10 15:35:19 +02:00
Lorenz Meier 16cb9edf19 Converted telemetry status topic to generated topic 2015-08-10 15:35:19 +02:00
Lorenz Meier ffb9e87161 Converted satellite_info topic to generated topic 2015-08-10 15:34:08 +02:00
Lorenz Meier e07e4743c5 PX4IO: Enable S.BUS if config param is set, ignore if no param present 2015-08-08 23:50:05 +02:00
Lorenz Meier 4cfad588ff IO: Add param for S.BUS output 2015-08-08 23:49:18 +02:00
Lorenz Meier 24fdb5d532 Camera trigger: Expose trigger output pin selection as parameter 2015-08-08 14:36:22 +02:00
Lorenz Meier 82dc382095 Camera trigger: Fix param handle names, enable trigger if mode set to > 1 2015-08-08 14:14:48 +02:00
Lorenz Meier f105d65ab1 MAVLink: Only send trigger message when updated 2015-08-08 14:14:14 +02:00
Lorenz Meier 8dc3c0025a param command: Support greater comparison 2015-08-08 14:13:45 +02:00
Lorenz Meier c826451ac1 MAVLink app: Do not rate-limit trigger messages 2015-08-08 11:46:07 +02:00
Lorenz Meier bfa6c79cb5 MAVLink app: Fix camera trigger messaging 2015-08-08 11:44:04 +02:00
Lorenz Meier 0d897db266 Camera trigger: Launch publication in correct thread 2015-08-08 11:34:00 +02:00
Lorenz Meier 06a4e9c585 Rework trigger to operate on work queue and timers without jitter 2015-08-08 11:34:00 +02:00
Lorenz Meier e0f203e3da Sensors: ensure trigger param is present 2015-08-08 11:34:00 +02:00
Lorenz Meier 0e03f02b55 Moved trigger to drivers 2015-08-08 11:34:00 +02:00
Mohammed Kabir b12aca67b4 camera_trigger : fix formatting 2015-08-08 11:33:59 +02:00
Mohammed Kabir 7812aabbd7 camera trigger : multipin support 2015-08-08 11:33:59 +02:00
Lorenz Meier aa61d3b2d6 Merged beta into master 2015-08-08 11:33:42 +02:00
Lorenz Meier e09771be17 NSH terminal: Increase hold-off time to ensure USB is up and running 2015-08-08 11:31:58 +02:00
Lorenz Meier 0cae5f224c Commander: Trigger preflight check on every reconnect, but not when armed. Make RC regained and other messages non-critical. Implement param reset method. 2015-08-08 00:08:37 +02:00
Lorenz Meier e829eb0670 MAVLink app: Fix for hardware multiplier resetting to 1 once limitation was overcome. 2015-08-08 00:07:09 +02:00
Lorenz Meier ce90c40413 Merged beta to master 2015-08-07 14:41:19 +02:00
Lorenz Meier 8b7f1cf560 MC multi attitude control: Limit yaw rate to avoid mixer saturation. 2015-08-06 22:09:35 +02:00
Lorenz Meier ebb061764a MC attitude control: Limit yaw rate further to avoid mixer saturation in the first place 2015-08-06 22:09:09 +02:00
Lorenz Meier 8751355e2e Merge pull request #2647 from mcharleb/qurt-build-fixes
Fixes for posix-arm and qurt builds
2015-08-06 22:03:37 +02:00
Mark Charlebois faae76e3c7 Removed __PX4_QURT ifdefs from application layer
Replaced test for __PX4_QURT with test for NAV_DEBUG.

Optimized implementation to remove code when flag is not set.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-06 12:51:20 -07:00
Simon Wilks 5adb3cc308 Add support for a 'standard' VTOL with pusher/tractor motor. 2015-08-06 10:49:39 +02:00
Lorenz Meier 951b27518f Merged beta to master 2015-08-06 10:08:50 +02:00
Mark Charlebois 009f528266 Fixes for posix-arm and qurt builds
Ifdefed out deadcode in position_estimator_inav_main.c as the
deadcode does not compile for qurt.

Added fixes to get a successful build for posix-arm and qurt targets.
Removed CLOCK_REALTIME def from px4_time.h for qurt and removed unused
variables in att_est_q and mc_att_control.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-08-05 18:34:46 -07:00
Lorenz Meier e2c657ede0 MAVLink params: Eventually time out to make QGC happy, but let the user know that the boot failed. 2015-08-06 00:13:09 +02:00