ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Turtlebot2 Rviz 2d_pose_estimation and 2d_nav_goal don't work

asked 2022-08-11 04:04:05 -0600

distro gravatar image

updated 2022-08-24 06:12:55 -0600

ljaniec gravatar image

I am using a remote computer to control my real turtlebot2.

When I roslaunch turtlebot_rviz_launchers view_navigation.launch and I drag the 2d_Pose_Estimate button arrow on the map, nothing happens.

I have checked <fixed_frame>, it's the map, I have checked the /initialpose, and I get information when I use the pose estimate button but the turtlebot2 does not move at all. I check my rostopic list and I see /initialpose there and everything. I don't get it.

Could I be missing some udev rule thing on my remote PC?

My turtlebot2 uses a Kinect camera as sensor, 2d_Pose_Estimate works on theros_master_uri laptop the turtlebot2 is physically connected to.

I can see that I am publishing to the /initialpose on the terminal, but the robot still does not move in Rviz.

In the laptop physically connected to the turtlebot2, I have ROS_MASTER_URI and ROS_IP set to the IP of the robot. On the other Remote PC I have ROS_MASTER_URI set to the IP of the robot, and ROS_IP set to the IP of the remote PC. Did I do it wrong?

edit retag flag offensive close merge delete

Comments

Can you add in the edit a picture from the rqt_graph of your nodes and their connections? Can you ping IP addresses both ways (robot <--> remote PC)? Does standard check talker/listener works for you?

ljaniec gravatar image ljaniec  ( 2022-08-24 06:14:30 -0600 )edit
1

@ljaniec When I switch the camera to realsense, it works now for some reason. I had another question about path planning for turtlebot2. Is there some topic that telle you that a plan cant be generated? I have a fuller explanaition of my question here

distro gravatar image distro  ( 2022-08-31 22:38:46 -0600 )edit

I think you should post this as an answer, because this is some way to solve this problem :)

ljaniec gravatar image ljaniec  ( 2022-09-05 03:17:25 -0600 )edit

@ljaniec I need help with another turtlebot2 question, my remote PC cannot connect with ROS Master for some reason. Please check it here

distro gravatar image distro  ( 2022-09-20 22:52:05 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2022-09-10 14:30:29 -0600

distro gravatar image

When I switch the camera to realsense, it works now for some reason. I had another question about path planning for turtlebot2. Don't know why

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2022-08-11 04:04:05 -0600

Seen: 135 times

Last updated: Sep 10 '22