ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2017-07-07 04:09:51 -0500 | received badge | ● Favorite Question (source) |
2014-07-27 16:04:39 -0500 | received badge | ● Famous Question (source) |
2014-05-23 00:42:55 -0500 | received badge | ● Enthusiast |
2014-05-22 01:39:24 -0500 | commented answer | How can I get depth data from Kinect? Thank you very much. I already solved the problem. The hackish solution you mentioned works, but it's difficult for a beginner like me to understand. So I tried OpenCV as you answered and I will update it under my question for other beginners. |
2014-05-21 22:59:25 -0500 | commented answer | get the raw kinect data Can you tell how to access the floating point values in cv_ptr->image? |
2014-05-09 00:55:09 -0500 | received badge | ● Scholar (source) |
2014-05-08 23:21:48 -0500 | received badge | ● Notable Question (source) |
2014-05-07 20:35:15 -0500 | received badge | ● Famous Question (source) |
2014-05-07 07:30:32 -0500 | received badge | ● Popular Question (source) |
2014-05-06 23:08:40 -0500 | received badge | ● Editor (source) |
2014-05-06 23:07:38 -0500 | asked a question | How can I publish the subscribed and processed msgs in a single node? Hi guys, I'm quite new to ROS and I also just start learning C++ in ROS. I have followed the tutorial ROS/Tutorials/WritingPublisherSubscriber(c++) and already known how to write a publisher and a subscriber separately. But I wonder can I put a publisher and subscriber in the same node. I searched and found this answer how to put subscriber and publisher in one cpp file ?. Yes, it does put them together, but they just work separately. What I want to do is Node A published "hello world" to Node B, and Node B can process the messages and then publish the edited resultes to Node C. I tried a simple node and this is my code based on the sample codes. But only the communication between talker and trans works, there is no message on topic chatter2. Can anyone help me find where is wrong or give me a sample code to study? |
2014-05-06 03:10:16 -0500 | received badge | ● Supporter (source) |
2014-05-06 00:07:24 -0500 | received badge | ● Notable Question (source) |
2014-05-05 23:41:24 -0500 | received badge | ● Nice Question (source) |
2014-05-05 23:09:15 -0500 | received badge | ● Student (source) |
2014-05-05 19:23:05 -0500 | received badge | ● Popular Question (source) |
2014-05-04 20:52:49 -0500 | asked a question | How can I get depth data from Kinect? Hi guys, I'm quite new to ROS. I'm using the Ubuntu 12.04 and openni driver. What I've been trying to do is to use Kinect to detect whether a door is open or closed. My idea is to write a node to subscribe to But when I use Firstly, thank Martin Günther's answer, it really help me a lot. And I already solve the problem by using OpenCV. Here is part of my code, it's very easy. If some beginners cannot understand that hackish solution, maybe you should try this one: |