Commit Graph

7593 Commits

Author SHA1 Message Date
Mark Charlebois f6af5dc312 Added hil_sensor to Subscription.cpp
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 20:20:45 -07:00
Mark Charlebois 1efabba6a6 SITL: Added HIL message used by simulator
The simulator uses this messgage to get incoming data from
jMAVSim that it publishes as sensor data that is consumed by the
sensors module.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 18:20:14 -07:00
Mark Charlebois c611749b4f Simulator: modified -p to publish individual sensor data
The simulator was changed to publish the sensor data that is read
by the sensors module when the -p flag is passed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 18:20:14 -07:00
Lorenz Meier 02850e0d16 Merge pull request #2510 from mcharleb/fabsf-fix
Chage use of fabsf for int to abs
2015-07-02 01:34:48 +02:00
Mark Charlebois 043bf9a4d7 Chage use of fabsf for int to abs
Use of fabsf() for int arg failed for clang. Changed to use abs().

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 16:13:49 -07:00
Lorenz Meier 8ce38cefae Merge pull request #2509 from mcharleb/qurt-layer
Qurt layer
2015-07-02 01:11:48 +02:00
Lorenz Meier 234990fbe4 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware 2015-07-02 01:00:06 +02:00
Mark Charlebois 0e7fab457b Removed extra whitespace
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 15:59:20 -07:00
Lorenz Meier 10961aac0e Merge pull request #2482 from PX4/mc_thr_lim
MC pos control: Enforce minimum throttle in manual attitude control m…
2015-07-02 00:59:00 +02:00
Lorenz Meier 347e3e9a7e PX4 log header: Add missing include 2015-07-02 00:37:39 +02:00
Lorenz Meier f411b7ed21 Merge branch 'getopt-cleanup-v2' 2015-07-02 00:26:57 +02:00
Mark Charlebois 28dd9759a6 POSIX: fixes for use of open vs px4_open, etc
Fixes for the posix build when virtual devices are used.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 23:51:12 +02:00
Lorenz Meier af4cc8ec91 Merge pull request #2501 from mcharleb/whitespace-cleanup
Code cleanup - Whitespace changes
2015-07-01 23:46:44 +02:00
Lorenz Meier 509ec90b76 Merge pull request #2406 from mcharleb/logging-v3
Improved logging with both compile and runtime level filtering
2015-07-01 23:31:50 +02:00
Lorenz Meier 13e585f9fb Merge pull request #2500 from mcharleb/systemcmds-tests-posix
Systemcmds tests posix
2015-07-01 23:25:54 +02:00
Mark Charlebois b5e6111d7c QuRT: src/platform/qurt changes
Changes to support QuRT intrgration with DSPAL and
move from simulator to real HW.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 12:54:27 -07:00
Lorenz Meier 8237b8bbaf Merge pull request #2502 from mcharleb/qurt-tests
QuRT: Unit tests for QuRT
2015-07-01 21:10:01 +02:00
Mark Charlebois 60ec1c897a QuRT: Added muorb files
muorb is used to proxy messages between the Krait and DSP.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 11:12:50 -07:00
Mark Charlebois 6b5a9d6c7b QuRT: Unit tests for QuRT
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 09:29:05 -07:00
Mark Charlebois 6763039980 Code cleanup - Whitespace changes
These are only whitespace changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 09:10:30 -07:00
Mark Charlebois e1de3c13c6 POSIX: added required header file for PRId64
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 08:04:51 -07:00
Mark Charlebois 63f7995b41 NuttX: fixes for printing size_t and int64_t
Added definition of PRId64 for C99 compatibility.
Used %zd for portable wat to print size_t.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Mark Charlebois 1e46f44123 POSIX: ported systemcmds/tests
Most of the systemcmds tests run in the posix build. The UART tests
fail for me as I do not have a UART connected.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 07:51:24 -07:00
Lorenz Meier 9c7450248f Merge pull request #2498 from mcharleb/bringup-m5
POSIX: Critical fix for vdev_posix
2015-07-01 15:13:29 +02:00
Lorenz Meier bc5cf50f1a Merge pull request #2361 from TSC21/mocap_support_restruct
MOCAP support on firmware [new PR]
2015-07-01 14:52:32 +02:00
Mark Charlebois d0b6c8f956 GCC: Added fix for strict prototypes warning
GCC requires a declaration of a static inline function prior to its
definition when strict-prototypes warning is enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 15:20:04 -07:00
Mark Charlebois 14bf8bb277 POSIX: Critical fix for vdev_posix
Last fix for vdev_posix.cpp introduced a sleep from within
a HRT work item callback which blocks the HRT queue.

