23 Commits

Author SHA1 Message Date
Mark Charlebois
12a25e4b63 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	makefiles/firmware.mk
	src/modules/commander/module.mk
	src/modules/mavlink/mavlink_ftp.h
	src/modules/mavlink/mavlink_tests/module.mk
2015-05-04 16:36:59 -07:00
Roman Bapst
be03f98d64 added esc calibration routines 2015-04-28 15:15:46 +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
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
19162ba5be Posix: Changed PreflightCheck to read Vdev
PreflightCheck was failing because it was trying to read actual
devices instad of virtual devices.

ADCSIM had a LINUXTEST ifdef that was removed.

posix_run.sh was using the wrong path

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 17:14:52 -07:00
Mark Charlebois
f3b5076d70 Linux to posix conversion
Changed "linux" target to "posix". Most of the changes are shared with
QuRT and with OSX. The Linux specific parts are in for i2c which uses
<linux/i2c.h> and <linux/i2c-dev.h>.

There is also a check for __PX4_LINUX in mavlink for a tty ioctl that is
not supported.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-21 09:53:09 -07:00
Mark Charlebois
260bbcb64a Nuttx: fixups after rebase on Linux
Seems that mavlink_receiver_linux.cpp inherited the history
from mavlink_receiver.cpp so updates went to it vs mavlink_receiver_nuttx.cpp

Two module.mk files used ifdef instead of ifeq.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 12:57:02 -07:00
Mark Charlebois
f44a23bc26 Check stack for commander only for NuttX
Turn off check of stack if not a NuttX build

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:51 -07:00
Mark Charlebois
694427e4ba Converted commander to use px4_posix calls
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Mark Charlebois
bba26c3430 Linux: enabled commander module
The commander module now compiles for Linux.

state_machine_helper_linux.cpp iterates over the virtual devices vs
all devices under /dev as per NuttX when disabling publishing.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:37:50 -07:00
Johan Jansen
fde244f903 Commander: Add PreflightCheck to the commander 2015-04-20 09:14:12 +02:00
Lorenz Meier
ad54ff616d commander: Increase frame size limit 2015-03-15 17:24:50 +01:00
Lorenz Meier
d3dd4a21e2 commander: Support commandline sensor calibration 2015-02-09 22:56:25 +01:00
Thomas Gubler
c583f1fe8b increase commander framesize 2014-12-28 23:22:02 +01:00
Daniel Agar
5b600a815c Replace use of -Wno-error and only ignore specific warnings 2014-12-23 11:18:36 -05:00
Daniel Agar
d511e39ea7 turn on -Werror and fix resulting errors 2014-12-22 17:56:59 -05:00
Lorenz Meier
63905265eb Save code size on commander, reduce stack size of starting tool (NOT OF THE APP ITSELF!) 2014-05-14 14:04:04 +02:00
Anton Babushkin
ef6f1f6f80 get_rot_matrix() moved to separate library, accel calibration of rotated board fixed 2013-10-20 19:36:42 +02:00
Lorenz Meier
68ab69de01 moved commander to C++, preparation for better gyro scale calibration respecting the current attitude for more accurate results 2013-07-20 13:47:51 +02:00
Julian Oes
0ecc9c4bf4 Shrinking the main commander file a bit 2013-06-25 16:30:35 +02:00
Lorenz Meier
eac9e10a83 Moved calibration 2013-05-06 23:50:14 +02:00
Lorenz Meier
e6ed8268ee Moved position_estimator_mc, px4io driver and sdlog app to new style build 2013-04-27 12:59:47 +02:00
px4dev
01e427b17c Merge working changes into export-build branch. 2013-04-26 16:14:32 -07:00