Commit Graph

12312 Commits

Author SHA1 Message Date
Lorenz Meier 0ebf626632 MAVLink app: Allow higher max data rate 2015-04-26 14:24:01 +02:00
Lorenz Meier 8334073bb9 USB: Crank up bus speed a bit 2015-04-26 14:02:36 +02:00
Lorenz Meier 8edbf72bd5 sensors app: Use right lookup function 2015-04-26 14:02:22 +02:00
Lorenz Meier 76ce611e84 MAVLink app: Use right lookup function 2015-04-26 14:02:06 +02:00
Lorenz Meier 36ca62ece9 param lib: Provide used index lookup 2015-04-26 14:01:42 +02:00
Lorenz Meier 1b6742cebe commander: Better user feedback after resolving preflight check warnings 2015-04-26 12:04:16 +02:00
David Sidrane 585c5334be Update Nuttx submodule == master that has the Workaround for bad values read from the STM32_OTGFS_GRXSTSP 2015-04-25 06:51:55 -10:00
David Sidrane be378f4395 Merge pull request #2087 from PX4/master_usb_fix
Update Nuttx submodule == master_usb_fix that adds Workaround for bad va...
2015-04-25 06:45:24 -10:00
David Sidrane 3bba04b40a Update Nuttx submodule == master_usb_fix that adds Workaround for bad values read from the STM32_OTGFS_GRXSTSP 2015-04-25 06:32:46 -10:00
Lorenz Meier c7ecafe99b commander: Critical fix for arm state machine. Only auto-save if not stored already 2015-04-25 12:53:58 +02:00
Lorenz Meier 7e81778908 commander: Fix data link lost / regained logic 2015-04-25 10:15:15 +02:00
Lorenz Meier af22c49497 MAVLink app: send correct value when not estimating battery charge level 2015-04-25 09:45:16 +02:00
Lorenz Meier 75df06bc76 commander: Better text feedback in preflight-check 2015-04-25 09:43:54 +02:00
Mark Charlebois d913ec8dc9 Changed device::px4_device_handle_t to device::file_t
This change allowed the _posix.cpp file changes to be merged
back into the original files.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 17:49:35 -07:00
Lorenz Meier 5c4494b1c9 commander: Fixing HIL operation with failing preflight checks 2015-04-24 21:06:45 +02:00
Lorenz Meier 9c56aa386b Merge pull request #2078 from andrea-nisti/master
Integration with optitrack mocap system. Correction in att_estimator_ekf and sdlog2 modules.
2015-04-24 20:56:00 +02:00
Mark Charlebois 20d35e33da Platform header file cleanup and consolidation
Removed obsolete porting cruft from px4_XXX.h files and merged the
POSIX changes in PreflightCheck_posix.cpp back to PreflightCheck.cpp

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 11:45:14 -07:00
Mark Charlebois 16d6068bfd QuRT: patch for eigen
This patch is required for QuRT. comlpex.h defines "I" and it replaces "I" in the
enum definition without this patch creating an error.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 10:52:07 -07:00
Andrea Nistico e621b2eb18 code style fix 2015-04-24 17:03:05 +02:00
Andrea Nistico 3527a2fe89 Merge branch 'optitrack_integration'
sdlog and att_estimator_ekf update
2015-04-24 16:54:46 +02:00
Andrea Nistico 1f5775615f Rvis transposed, in this way we have consisency 2015-04-24 16:45:17 +02:00
andrea-nisti 72f9a3d8b0 Merge pull request #1 from andrea-nisti/optitrack_integration
Order fixed for vision position quaternion
2015-04-24 15:52:23 +02:00
andrea-nisti c5ce8f39ae Order fixed for vision position quaternion
changed from [x y z w] to [w x y z]. In this way the notation is consistent and flightplot shows the real values.
2015-04-24 15:51:52 +02:00
Mark Charlebois 58a73a5392 Fixed list of SRCS in mavlink_tests/module.mk
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:56:09 -07:00
Mark Charlebois 4cedcfc58e math/test/test.cpp has invalid calls
The function calls ceil() and floor() but passes an int and there
is obviously no implementation for that so clang fails.

