ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2016-11-06 08:16:49 -0500 | received badge | ● Nice Question (source) |
2014-02-01 11:40:46 -0500 | received badge | ● Famous Question (source) |
2013-11-28 03:34:43 -0500 | received badge | ● Notable Question (source) |
2013-09-29 18:07:34 -0500 | received badge | ● Famous Question (source) |
2013-09-01 22:34:26 -0500 | received badge | ● Notable Question (source) |
2013-08-12 03:42:33 -0500 | received badge | ● Popular Question (source) |
2013-08-11 20:15:24 -0500 | received badge | ● Popular Question (source) |
2013-08-08 00:17:59 -0500 | asked a question | Synchronize nodes Hi, I've got following situation: Two sensors nodes are publishing different values on different topics at 1khz: SensorNode A publishes measured contact force values SensorNode B publishes measured angles Further I've got two subscribers for these two publishers: Subscriber subA Subscriber subB Both Subscriber write on the same state-Object (state.force and state.angle) Method void control(state.force,state.angle) is called in the CallBackRoutine of subB and does some calculations based on the measured force and measured angle. But what happens is that the force-values and angle-values don't match. Sometimes it like in the Callback-Routine of subA values are written on state.force 5 times without having been read or sometimes in the Callback-Routine of subB state.force is read 5 times though they values couldn't be updated by subA How can I synchronize the two nodes? I'm coding in C++ but I'm really new to ROS. Thanks |
2013-07-31 06:08:13 -0500 | commented question | RQT GUI with rosbuild In the folder my_namespace, I created a folder build. In that build folder, I called cmake .. and make after that, when I call rosrun my_namespace my_namespace, I get: [rosrun] Couldn't find executable named my_namespace below /home/private/my_namespace [rosrun] Found the following, but they're either not files, [rosrun] or not executable: [rosrun] /home/private/my_namespace [rosrun] /home/private/my_namespace/build/devel/share/my_namespace [rosrun] /home/private/my_namespace/build/devel/lib/python2.7/dist-packages/my_namespace [rosrun] /home/private/my_namespace/build/catkin_generated/stamps/my_namespace |
2013-07-31 02:27:00 -0500 | asked a question | RQT GUI with rosbuild Hi I want to create a GUI to publish some message on a topic. I already tried following tutorial : http://www.ros.org/wiki/rqt/Tutorials/Writing%20a%20C%2B%2B%20Plugin without success. I'm new to ROS (groovy), QT and RQT. My requirements:
I tried to follow the above mentioned tutorial (using catkin). But, I'm not sure, what to change exactly in the plugin.xml (from the tutorial) to get CPP-Plugins working. Right now, my plugin.xml looks like this: My CmakeLists.txt: My package.xml: MyFiles:
|
2013-07-31 01:23:40 -0500 | commented question | Cpp GUI Tutorial Ok, I will create a new question as I still have not understood how to create my C++ RQT GUI |
2013-07-31 01:22:17 -0500 | received badge | ● Famous Question (source) |
2013-07-30 19:47:10 -0500 | received badge | ● Student (source) |
2013-07-30 19:26:40 -0500 | commented question | Cpp GUI Tutorial If I try to call CMake in the console, I get the same error. From this tutorial; http://ros.org/wiki/rqt/Tutorials/Create%20your%20new%20rqt%20plugin I dont get the point 6 and below. I dont have a setup.py. Do I need it? Im not using python |
2013-07-30 10:36:18 -0500 | commented answer | Cpp GUI Tutorial Thank you for your help, I made an edit for further questions. |
2013-07-30 04:47:08 -0500 | received badge | ● Notable Question (source) |
2013-07-30 02:05:29 -0500 | received badge | ● Popular Question (source) |
2013-07-30 01:52:30 -0500 | received badge | ● Editor (source) |
2013-07-30 01:45:05 -0500 | answered a question | Cpp GUI Tutorial Hey, thank you for your answer. I'm really new to QT and ROS. I tried to follow your links but was not able to understand it completely. I've build my example GUI with QT Creator. Right now, it just consists of a button. When it's clicked, then "Hello" is printed on the console. I'm using c++ as I've never used Python before. My ROS-Programm looks like this: Where Test is some Test-Class that publishes and subscribes topics. For creating my ROS-Programm I use QT-Creator with CMakeList.txt, manifest.xml and Makefile. My GUI-Programm has also a Main-Method: How do I actually integrate my QT-GUI to ROS? What I actually want to do, is to manually update some parameters (setpoint for Robot-Arm) during runtime of my application. What is the best way for doing this? |
2013-07-29 11:37:02 -0500 | asked a question | Cpp GUI Tutorial Hi, is there any tutorial, how to create a GUI, where I can publish messages on a certain topic for C++? Or can anyone provide a minimal Example, how to read and publish a integer? Thanks EDIT: I tried to follow the tutorial : http : // ros.org/wiki/rqt/Tutorials/Writing%20a%20C%2B%2B%20Plugin But somehow, when I try to load Cmakelists in QT Creator, I get following error:
Further, I don't get this from the tutorial: Basically the same step described in previous tutorial. Some unique cases: Replace rqt_gui_py with rqt_gui_cpp C++ binding specific note for xml attribute: /library/class@name The name of the plugin that is exported via the PLUGINLIB_DECLARE_CLASS macro. I just replaced rqt_gui_py with rqt_gui_cpp. But what is meant with C++ binding specific note for xml atribute? What should I do here exactly? [EDIT] My plugin.xml looks like this: I have following files:
|