Commit Graph

964 Commits

Author SHA1 Message Date
Thomas Gubler 9520983e08 lots' of header juggling and small changes to make mc att control compile for NuttX and ROS 2014-12-16 08:24:51 +01:00
Thomas Gubler e38d0c27bd Merge remote-tracking branch 'upstream/ROS_shared_lib_base_class' into dev_ros_mcatt 2014-12-15 10:46:51 +01:00
Roman Bapst f19b8e570c added file to make PX4 math functions compatible with eigen 2014-12-15 09:06:58 +01:00
Thomas Gubler c0d386bce0 mc att: use multiplatform subscriptions type 2014-12-12 10:15:33 +01:00
Thomas Gubler ab35b6470c mc att: use multiplatform publisher 2014-12-11 19:02:14 +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 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 f0ad2c9ef5 px4 subscriber: uorb: check if callback null at correct location 2014-12-10 17:02:49 +01:00
Thomas Gubler e43a05de3a add systemlib to px4 includes 2014-12-10 15:06:17 +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 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 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 0b9ef53ac1 Merge branch 'dev_ros' into dev_ros_rossharedlib 2014-12-04 13:36:16 +01:00
Thomas Gubler f4a326c2bf platform headers: fix code style 2014-12-04 13:20:12 +01:00
Thomas Gubler e0bb713bb0 more documentation comments 2014-12-04 13:06:38 +01:00
Thomas Gubler 0f094d35d5 nodehandle: add documentation comments 2014-12-04 12:22:21 +01:00
Thomas Gubler befe4c399e comments for px4 defines 2014-12-04 11:50:59 +01:00
Thomas Gubler 83d97fd1c2 better support for param default values on ros and px4 2014-12-04 09:53:37 +01:00
Thomas Gubler c2e2b3d52f make param wrapper macros compatible for px4 and ros, needs cleanup 2014-12-03 17:04:15 +01:00
Thomas Gubler 924350a5de bring up param wrapper for px4, moved global include file 2014-12-03 15:11:27 +01:00
Thomas Gubler 1c79f0cef1 improve param wrapper for ros, prepare for px4 2014-12-03 14:43:03 +01:00
Thomas Gubler 6a99b04fb7 add parameter wrapper macros for ros 2014-12-03 12:31:37 +01:00
Thomas Gubler 905913986a update comments 2014-12-03 07:43:08 +01:00
Thomas Gubler ad499a5944 Merge remote-tracking branch 'upstream/ROS_shared_lib_base_class' into dev_ros_rossharedlib
Conflicts:
	src/modules/uORB/topics/vehicle_attitude.h
	src/platforms/px4_defines.h
2014-12-02 16:52:38 +01:00
Thomas Gubler 05a87a706a move px4_defines file 2014-12-02 16:17:17 +01:00
Thomas Gubler 4d91c61f8f add macros for easy 2d array support, builds on px4 test build 2014-12-02 10:46:29 +01:00
Thomas Gubler 6b695ac9e8 add PX4 advertise macro 2014-11-28 23:14:50 +01:00
Thomas Gubler caa61a4fdc add support for subcription method callbacks for ros and nuttx 2014-11-28 23:09:45 +01:00
Thomas Gubler 9abc8e26b7 correctly handle interval, call callback only when topic updated, add example for 2 topics 2014-11-28 16:30:12 +01:00
Thomas Gubler a9c1e4ad61 make px4::ok work, use it in px4::spin 2014-11-28 16:08:51 +01:00
Thomas Gubler cefccc0037 re-add accidentally deleted line from commit bc4209681c 2014-11-28 14:18:30 +01:00
Thomas Gubler bc4209681c remove comment 2014-11-28 14:05:24 +01:00
Thomas Gubler 1b416a8e1f use interval setting correctly, improve px4::spin 2014-11-28 14:00:02 +01:00
Thomas Gubler 16f21d36dc actually call callback 2014-11-28 11:38:22 +01:00
Thomas Gubler 59a9648bb6 macro for topic subscription 2014-11-28 10:18:28 +01:00
Thomas Gubler 36bf0c04c8 WIP, c++11 style callbacks for px4 2014-11-28 08:58:44 +01:00
Thomas Gubler ee534b827a move spin functions to nodehandle 2014-11-26 13:18:28 +01:00
Thomas Gubler 818a49b5a8 fix ros compile errors 2014-11-26 12:45:03 +01:00
Thomas Gubler 0474908e1c reenable task flag 2014-11-26 11:55:48 +01:00