It seems like exp should be a float from this code.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:40:46 -07:00
Mark Charlebois a1332e699c QuRT and POSIX changes - part 5
Last part of the main QuRT related changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:39:25 -07:00
Mark Charlebois 187f13cd70 QuRT and POSIX changes - part 4
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:24:31 -07:00
Mark Charlebois c802beb3d7 QuRT and POSIX changes - part 3
More staged changes to support QuRT and related POSIX changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:13:08 -07:00
Mark Charlebois 071c4c1a9e Updated module.mk for changed file names
sensors_x.c were consolidated to sensors.c

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:05:49 -07:00
Mark Charlebois 8737d77947 QuRT and POSIX changes - part 2
Second staged group of changes for QuRT and related POSIX changes

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 01:01:36 -07:00
Mark Charlebois 3336fce1f4 QuRT and POSIX changes
Partial commit of the changes for QuRT and related changes for POSIX

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-24 00:52:44 -07:00
Pavel Kirienko 3f961bf3c6 UAVCAN driver silently ignores repeated start commands without error. This allows to avoid error messages when UAVCAN driver is started from extras script before default initialization sequence is executed. 2015-04-23 22:02:34 +03:00
tumbili b7b9863595 corrected PWM_OUT for firefly6 configuration 2015-04-23 20:27:57 +02:00
Lorenz Meier d5a9dffd43 Startup script: Add OSD support 2015-04-23 13:33:54 +02:00
Mark Charlebois a4c33f5173 QuRT: removed calls to sleep
A stub for hrt_sleep was removed. Will add back when DSPAL supports
sleep.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 11:16:58 -07:00
Mark Charlebois e764c68d0a mavlink: consolidated nuttx and posix changes
Removed nuttx and posix specific files for mavlink_ftp and mavlink_receiver.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 11:08:19 -07:00
Mark Charlebois d63d2f7a61 Posix: removed obsolete file mavlink_main_posix.h
The changes for __PX4_POSIX are in mavlink_main.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 10:41:32 -07:00
Mark Charlebois f63ab3d5e3 Merge branch 'master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
2015-04-22 10:38:46 -07:00
Mark Charlebois 8e500f543e Combined nuttx and posix mavlink_main headers
Removed the separate implementations of mavlink_main_X.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 09:39:02 -07:00
Mark Charlebois 6a439f7ddc QuRT: Hello world app for QuRT
DSPAL for QuRT is still missing the pthreads exports and there is no
exported sleep function. These functions are stubbed out for the time being.

This is based on the 6.4.05 version of the Hexagon tools.

The Hexagon tools and DSPAL are needed to build the qurt target.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 08:48:48 -07:00
Mark Charlebois c77448747e Merge branch 'linux' of http://github.com/mcharleb/Firmware into linux 2015-04-22 08:32:42 -07:00
Mark Charlebois 9ec7020e02 Make a local function static
platforms/posix/main.cpp had a local function that wasn't static.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 08:31:41 -07:00
Mark Charlebois 7aac0e94db Posix: disable stack size check
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-22 07:50:45 -07:00
Roman Bapst 67956341e6 FireFly6: make landing gear manual pass-through 2015-04-22 13:40:49 +02:00
Roman Bapst 5b772e5720 update vehicle status before doing preflight checks 2015-04-22 13:32:09 +02:00
Lorenz Meier 5e584c2942 commander: Better low battery failure feedback 2015-04-22 09:27:03 +02:00
Mark Charlebois 93dea668dc Posix: make simulated devices always pass self tests
To facilitate testing, the simulated devices always return OK for
self tests.

rc.S was also upated to set CAL_XXXY_ID to the devid so tests pass the
calibration check.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 23:29:07 -07:00
Mark Charlebois 36a9f7a818 Posix: fixed calls to open that should be px4_open
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 23:26:14 -07:00
Mark Charlebois 02aaa403f1 Posix: removed PX4_DEVIOC* definitions
The following should not have been defined:

PX4_DIOC_GETPRIV
PX4_DEVIOCSPUBBLOCK
PX4_DEVIOCGPUBBLOCK
PX4_DEVIOCGDEVICEID

The actual defines are in drv_device.h and are:

DEVIOCSPUBBLOCK
DEVIOCGPUBBLOCK
DEVIOCGDEVICEID

DIOC_GETPRIV is defined by Nuttx, so mapped to SIOCDEVPRIVATE for POSIX

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 23:20:59 -07:00
Mark Charlebois da29004a26 Sync state_machine_helper_posix to state_machine_helper
state_machine_helper_posix.cpp was out of sync with
state_machine_helper_posix.cpp.

Added debug to detect when sensors is started before uorb.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 22:04:01 -07:00