ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2017-03-08 03:46:04 -0500 | received badge | ● Famous Question (source) |
2017-02-03 02:17:05 -0500 | received badge | ● Self-Learner (source) |
2016-12-30 20:31:36 -0500 | received badge | ● Notable Question (source) |
2016-09-18 14:35:56 -0500 | received badge | ● Popular Question (source) |
2016-09-15 09:46:52 -0500 | received badge | ● Scholar (source) |
2016-09-15 09:45:18 -0500 | answered a question | Subscriber in sample_app of android_ndk not working After some debugging i found out that my network was not set up properly. I had to set the ROS_IP environment variable to my local ip. For further information read http://wiki.ros.org/ROS/NetworkSetup |
2016-09-12 12:40:44 -0500 | received badge | ● Enthusiast |
2016-09-11 07:47:16 -0500 | received badge | ● Teacher (source) |
2016-09-11 02:15:29 -0500 | answered a question | Make ROS talk between two programs I can only provide you with online references, but they should be sufficent for your problem. I am assuming you already installed ROS on your pc. Then you can follow this tutorial to communicate between Matlab and the ROS master. http://mathworks.com/help/robotics/ex... The next step would be communicate between your C++ program and the ros master. You can follow this tutorial: http://wiki.ros.org/ROS/Tutorials/Wri... (If you are completly new to ros, you should probably begin right here to understand the core concepts: http://wiki.ros.org/ROS/Tutorials ) Further tips: Your Matlab progam will be a publisher. It will publish messages on a topic (you can choose the name of the topic yourself). The C++ program will be a subscriber. You subscribe to the previous defined topic and a callback will be called everytime the Matlab program publishes a message. Inside the callback you can use the message for whatever you need. Check the default message types to see if any of them fits your data structure or define your own message type, as seen in the tutorials. |
2016-09-07 05:18:01 -0500 | asked a question | Subscriber in sample_app of android_ndk not working Hello everybody, I'm currently trying to port a c++ Desktop Applicatioon to Android. I have been able to build the andoird_ndk sample app following this tutorial: http://wiki.ros.org/android_ndk/Tutor... But when I start the app and publish a message from my workstation as described in the tutorial, the callback is never called, as i have verified with logcat. To check the general connection, i have modified the test.cpp file to publish a single message before entering the while-loop and i am able to receive this message on my workstation. Does anyone have an idea, what could cause this issue? (Since I'm new to ROS, tell me if you need further information) |