355 Commits

Author SHA1 Message Date
Lorenz Meier
698af71482 Upgraded Eigen to 3.2.90 2015-08-15 00:02:48 +02:00
TSC21
055ea4fffd include EIGEN_MAX_STATIC_ALIGN_BYTES 16 macro 2015-08-14 18:37:00 +01:00
Lorenz Meier
d426a93e63 Upgrade Eigen version 2015-08-14 18:37:00 +01:00
Lorenz Meier
5a4df66f52 Downgrade Eigen to 3.2, since its not ready yet 2015-08-12 18:54:21 +02:00
Lorenz Meier
959a6e8367 Update Eigen to 3.2.5 2015-08-12 18:34:57 +02:00
Nghia Ho
a4726292b2 fixed double promotion warning when doing printf 2015-08-11 21:30:05 -07:00
Lorenz Meier
420acb9748 Merge branch 'beta' 2015-08-04 10:56:53 +02:00
Lorenz Meier
b066a79ca6 TECS lib: Low-pass height demand to avoid using the motor as a mechanical low-pass filter 2015-08-02 16:07:32 +02:00
Lorenz Meier
0d9d5d1fa5 TECS: Limit rate demands 2015-08-02 16:07:31 +02:00
Lorenz Meier
ea7ae7d019 Merged beta into master 2015-08-01 16:58:02 +02:00
Lorenz Meier
09da389558 TECS: Add in-air state and trigger filter state resets when not flying to ensure correct filter state initialization 2015-07-27 10:10:15 +02:00
Lorenz Meier
97e9f44d35 TECS: Reset integrator states on first run or when DT is large 2015-07-22 22:40:26 +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
Lorenz Meier
454becdae5 Merged release_v1.0.0 branch into master 2015-06-25 21:45:17 +02:00
Mark Charlebois
729653ba71 SITL: changed posix_default to posix_sitl
The SITL build is now the default posix build.

The linker script for posix was moved to makefiles/posix.
The rc.S file was moved to posix-configs/SITL/init/
The POSIXTEST board definition is now SITL

To run the SITL test run:

make sitlrun

This replaces the make posixrun target.

The build directory is now Build/posix_sitl.build/

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-06-15 09:51:07 -07:00
Lorenz Meier
9745d16905 Merge pull request #1977 from devbharat/fix_issue_1963
Shifted the set() function for Matrix3x3, Vector2, Vector3, Vector4 to a...
2015-06-15 17:35:40 +02:00
Lorenz Meier
55ed9e9612 ECL: Run TECS filter faster, adjust gains accordingly 2015-06-12 16:10:20 +02:00
Pavel Kirienko
2c61ec6819 UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294) 2015-06-07 00:10:53 +03:00
David Sidrane
68276ff345 Back Port from Master - Changes to build on latest uavcan master with FW upload and Node ID 2015-06-05 06:43:10 -10:00
David Sidrane
6155a1557f Changes to build on latest uavcan master with FW upload and Node ID allocation 2015-06-04 02:37:59 -10:00
Lorenz Meier
4565f57468 Merged release_v1.0.0 into master 2015-05-27 15:28:41 -07:00
Mark Whitehorn
db7d0ef51f add a new rotation to lib/conversion 2015-05-26 15:28:25 -06:00
Mark Charlebois
36f5d47ed9 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/gyro_calibration.cpp
	src/modules/mavlink/mavlink_ftp.cpp
2015-05-16 15:04:38 -07:00
Thomas Gubler
8a891591a8 make constrain airspeed actually constrain the airspeed 2015-05-16 19:05:31 +02:00
Mark Charlebois
db52227409 Merge remote-tracking branch 'upstream/master' into linux
Signed-off-by: Mark Charlebois <charlebm@gmail.com>

Conflicts:
	src/modules/commander/accelerometer_calibration.cpp
2015-05-06 15:51:39 -07:00
Lorenz Meier
6c859245e2 Merge pull request #2013 from PX4/attitude_estimator_q
attitude_estimator_q added
2015-05-05 20:29:51 +02:00
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
Anton Babushkin
7761e461e9 mathlib quaternion: atan2 & asin changed to atan2f & asinf 2015-04-12 13:28:43 +02:00
Anton Babushkin
dc2bb2a85e attitude_estimator_q added 2015-04-12 01:47:48 +02:00
Bharat Tak
f7bd105340 Shifted the set() function for Matrix3x3, Vector2, Vector3, Vector4 to appropriate derived class. 2015-04-03 11:34:50 +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