Turtlebot3 doesn't connect properly

asked 2021-11-16 01:59:52 -0500

Alex2008 gravatar image

updated 2022-01-31 08:59:34 -0500

lucasw gravatar image

Hello guys,

I'm working with a turtlebot3 waffle_pi. I followed the guidelines of https://emanual.robotis.com/docs/en/p..., to set up the robot. After finishing this set up, I tried to bring up connection between PC and raspberry PI. The commando ssh ubuntu@{IP_ADDRESS_OF_RASPBERRY_PI} works, so I'm connected to the turtlebot. After this I tried to run the following command: roslaunch turtlebot3_bringup turtlebot3_robot.launch, when this command is running the ROS_MASTER_URI is set back to localhost: ROS_MASTER_URI=http://localhost:11311. All the settings in ~/.bashrc are set following the guidelines, thus: export ROS_MASTER_URI=http://IP_OF_MY_REMOTE_PC:11311 and export ROS_HOSTNAME=IP_OF_MY_TURTLEBOT3.

Does anybody know what can be wrong in my setup? Or how to fix this problem?

Thanks in advance!

edit retag flag offensive close merge delete

Comments

Did you change the .bashrc on both your machine as well as on the turtlebot?

WarTurtle gravatar image WarTurtle  ( 2021-11-16 04:09:41 -0500 )edit
1

Yes I did, in the meantime I already found the problem. Another line in de .bashrc script wasn't correct.

Alex2008 gravatar image Alex2008  ( 2021-11-16 04:24:02 -0500 )edit

Hey I have the same problem as you. Can you let me know what have you changed in the .bashrc script?

ENTMar gravatar image ENTMar  ( 2021-11-17 07:58:10 -0500 )edit