Robot_state_publisher doesn't work after respawn with Gazebo

asked 2019-11-27 22:05:52 -0600

abcamiletto gravatar image

I have a problem with the /tf topic and robot_state_publisher, when i initialize everything seems to work fine until i have to Respawn the robot. When i press CTRL + R in Gazebo it stop publishing on the/tf and also on /robot_name/joint_state topics for about 40 seconds, then it restarts publishing. Everything else seems to work fine, but i can't use that topic and consequentially the /tf one. I tried to unload the controller but it says i cannot do it because the controller is still running.

I'm doing a study on a lot of parameters so i have to respawn the robot every time but that seems to be a big problem for that topic and i don't know how to solve it. It would be ok for me to unload e reload every time the controller but it doesn't allow me to do it.

edit retag flag offensive close merge delete