ROS Resources: Documentation | Support | Discussion Forum | Service Status | Q&A answers.ros.org
Ask Your Question
0

2D pose estimate button problem

asked 2012-07-26 08:31:02 -0500

Abtin gravatar image

updated 2012-07-26 16:09:47 -0500

I'm trying to do the autonomous navigation tutorial I am having problem on "2D Pose Estimate" button in rviz when i click on it and drag an arrow to set the initial location for turtlebot, the red particles dosen't appears and also location of robot dosen't changes.

fixed frame is set to /map Target frame is fixed frame

Rviz output:

[ INFO] [1343324167.032855241]: Setting pose: -0.286 -0.421 -2.323 [frame=/map]

rviz.png

Viewframe.png

rxgraph.png

this warring is keep coming up!!

Node: /move_base Time: 1343352282.073253915 Severity: Warn Location: /tmp/buildd/ros-electric-navigation-1.6.5/debian/ros-electric-navigation/opt/ros/electric/stacks/navigation/costmap_2d/src/costmap_2d_ros.cpp:Costmap2DROS::movementCB:408 Published Topics: /rosout, /cmd_vel, /move_base/current_goal, /move_base/goal, /move_base/global_costmap/obstacles, /move_base/global_costmap/inflated_obstacles, /move_base/global_costmap/unknown_space, /move_base/global_costmap/robot_footprint, /move_base/global_costmap/parameter_descriptions, /move_base/global_costmap/parameter_updates, /move_base/NavfnROS/plan, /move_base/NavfnROS/NavfnROS_costmap/obstacles, /move_base/NavfnROS/NavfnROS_costmap/inflated_obstacles, /move_base/NavfnROS/NavfnROS_costmap/unknown_space, /move_base/NavfnROS/NavfnROS_costmap/robot_footprint, /move_base/local_costmap/obstacles, /move_base/local_costmap/inflated_obstacles, /move_base/local_costmap/unknown_space, /move_base/local_costmap/robot_footprint, /move_base/local_costmap/parameter_descriptions, /move_base/local_costmap/parameter_updates, /move_base/TrajectoryPlannerROS/global_plan, /move_base/TrajectoryPlannerROS/local_plan, /move_base/TrajectoryPlannerROS/cost_cloud, /move_base/TrajectoryPlannerROS/parameter_descriptions, /move_base/TrajectoryPlannerROS/parameter_updates, /move_base/result, /move_base/feedback, /move_base/status, /move_base/parameter_descriptions, /move_base/parameter_updates Could not get robot pose, cancelling reconfiguration

rosservice call /robot_pose_ekf/get_status

status: Input:
 * Odometry sensor
   - is active
   - received 45439 messages
   - listens to topic /odom
 * IMU sensor
   - is active
   - received 45440 messages
   - listens to topic /imu/data
 * Visual Odometry sensor
   - is NOT active
   - received 0 messages
   - listens to topic 
Output:
 * Robot pose ekf filter
   - is active
   - sent 15145 messages
   - pulishes on topics /robot_pose_ekf/odom and /tf

rostopic info /particlecloud

Type: geometry_msgs/PoseArray

Publishers: 
 * /amcl (http://192.168.0.105:60116/)

Subscribers: 
 * /rviz_1342988348757430620 (http://192.168.0.107:56845/)
 * /rviz_1343351131052484131 (http://192.168.0.107:52481/)

Anybody knows how to solve the problem?

edit retag flag offensive close merge delete

2 Answers

Sort by » oldest newest most voted
0

answered 2012-07-26 09:47:14 -0500

allenh1 gravatar image

The reason you don't see particles stems from the fact that the particlecloud topic does not appear to be publishing... Some things to try:

roslaunch turtlebot_navigation amcl_demo.launch map_file:=/tmp/my_map.yaml

If you followed the tutorials, you've already done that. Other things:

rostopic list

Edit your question and put the output of the above at the bottom. Also, check for errors in configuration. I'll be more useful after more output...

edit flag offensive delete link more
0

answered 2012-07-26 23:00:39 -0500

Procópio gravatar image

Make sure the topic name you have in Rviz is the same that is expected by your robot.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

Stats

Asked: 2012-07-26 08:31:02 -0500

Seen: 1,075 times

Last updated: Jul 26 '12