Commit Graph

35 Commits

Author SHA1 Message Date
Daniel Agar 4151522902 only enforce frame size for nuttx 2015-10-06 23:37:33 -04:00
Daniel Agar 6c10cf18e4 re-enable Werror 2015-10-06 18:28:30 -04:00
Lorenz Meier fa5071b3c5 Remove module.mk files to prevent confusion of adopters upgrading 2015-10-06 11:23:20 +02:00
James Goppert 1d6b31d196 Switch to cmake build system. 2015-09-07 20:37:45 -04:00
Lorenz Meier ce90c40413 Merged beta to master 2015-08-07 14:41:19 +02:00
Lorenz Meier 8b7f1cf560 MC multi attitude control: Limit yaw rate to avoid mixer saturation. 2015-08-06 22:09:35 +02:00
devbharat 2bcbda49ac Added function prototype for missing declaration errors with nuttx 2015-07-16 18:47:47 +02:00
devbharat 68e3c477ed Tested mc_att_control_m and mc_pos_control_m in jmavsim.OK. 2015-07-16 18:00:22 +02:00
Mark Charlebois 0f5cb75692 ROS: Fixes for ROS build
The ROS build included some files that used isfinite vs PX4_ISFINITE.

The AppState class also needed to be supported for ROS.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-19 10:41:15 -07: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
Lorenz Meier e400ec586d multiplatform att controller: Rename params to prevent mixup with MC params 2015-05-13 15:18:50 +02:00
Mark Charlebois c5237f7f6f Removed extra abstracton layer in systemlib
The calls to task_spawn_cmd, kill_all, and systemreset  were wrappers
around the px4_{task_spawn_cmd|kill_all|systemreset} implementations.

Removed the wrappers and changed all calls to the px4_ equivalents.

NuttX specific code was moved into px4_tasks.h

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-05-06 14:43:11 -07:00
Mark Charlebois fd7863270e Nuttx: fixed missing changes from AppMgr to AppState
Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:00:18 -07:00
Mark Charlebois 5084a61f0e Abstractions to compile systemlib for Linux and Nuttx
Modified uint32_t casts of pointers to unsigned long for portability.
It otherwise breaks on x86_64.

Added _PX4_IOC to handle the conflice between _IOC on Linux and NuttX.

Removed use of px4::ok() because it cannot be used in a thread based
implementation. Changed to use px4::AppMgr which uses ok() on ROS.

Removed up_cxxinitialize.c from Linux build.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 11:00:16 -07:00
Mark Charlebois bf429188b4 Reverted: Use OS independent API for task creation/deletion
Keep existing API use in code. Bind the use of the OS independent
implementation in the systemlib layer.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Mark Charlebois ddb32742eb Use OS independent API for task creation/deletion
Calls to task_delete and task_spawn_cmd are now
px4_task_delete and px4_task_spawn_cmd respectively.

The px4_tasks.h header was added to the affected files
and incusions of nuttx/config.h were removed.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
2015-04-20 10:49:44 -07:00
Daniel Agar 2e824bbeea fix incorrect argc < 1 check for no arguments
-requiring arguments should be argc < 2
2015-04-18 12:02:58 +02:00
Thomas Gubler 747a00d70d simulator repository was renamed 2015-04-09 20:08:11 +02:00
Daniel Agar 8aae66b893 trivial code style cleanup round 2 2015-03-27 23:38:58 -04:00
Thomas Gubler 163c25268b mc att multi: reduce stack size 2015-03-01 18:34:06 +01:00
Thomas Gubler 4bc2d5f687 mc att multi: style fixes to be consistent with old controller 2015-02-24 20:33:32 +01:00
Thomas Gubler a56c16dfab multiplatform port of #1741: move params from att control to pos control 2015-02-24 20:33:32 +01:00
Thomas Gubler f1c6b24f7a multiplatform port of #1741: att control: remove yaw sp reset after acro 2015-02-24 20:33:32 +01:00
Thomas Gubler 7b57092a9d multiplatform port of #1741: remove attitude sp generation from mc_att_control_multiplatform 2015-02-24 20:33:32 +01:00
Thomas Gubler 893beb64a0 mc att ctrl multiplatform use new param api 2015-02-08 17:53:26 +01:00
Thomas Gubler 9532b680dd multiplat mc att ctrl: move yaw sp only if xy is not controlled
This is a work-around until #1741 makes it to the multiplatform version
2015-02-06 21:07:43 +01:00
Thomas Gubler 211b58cd1a fix typo in comment 2015-01-29 14:40:28 +01:00
Thomas Gubler 9245f28fb8 mc attctl multiplatform: fix memcpy 2015-01-28 17:46:22 +01:00
Thomas Gubler f23e603d02 mc attctl multiplatform: increase stack size 2015-01-26 19:01:35 +01:00
Thomas Gubler de44c549eb mc attctl multiplatform: remove memsets 2015-01-26 19:01:18 +01:00
Thomas Gubler 092a3c5129 add start wrapper for mc att ctl multip 2015-01-25 18:23:46 +01:00
Thomas Gubler 7634147c0f starting to port mc att ctrl multiplatform to the latest api 2015-01-25 15:02:43 +01:00
Thomas Gubler c2cc247e76 renamed mc_att_control_multiplatform to mc_att_control_m 2015-01-09 09:39:21 +01:00
Thomas Gubler f37fdd95af add and use PX4_ROS preprocessor define 2015-01-06 19:45:57 +01:00
Thomas Gubler 5876ff11ec mc att control multiplatform alongside normal mc att control 2015-01-05 16:12:22 +01:00