ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
2014-08-01 06:18:55 -0500 | received badge | ● Nice Answer (source) |
2014-07-26 10:44:36 -0500 | received badge | ● Famous Question (source) |
2014-07-26 10:44:36 -0500 | received badge | ● Notable Question (source) |
2014-07-21 04:40:46 -0500 | received badge | ● Self-Learner (source) |
2014-07-08 06:24:21 -0500 | received badge | ● Famous Question (source) |
2014-05-15 23:21:45 -0500 | commented question | Problems managing workspace and ROS_PACKAGE_PATH Try adding it simply by executing this command: export ROS_PACKAGE_PATH= /opt/ros/hydro/share:/opt/ros/hydro/stacks:/path/to/your/ws Does this work? |
2014-05-15 23:17:40 -0500 | commented question | Problem positioning map Perhaps you just have to change your fixed frame to /map in rviz. |
2014-05-15 23:13:09 -0500 | answered a question | obstacle_layer does not clear area When you visualize your laserScan with "rostopic echo /scan" does it show a lot of zeros (or Infs)? If so, create a filter to change these values to your laser max range values. Maybe you are not clearing because your lasers do not tell that "they see staff beyond" the place where there used to be an obstacle. |
2014-05-14 09:59:25 -0500 | answered a question | how to change a map To make robots go to the same place, both robots have to subscribe to this same topic
and process the goal for both robots to make them go to the same place. |
2014-05-10 16:57:25 -0500 | answered a question | How to make a loop that runs every time ros node receives a message? I am not sure I exactly understood what you wanna do. But here is a suggestion: First when you announce your publisher, specify 0 to avoid missing a msg (infinite queue: WATCH OUT! This can be dangerous..). Like this!
Then just do this inside your callbacks:
Note that you do not need to create a node to change a topic name. This is easily done by just adding this line in the right place on your launch file:
|
2014-05-10 08:04:04 -0500 | received badge | ● Nice Answer (source) |
2014-05-03 19:23:40 -0500 | commented question | Quaternion Rotation So... the question is... ? |
2014-04-20 06:56:40 -0500 | marked best answer | what map.info.origin.orientation is for? I am using gmapping to create maps with lasers. I managed to have successful maps but since obstacles in some indoor spaces (like malls etc..) are transparent (such as glass walls and doors etc...), my project is to enhance the mapping by adding a node using sonars and the laser-created-map (and tf data of course to localise the robot in the map) to generate a more general map with the transparent obstacles in it. (the introduction is to let you know why this question and to have some advices regarding what I want to do..) So, my question is: Are the /map frame axes (X and Y) parallel to the sides of the "rectangular map"? If not, I guess the information about the /map frame orientation is in "map.info.origin.orientation". No? I read in some previous question :(/question/10268/where-am-i-in-the-map/) that "in practice there's no rotation". Is "map.info.origin.orientation" then useless? |
2014-04-20 06:53:05 -0500 | commented question | problems with rosbag record in command line Try creating GMapping launch file and adding <remap from="/tf" to="/tf2"> in gmapping <node> in this launch file. Note that this is only to make your recorded data work because clearly name of topics do not match. |
2014-04-20 06:41:45 -0500 | commented answer | How much to turn to face the goal? @Warrior: this :"((math.atan2(goalY - robotY, goalX - robotX)) * 180/math.pi) - robotAngle" can be always equal to "((math.atan2(goalY, goalX)) * 180/math.pi)" because in robot frame: robotX =0 robotY=0 and robotAngle=0! So without the frame, this is useless. So you really have to think **FRAMES**! |
2014-04-20 06:23:50 -0500 | commented question | how can I set the position of my robot on a openstreet map in order to use move base? Is "/local_map" the frame of the map created by GMapping? And if so tell me how /local_map and /map are linked? is local_map-->map link something you can choose freely? If you answer those two questions, I think I have a good idea for you |
2014-04-18 16:41:28 -0500 | answered a question | how can I set the position of my robot on a openstreet map in order to use move base? Have you tried to use [amcl](http://wiki.ros.org/amcl)? |
2014-04-18 16:33:07 -0500 | commented answer | How much to turn to face the goal? As for your change in the comment, I can't say much about it. You have to understand that there are frames. So your "self" thing means nothing unless you tell me in which frame it is. For example, imagine you have robotPose variable expressed in /base_link(robot frame), you always have x=0 y=0 ! |
2014-04-18 16:27:49 -0500 | commented answer | How much to turn to face the goal? I edited my answer to put more explanatory comments to make my code clearer. Believe me man, this is not complicated, this , I think, is the straight forward way to do things with ROS basic tools (tf, poseStamped, etc. ) |
2014-04-18 02:52:09 -0500 | answered a question | How much to turn to face the goal? What you need is a fixed reference for both goal and robot pose. Here's an example with /map frame (sorry it is a C++ cause I don't master Python code): You can replace /map frame with /odom frame. Suppose now that your goal is not in /map frame. This how you convert it with tf: |
2014-04-16 07:16:22 -0500 | commented question | How to use global_costmap/costmap_updates for updating global costmap Good question.. I am interested in having an answer to this. |
2014-04-04 02:18:22 -0500 | answered a question | Navigation with Gmapping
This is normal, I guess, since the costmap is created using the laser detections (or whatever source of mesures about obstacles you are using) and it is updated according to what these sensors are seeing in real time. (cause if not you won't be avoiding moving obstacles like people and chairs moved so often for example) /map is only used for localisation (whether by launching GMapping which does it while building the map OR by loading some previously built map and using amcl), and sending goals intuitively in rviz using the right tool.. |
2014-03-21 12:03:28 -0500 | answered a question | Best way to send a goal with move_base that is off the global costmap? I suggest you use this: http://wiki.ros.org/yocs_waypoints_navi It allows you to set waypoints throw where the robot will go before reaching the final goal. Tell me if you have any problem using it. |
2014-03-19 10:14:30 -0500 | received badge | ● Popular Question (source) |
2014-03-19 08:20:39 -0500 | commented question | What is a ROS package? good "karma-question"! |
2014-03-17 11:37:05 -0500 | asked a question | change base_local_planner params min and max When I run the rqt_reconfigure, I can see that some of the base_local_planner params can't be chosen outside certain limits. If we look at the package responsible for this we can see on the /opt/ros/fuerte/stacks/navigation/base_local_planner/cfg/BaseLocalPlanner.cfg file for example: (min = 0.0 and max = 20.0) gen.add("min_vel_x", double_t, 0, "The minimum x velocity for the robot in m/s", 0.0, 0.0, 20.0) What if I want the min and max to be different. For example, min = -5.0 and/or max = 25.0? How can I do this (without touching the original code if possible)? Edit ahendrix: I wonder if your answer is just a guess:
In fact, a negative minimum velocity does make sense (you give no evidence for why this does not make sense)! Edit 2 Here's the solution I found. Copy the whole base_local_planner package, then modify the .cfg file on the copy. Rename the original package to avoid conflict with copy. Finally, compile the copy: it compiles with no problem! Every thing looks fine! I can now dynamically change configuration to make the robot move only backwards for the manoeuvres of my choice: it works perfectly. (PS: Renaming a ROS installed package is not a healthy practice I guess. I could have modified the copy to make it compile with a complete new name. But... I am lazy) |
2014-03-05 09:58:55 -0500 | received badge | ● Notable Question (source) |
2014-03-01 02:21:32 -0500 | answered a question | How to build a topological map based on grid map see this new package: |
2014-02-27 23:41:06 -0500 | answered a question | I don't have a robot, can i use ROS with my desktop until i get one? You can simulate a robot in morse too. It is easy to use: |
2014-02-27 10:17:06 -0500 | commented answer | export | grep ROS That's why, I put this first line if you look with more attention at my answer: source /opt/ros/hydro/setup.bash |
2014-02-27 09:45:25 -0500 | edited answer | tf and amcl turtlebot demo immediately after gmap demo you have to change your fixed_frame to /map in RVIZ. EDIT: Make sure there is no time delay too, the system clocks of the computers you are running on have to be synchronized. http://wiki.ros.org/navigation/Troubl... |
2014-02-27 09:45:25 -0500 | received badge | ● Editor (source) |