326 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
Thomas Gubler
d837bf4a0a fix ecl roll yaw controller includes 2015-05-03 08:54:08 +02: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
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
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
Lorenz Meier
d544ac0955 Sumd: Better magic number for RSSI 2015-04-21 17:45:29 +02:00
Mark Charlebois
440fc306a9 Added accelerometer simulator
The simulator satisfies the dependencies for an accelerometer
being present.

The accel code compiles but is not fully functional.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:35:47 -07:00
Mark Charlebois
5f3496353c Linux: added support for sdlog2
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:15:12 -07:00
Mark Charlebois
62f8bd6679 Linux build support for some libs
The following libs can now be built under Linux:

   lib/mathlib
   lib/geo
   lib/geo_lookup

The constants used for ROS are now shared with Linux in
px4_defines.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:57:01 -07:00
Mark Charlebois
9758112e31 Use px4_config.h instead of nuttx/config.h
Modified code to use OS independent header file for config settings.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:55:41 -07:00
Daniel Agar
207b57869d only define GIT_VERSION where it's used
-when the git revision is passed to every file as a define it causes
unnecessary ccache cache misses
2015-04-18 01:25:54 -04:00
Lorenz Meier
3ee9b441c6 Add STM32F4 discovery config. 2015-04-16 22:51:08 +02:00
Ban Siesta
2d19726ee7 rotation: added another missing rotation 2015-03-29 20:17:09 +01:00
Daniel Agar
8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Daniel Agar
c2abb0f82a fix code style if trivial one line difference 2015-03-19 23:49:36 +01:00
Johan Jansen
008a36003f Eigen: Add general purpose Eigen compatability header for PX4 2015-03-17 13:58:03 +01:00
Johan Jansen
b3e6d911be Eigen: Add eigen as a submodule 2015-03-17 11:34:04 +01:00
Lorenz Meier
ff1117b3a0 Merge pull request #1876 from friekopter/wobbling_elevator
fixed issue with elevator fluctuations at low airspeed in pitch controller
2015-03-07 12:08:21 +01:00
NosDE
29b6f5611b cleanup 2015-03-07 11:39:05 +01:00
NosDE
04f4206371 Graupner HoTT SUMD/SUMH Receiver Protocol added 2015-03-07 11:39:00 +01:00
fludwig
d6db372921 fixed include 2015-03-03 21:00:28 +01:00
Friedemann Ludwig
4a99daf5b6 Merge remote-tracking branch 'upstream/master' into wobbling_elevator 2015-03-03 20:41:27 +01:00
Roman Bapst
7a0db340f7 added quaternion methods for inverse and vector rotation 2015-03-02 22:44:32 +01:00
fludwig
32012e8aac fixed elevator wobbling at low airspeed.
Removed not applicable if conditions.
2015-03-02 18:15:11 +01:00
Thomas Gubler
59e623a2eb quaternion from dcm: comment and reference 2015-02-25 17:50:16 +01:00
tumbili
a252f4a991 fixed quaternion method from_dcm() 2015-02-23 22:30:49 +01:00
Lorenz Meier
3bb0008af5 Ashtech driver: Avoid unnecessary double precision conversion calls 2015-02-15 10:17:00 +01:00
Thomas Gubler
e5e42650c4 run code style fixer tool on ecl attitude lib 2015-02-15 10:13:49 +01:00
Thomas Gubler
edc5f8a057 add experimantal acceleration feedback by @kd0aij 2015-02-15 10:13:49 +01:00
Thomas Gubler
d1e9868b9b fw att: add acceleration to control_input 2015-02-15 10:13:49 +01:00
Thomas Gubler
d294046245 fw yaw: add enum for method selection 2015-02-15 10:13:49 +01:00
Thomas Gubler
53ffde30c2 fw att: add param to select yawrate control method 2015-02-15 10:13:49 +01:00
Thomas Gubler
2728889f78 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge_attctlposctl 2015-01-28 16:29:14 +01:00
Lorenz Meier
7faef870c8 Fix UAVCAN dependency generation issue 2015-01-22 09:24:13 +01:00
Pavel Kirienko
f6dc2af398 UAVCAN update 2015-01-21 14:54:24 +01:00
Pavel Kirienko
ed27e583e0 UAVCAN update 2015-01-21 14:54:24 +01:00
Pavel Kirienko
0901d99992 UAVCAN update (speed optimizations) 2015-01-21 14:54:23 +01:00
Thomas Gubler
dcdde8ea88 Merge remote-tracking branch 'upstream/master' into ros_messagelayer_merge
Conflicts:
	src/modules/attitude_estimator_ekf/attitude_estimator_ekf_main.cpp
	src/modules/uORB/topics/vehicle_attitude.h
2015-01-21 14:41:03 +01:00
Thomas Gubler
96db9e8188 Merge remote-tracking branch 'upstream/master' into ros
Conflicts:
	src/platforms/px4_middleware.h
2015-01-15 12:42:28 +01:00
Mark Whitehorn
3c98c7119e use non-uniform 1st order IIR lowpass filters for baro_gps_offset estimation 2015-01-13 09:06:00 -07:00
Pavel Kirienko
c51b73c196 UAVCAN update - fixes https://github.com/UAVCAN/uavcan/issues/8 2015-01-10 10:25:05 +01:00
Thomas Gubler
f13f41f704 point uavcan submodule to same commit as master 2015-01-08 09:08:50 +01:00
Thomas Gubler
74af4807a1 Matrix.hpp: remove wrong and correct formatting changes which are not on master for clarity 2015-01-08 08:26:04 +01:00
Thomas Gubler
fe279d340d Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	Makefile
2015-01-07 16:00:59 +01:00
Thomas Gubler
f37fdd95af add and use PX4_ROS preprocessor define 2015-01-06 19:45:57 +01:00
Thomas Gubler
5056b03ab0 geo: fix include 2015-01-06 19:14:01 +01:00
Thomas Gubler
c6722fce0b fw att control: cleanup, create base class for ECL
Adding a new base class to remove a lot of boilerplate code, no
functionality changes
2015-01-06 16:11:31 +01:00
Thomas Gubler
ef485177ac make Matrix.hpp more consistent with upstream 2015-01-05 10:25:39 +01:00
Thomas Gubler
16b9f666e7 Merge remote-tracking branch 'upstream/master' into dev_ros
Conflicts:
	src/lib/mathlib/math/Matrix.hpp
	src/modules/mc_att_control/mc_att_control_main.cpp
	src/modules/uORB/topics/vehicle_status.h
	src/platforms/px4_includes.h
2015-01-05 10:02:07 +01:00
Lorenz Meier
96a8003826 Merge pull request #1517 from rowoflo/patch-1
Fixed loop limit errors in Matrix.h
2015-01-04 01:34:01 +01:00