ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2012-09-07 11:18:15 -0500 | received badge | ● Famous Question (source) |
2012-09-07 11:18:15 -0500 | received badge | ● Notable Question (source) |
2012-09-01 06:22:20 -0500 | received badge | ● Famous Question (source) |
2012-09-01 06:22:20 -0500 | received badge | ● Notable Question (source) |
2012-08-21 08:25:46 -0500 | received badge | ● Famous Question (source) |
2012-08-21 08:25:46 -0500 | received badge | ● Popular Question (source) |
2012-08-21 08:25:46 -0500 | received badge | ● Notable Question (source) |
2012-04-18 01:42:41 -0500 | received badge | ● Popular Question (source) |
2012-04-10 13:14:54 -0500 | received badge | ● Popular Question (source) |
2011-12-31 12:45:22 -0500 | marked best answer | How to convert ros packages into c++ code to be used in code blocks? ROS nodes are just executables which can be run from the terminal or CodeBlocks. You will need to figure out how to set environment variables inside Code Blocks, but if you can do that you should not have a problem launching any of the c++ executables from within CodeBlocks. |
2011-10-30 12:38:51 -0500 | marked best answer | Getting a real time position feedback from rviz? You don't need to edit the amcl node at all. In the documentation here you can see that the amcl node publishes to a topic called amcl_pose that represents the robot's position with respect to the map origin. All you have to do is open a new terminal and type the following: You can find a tutorial on using rostopic here. Another option if you're going to be porting the information to a GUI application, you could run amcl while using rosbag, and then view it afterwards with rxbag to view it, export it to .csv files, etc. EDIT: In order to then return data to the robotino_base node, first look here to see what topics that the node subscribes to. If you want to publish to cmd_vel, you can see that the type is geometry_msgs/Twist (all cmd_vel messages are of this type). So to do this, you must use: For more information on how to specify the contents of the message, you can look here. I hope this helps. |
2011-10-12 12:58:21 -0500 | commented answer | Send data from one laptop(code blocks) to another laptop(ros packages)? So u mean I have my qt as ros package and also code blocks on client side, then how do I send it to the server side? |
2011-10-12 02:43:00 -0500 | received badge | ● Student (source) |
2011-10-11 15:05:31 -0500 | asked a question | Send data from one laptop(code blocks) to another laptop(ros packages)? Hi im doing a project whereby my robot will be controlled remotely. But I met a obstacle. I have a Qt design over at my client side, with buttons that are supposed to control the robot, but how do I send it over to the server side which is running ros packages? |
2011-09-14 15:34:16 -0500 | answered a question | Getting a real time position feedback from rviz? OK, now that i can get position data from rviz itself, is there anyway i can send data to it? like for example, sending cmd_vel ( a suscribed topic in robotino_base package) to the robot? Do i use this? $ rostopic pub /topic_name std_msgs/String hello but i don't get what i should insert to replace the std_msgs/String hello |
2011-09-14 15:29:20 -0500 | received badge | ● Supporter (source) |
2011-09-14 14:56:23 -0500 | answered a question | Getting a real time position feedback from rviz? i guess this will help, so i do not need to use the listener and talker anymore? becasue in the later part of my project i actually need to send feedback of my robot to another computer which is going to have a GUI interface. |
2011-09-14 14:13:05 -0500 | asked a question | Getting a real time position feedback from rviz? We all know that if we want to get the position of your robot we are using the amcl, now my goal is to get a real time x,y position of the robot as shown in rviz interface itself and display it in a loop in the Linux terminal, how do I do it. I have create a listener.cpp file, do I change amcl file to work like a talker since whatever the talker publish, the listener will receive? Or do I implant the cl codes into my listener.cpp? I'm a bit confused. |
2011-09-13 16:53:37 -0500 | asked a question | i added the listener.cpp and talker.cpp but when i try to run make but i have got some errors. cd build && cmake -Wdev -DCMAKE_TOOLCHAIN_FILE=`rospack find rosbuild`/rostoolchain.cmake .. [rosbuild] Building package connector [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/rospy/cmake/rospy.cmake [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/roslisp/cmake/roslisp.cmake [rosbuild] Including /opt/ros/diamondback/stacks/ros_comm/clients/cpp/roscpp/cmake/roscpp.cmake -- Configuring done -- Generating done -- Build files have been written to: /opt/ros/diamondback/stacks/connector/build cd build && make make[1]: Entering directory `/opt/ros/diamondback/stacks/connector/build' make[2]: Entering directory `/opt/ros/diamondback/stacks/connector/build' make[3]: Entering directory `/opt/ros/diamondback/stacks/connector/build' make[3]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' [ 0%] Built target rospack_genmsg_libexe make[3]: Entering directory `/opt/ros/diamondback/stacks/connector/build' make[3]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' [ 0%] Built target rosbuild_precompile make[3]: Entering directory `/opt/ros/diamondback/stacks/connector/build' make[3]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' make[3]: Entering directory `/opt/ros/diamondback/stacks/connector/build' [ 50%] Building CXX object CMakeFiles/listener.dir/src/listener.o /opt/ros/diamondback/stacks/connector/src/listener.cpp:2: fatal error: std_msgs/String.h: No such file or directory compilation terminated. make[3]: *** [CMakeFiles/listener.dir/src/listener.o] Error 1 make[3]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' make[2]: *** [CMakeFiles/listener.dir/all] Error 2 make[2]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' make[1]: *** [all] Error 2 make[1]: Leaving directory `/opt/ros/diamondback/stacks/connector/build' make: *** [all] Error 2 |
2011-09-09 03:25:35 -0500 | commented answer | How to convert ros packages into c++ code to be used in code blocks? I meant running the packages in codeblocks form instead of using the terminals in linux. Because I'm quite new to this and I actually tried the http://www.ros.org/wiki/IDEs#CodeBlocks but I thought this is not I wanted.
|
2011-09-09 03:14:37 -0500 | answered a question | How to convert ros packages into c++ code to be used in code blocks? I meant running the packages in codeblocks form instead of using the terminals in linux. Because I'm quite new to this and I actually tried the http://www.ros.org/wiki/IDEs#CodeBlocks but I thought this is not I wanted. |
2011-09-07 20:25:34 -0500 | asked a question | How to convert ros packages into c++ code to be used in code blocks? I have several ros packages running, but i need to convert all into a c++ codes but how do i do it ? |