Commit Graph

10112 Commits

Author SHA1 Message Date
Thomas Gubler 75a8701537 mc att: correctly handle topics which are simultaneously subscribed and published 2014-12-12 11:21:43 +01:00
Thomas Gubler c0d386bce0 mc att: use multiplatform subscriptions type 2014-12-12 10:15:33 +01:00
Thomas Gubler 59d26f5c30 mc att: remove subscriber handles 2014-12-12 07:34:23 +01:00
Thomas Gubler ab35b6470c mc att: use multiplatform publisher 2014-12-11 19:02:14 +01:00
Thomas Gubler b755312a1e mc att: use PX4 macros to init and get params 2014-12-11 17:12:03 +01:00
Thomas Gubler 9d0ecc77bb mc att: convert param definitions to be compatible with multiplatform build 2014-12-11 17:05:12 +01:00
Thomas Gubler ce73a81602 WIP remove unnecessary functions 2014-12-11 16:41:04 +01:00
Thomas Gubler 9c09a9e8d5 mc att control: prepare for ros integration, move class into spearate file 2014-12-11 16:11:04 +01:00
Thomas Gubler 12df129da2 Merge branch 'dev_ros' into dev_ros_mcatt
Conflicts:
	CMakeLists.txt
2014-12-11 15:56:32 +01:00
Thomas Gubler 998646f03b add base class and template subscriber class as well to improve interface to get last msg value 2014-12-11 15:33:32 +01:00
Thomas Gubler c68c277c94 subscription class for ros now stores last message to avoid manual copy and support subscription with no callbacks 2014-12-11 15:04:37 +01:00
Thomas Gubler fd6a5fd38b move px4::init call 2014-12-11 10:58:47 +01:00
Thomas Gubler 173b1b2a8b WIP, make class based and extended subscriber/publisher example compile for ros 2014-12-11 10:51:19 +01:00
Thomas Gubler a1685ed6d0 change definition of px4 main function 2014-12-11 09:27:11 +01:00
Thomas Gubler d04bbf11ec subscriber example: add comment 2014-12-10 18:34:41 +01:00
Thomas Gubler 1b6b6cd35c add no callback example to subscriber example 2014-12-10 17:03:24 +01:00
Thomas Gubler f0ad2c9ef5 px4 subscriber: uorb: check if callback null at correct location 2014-12-10 17:02:49 +01:00
Thomas Gubler da4cfad3c2 subscriber example: improve init 2014-12-10 16:25:10 +01:00
Thomas Gubler 8ae1c9763d write publisher example as class 2014-12-10 16:22:19 +01:00
Thomas Gubler cb77c16601 add sched.h to systemlib includes
SCHED_RR and SCHED_FIFO are defined in sched.h
2014-12-10 15:06:45 +01:00
Thomas Gubler e43a05de3a add systemlib to px4 includes 2014-12-10 15:06:17 +01:00
Thomas Gubler 2e0f13981e Merge branch 'dev_ros_sharedlibbaseclass' into dev_ros_sharedlibbaseclass_mcatt 2014-12-10 12:44:56 +01:00
Thomas Gubler aec4be3b01 Merge remote-tracking branch 'upstream/ROS_shared_lib_base_class' into dev_ros_sharedlibbaseclass 2014-12-10 12:44:27 +01:00
Thomas Gubler 03ba38d0a4 very much WIP, start to make mc att control p4 and ros compatible 2014-12-10 12:42:57 +01:00
Thomas Gubler e622430460 px4 subscriber/nuttx: don't call null callback 2014-12-10 12:41:54 +01:00
Thomas Gubler 24fd5759b5 add missing __EXPORT 2014-12-10 12:41:11 +01:00
Thomas Gubler 9ed57211cc hack to define isspace in px4_defines, add macro for subscription without callback 2014-12-10 12:40:36 +01:00
Thomas Gubler 712e5797eb Subscription: define more templates 2014-12-10 12:39:33 +01:00
Thomas Gubler 76457e63c5 add nuttx platform to default makefile 2014-12-10 12:38:54 +01:00
Thomas Gubler 9d5f06c9a7 remove actuator armed uorb topic 2014-12-08 15:50:30 +01:00
Thomas Gubler afa835744c remove unnecessary type in msg.h template 2014-12-08 15:48:44 +01:00
Thomas Gubler fe6663ad9a add platforms/nuttx to default makefile 2014-12-08 15:09:31 +01:00
Thomas Gubler b500cfb1f1 mc att ctl: remove code which is already in base class 2014-12-08 14:21:04 +01:00
Thomas Gubler 377030bd8a mc att ctl: remove code which is already in base class 2014-12-08 14:20:11 +01:00
Thomas Gubler 77fd7b388b parameter update as msg 2014-12-08 14:04:20 +01:00
Thomas Gubler 88f4931fd1 actuator armed as msg 2014-12-08 13:44:08 +01:00
Thomas Gubler 356e6f1eeb WIP, move some ORB defines 2014-12-08 13:42:40 +01:00
Thomas Gubler b93fcca433 vehicle cotnrol mode as msg 2014-12-08 12:34:57 +01:00
Thomas Gubler a71e6ed3c6 change headers to use vehicle attitude msg 2014-12-08 12:25:39 +01:00
Thomas Gubler 99d89577cd vehicle rates sp as msg 2014-12-08 12:23:27 +01:00
Thomas Gubler fc4b722e72 fix headers, remove unneded uorb headers 2014-12-08 12:17:30 +01:00
Thomas Gubler dc945a3f3f actuator controls as msg 2014-12-08 12:12:23 +01:00
Thomas Gubler b3600e5ee6 manual_control_setpoint as msg 2014-12-08 11:06:56 +01:00
Thomas Gubler 87df7c3243 move vehicle_attitude_setpoint to msg format 2014-12-08 10:37:01 +01:00
Thomas Gubler 65629d09d5 add mc att to cmakelist 2014-12-08 10:35:59 +01:00
Thomas Gubler fd01c7fc58 set NuttX submodule 2014-12-06 18:43:43 +01:00
Thomas Gubler 042be3d49a Merge branch 'dev_ros' into dev_ros_rossharedlib 2014-12-06 15:37:27 +01:00
Thomas Gubler 52c35a8e20 solve conflict for definiton of FILE 2014-12-06 15:36:58 +01:00
Thomas Gubler b9de4d0e14 Merge branch 'ROS_shared_lib_base_class' into dev_ros_rossharedlib 2014-12-05 10:35:05 +01:00
Thomas Gubler 996438aafe fix base and sim file descriptions 2014-12-05 10:33:14 +01:00