The code in uORBDevices_posix.cpp that handles message
throttling was commented out for posix. The code was re-enabled
and now seems to work.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 12:08:42 -07:00
Lorenz Meier 428bd0a9ec Merge pull request #2497 from mcharleb/bringup-m5
Bringup m5
2015-06-30 20:02:57 +02:00
Mark Charlebois 1b01c54dd1 POSIX: fixed build error for unused variable
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 09:53:01 -07:00
Mark Charlebois 34d15fe631 Gyrosim cleanup
Removed unused code. Reset reschedule interval for sampling when the
sampling rate is changed.

The rate is always 1000Hz as it is set to the default value.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 09:23:37 -07:00
Mark Charlebois 641fd26877 QuRT: Fixed PX4_ISFINITE
QuRT needs to use the builtin version of isfinite so for the qurt
build PX4_ISFINITE(x) is defined as __builtin_isfinite(x).

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-30 09:10:06 -07:00
Lorenz Meier 3ef6212155 MAVLink app: Less verbose during radio config 2015-06-30 15:26:05 +02:00
Lorenz Meier b8609f99d7 MAVLink app: Fix parameter comments 2015-06-30 15:24:05 +02:00
Lorenz Meier 963972721d MAVLink app: Support rudimentary radio config. 2015-06-30 13:21:09 +02:00
Lorenz Meier 6697ffb668 IO driver: Set throttle to zero if in PWM ramp mode 2015-06-30 09:51:19 +02:00
Lorenz Meier 1b4405ee3a FMU driver: Set throttle to zero if in PWM ramp mode 2015-06-30 09:51:19 +02:00
Lorenz Meier cde8d72694 PWM output limiter: Improve comments. 2015-06-30 09:51:19 +02:00
Lorenz Meier ece87a3fa2 Mixer test: Fixed compile warnings 2015-06-30 09:51:04 +02:00
Lorenz Meier c28a69fba8 Mixer test: Ensure its not susceptible to timing jitter of the test harness 2015-06-30 09:51:04 +02:00
Lorenz Meier 5bec38b37d MC land detector: Slightly decrease allowed vertical motion during landed state. This is important so that fast descends do not result in a false positive landed state 2015-06-30 09:51:04 +02:00
Lorenz Meier 5549d480fd MC land detector: Update params and fix docs. Allow more motion during the landed state, but become more picky on throttle. 2015-06-30 09:51:04 +02:00
Lorenz Meier 9a36588361 MC land detector: If no position information is available, rely on the armed state exclusively to infer the landed condition. 2015-06-30 09:51:04 +02:00
Lorenz Meier 5982eaaf34 MC pos control: Enforce minimum throttle in manual attitude control mode only if not landed, else default to idle throttle 2015-06-30 09:51:03 +02:00
Lorenz Meier 395ef5562c navigator: Fix param meta data and comments 2015-06-30 07:10:26 +02:00
Lorenz Meier abbbfdfcee mc pos control: Fix params and descriptions 2015-06-30 07:10:13 +02:00
Lorenz Meier 77ff09792e vtol: Fix param meta data 2015-06-30 07:00:54 +02:00
Lorenz Meier 97e3c379ab sensors: Fix param meta data 2015-06-30 07:00:41 +02:00
Lorenz Meier 0271a56487 navigator: Fix param meta data 2015-06-30 07:00:30 +02:00
Lorenz Meier 0a9e2b3923 MAVLink app: Fix param meta data 2015-06-30 07:00:17 +02:00
Lorenz Meier f48ed93469 EKF: Fix param meta data 2015-06-30 07:00:05 +02:00