Commit Graph

7555 Commits

Author SHA1 Message Date
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
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
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 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
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 963972721d MAVLink app: Support rudimentary radio config. 2015-06-30 13:21:09 +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
Lorenz Meier ac6abacac9 VTOL controller: Fix usage of old uORB API, fix indentation 2015-06-29 16:28:33 +02:00
Lorenz Meier 93580da922 commander: Restructure ifdef logic for POSIX build to keep NuttX and POSIX implementations aligned 2015-06-29 16:24:34 +02:00
Lorenz Meier 5b354b9631 PWM driver: Fix _IOC to _PX4_IOC for getting servo rate 2015-06-29 16:10:40 +02:00
Lorenz Meier 6638729af7 Update orb advert type in mavlink, by @boosfelm 2015-06-29 15:47:19 +02:00
Lorenz Meier a97931bf20 Update orb advert type in commander, by @boosfelm 2015-06-29 15:46:59 +02:00
Lorenz Meier e6688287cc Merge pull request #2478 from PX4/ekf_gains
EKF gains
2015-06-29 09:11:22 +02:00
Lorenz Meier b72ac1428c Merge pull request #2481 from PX4/mc_yawfix
MC yawfix
2015-06-28 23:29:57 +02:00
Lorenz Meier a0b89e55a9 Merge pull request #2485 from UAVenture/mp_mpc_vel_max
Add max velocity constraints to multiplatform MPC
2015-06-28 13:41:29 +02:00
Lorenz Meier 60b8c28be2 INAV app: Fix commandline handling 2015-06-28 13:35:55 +02:00
Andreas Antener b02c4ec356 add max vel constraints to multiplatform MPC 2015-06-27 18:12:18 +02:00
Andrew Tridgell 5e27b7bc31 ms5611: fixed the i2c device on NuttX. This was left-over debugging noise from the POSIX bringup. 2015-06-27 15:11:03 +02:00
Lorenz Meier ba68b70b0b MC pos control: Comment style fixes 2015-06-27 10:53:00 +02:00
Lorenz Meier 0fe01f6eb8 MC pos control: Fix manual yaw handling to not reset yaw in extreme angle conditions 2015-06-27 10:17:15 +02:00
Lorenz Meier be69887b7e EKF: Improved down gains from @boosfelm and @surberj 2015-06-26 19:50:49 +02:00