Commit Graph

13153 Commits

Author SHA1 Message Date
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
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 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
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
Mark Charlebois da2ac877f8 POSIX: Changed px4_poll to use hrt_work queue
QuRT's pthread_cancel implementation is lacking, and causes px4_poll to
always wait for the maximumn timeout. A cleaner implementation is provided
that uses the HRT work queue for posix targets.

In the future the posix code should be rtefactiored so that qurt (and other)
implementations that are duplicated, use the posix implementation.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-29 19:08:06 -07:00
Lorenz Meier a1dd0bc758 Merge pull request #2493 from cctsao1008/patch-3
Adjust the duration of the BIND pulse
2015-06-29 22:43:13 +02:00
cctsao1008 e9d5978165 Adjust the duration of the BIND pulse
Some DSMX Remote Receiver can't enter BIND mode with the duration about 25us but 120us.
2015-06-30 00:21:47 +08:00
Lorenz Meier ce45695915 Merge pull request #2487 from bansiesta/fix_linux_port_wildcard
Fix upload on some Linux machines
2015-06-28 16:47:32 +02:00
Lorenz Meier 2b34e46960 Merge pull request #2488 from bansiesta/fix_land_detector_start
land_detector: shut up if started correctly
2015-06-28 16:31:21 +02:00
Lorenz Meier 74d95f0441 INAV: Remove extra C++ flag 2015-06-28 16:31:04 +02:00
Lorenz Meier 5523b1ee4f Re-enable INAV verbose options 2015-06-28 16:29:46 +02:00
Lorenz Meier 99d59971ac INAV app: Fix commandline handling
Conflicts:
	src/modules/position_estimator_inav/position_estimator_inav_main.c
2015-06-28 16:29:00 +02:00
Ban Siesta b0642f8d32 land_detector: shut up if started correctly 2015-06-28 15:24:48 +01:00
Ban Siesta 0c1ec5eb8b makefiles: add /dev/serial/by-id/pci-3D_Robotics* to the ports to try on Linux 2015-06-28 15:15:50 +01:00
Lorenz Meier cddfcb35d8 Posix main: Only delay app startup 50 ms 2015-06-27 11:55:21 -07:00
Lorenz Meier dfae432f1a commander: Fix mag cal printing 2015-06-27 11:55:02 -07:00
Lorenz Meier d19de58102 Merge branch 'master' of github.com:PX4/Firmware into master_release 2015-06-27 11:54:17 -07:00
Lorenz Meier 064c02a817 MC controller: Update use to new uORB API 2015-06-30 15:46:40 +02:00
Lorenz Meier 6cf47b59da FW controller: Update use to new uORB API 2015-06-30 15:46:14 +02:00
Lorenz Meier 4cf9976ad8 Merge branch 'master_release' of github.com:PX4/Firmware into master_release 2015-06-30 15:43:53 +02:00
Lorenz Meier 50ba1f7365 merged release_v1.0.0 into master 2015-06-30 15:30:45 +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 7b05165249 Param unit test: Fix CLANG compile warning 2015-06-30 07:15:40 +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
Lorenz Meier cc3b4b3c35 commander: Fix param meta data 2015-06-30 06:59:54 +02:00