15635 Commits

Author SHA1 Message Date
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
Mark Charlebois
381b889526 POSIX: don't check stack size for position_estimator_inav
posix build fails on x86_64 with this check enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 18:00:49 -07:00
Mark Charlebois
f659a3e8cc POSIX: do not error on stack size warning
posix build fails on x86_64 with this check enabled.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 16:55:20 -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
e35648a398 Merge branch 'release_v1.0.0' of github.com:PX4/Firmware into beta 2015-07-02 01:00:29 +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
Lorenz Meier
c63f5f0486 Merge pull request #2503 from mcharleb/posix-arm-updates
Eagle: posix-arm and qurt changes to support Eagle HW platform
2015-07-01 21:09:49 +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
851a020461 Eagle: posix-arm and qurt changes to support Eagle HW platform
The Eagle HW platform contains both a Krait (ARMv4hf compatible) cpu
cluster and a Hexagon DSP running QuRT.

These changes support the PX4 build for Eagle.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-07-01 09:48: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
Lorenz Meier
c7e94baa5b Update SITL docs 2015-07-01 12:56:22 +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
Simon Laube
07efb655c4 change start script to launch the px4flow driver in background.
Fixes issue #2145
2015-06-30 21:15:50 +02: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
Simon Laube
7a93348340 implemented retrying the connection to the px4flow sensor before giving up. 2015-06-30 18:28:19 +02: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
Simon Laube
93dfc435a4 change the nested if structure which tries all i2c busses to a loop. 2015-06-30 17:53:19 +02:00
Lorenz Meier
aeccaf6582 Merge branch 'radioconf' into beta 2015-06-30 15:26:26 +02:00
Lorenz Meier
3d860086fa Merge branch 'release_v1.0.0' into beta 2015-06-30 15:26:18 +02: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
f0e9817f2b ROMFS: Adjust onboard data rate 2015-06-30 15:19:57 +02:00
Lorenz Meier
963972721d MAVLink app: Support rudimentary radio config. 2015-06-30 13:21:09 +02:00
Lorenz Meier
319f9d820f telemetry: Crank up rates to make param downloads and other things less painful 2015-06-30 12:55:28 +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
a33700a7ec Actuator controls: Add indices for channels and groups 2015-06-30 09:51:05 +02:00