Commit Graph

339 Commits

Author SHA1 Message Date
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
Pavel Kirienko 2c61ec6819 UAVCAN update, fixes compilation warning on GCC 4.7 (see #2294) 2015-06-07 00:10:53 +03: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
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