Navigation not using Gmapping map, no obstacles appear [closed]
Hi my name is Cris and im a Chilean master student that is using ROS. Right now im stuck and can not continue with my thesis due to some problems with the gmapping and navigation stacks. I have been unable to advance for several week. Right now i can create correctly the map with gmapping but when i use the navigation stack the robot does not use this map and simply goes to the goal directly. Also when i look for obstacles non appear in rviz so i think thats the problem. # The first problem that appears is And it continues forever
but when i change the transform_tolerance all this does is delay the warning, because when the time gets to the new parameter the warning appear again. When the warning dont appear i con give in rviz a location and a goal to the navigation stack and the robot ( a pioneer 3at) mover correctly to the goal but does not take in consideration the obstacles in his path. But when the warning appears again navigation doe snot work and even though i give a position and a goal the robot does not move.
Also when i do
rostopic echo /move_base/local_costmap/obstacles
I get header: seq: 1445 stamp: secs: 1374781469 nsecs: 703920572 frame_id: /odom cell_width: 0.0250000003725 cell_height: 0.0250000003725 cells: []
and cells is always [] , meaning it does not recognize a obstacle even though theres one in front of him.
Im using a pointcloud_to_laserscan from the openni_camera, and works fine i can see the map and the /scan topics on rviz, but this might be the problem. Because men i rosrun tf view_frames
i gel map->/odom->/base_link->openni_camera and it does not end in /scan which is weird because slam is working fine
Im running this in ROS fuerte and any doubt ill give you the details, i would really appreciate some help
What kind of sensor do you use to find obstacles ? Are you sure they're working well ?
Im using a kinect and then I use a pointclout_to_laserscan to obtain a /scan . This is working good in gmapping because i can see the /scan in rviz but im not sure if it is correctly connected to the navigation stack, any help is welcome thanks
Did you ever resolve this problem? I am about to try something similar.
Yes i had a really stupid problem with a variable