ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Topic publish/subscribe problem after running dist-upgrade on ROS Hydro

asked 2013-12-10 18:20:29 -0600

Safeer gravatar image

updated 2014-01-28 17:04:34 -0600

ngrennan gravatar image

After running apt-get dist-upgrade on ROS Hydro, simulated robot is not responding to published messages. The simulator is running perfectly. The code/topics are working fine on Turtle-bot (hardware) i.e. publishing and subscribing.

rosdep --version: 0.10.24

export | grep ROS gives us this:

declare -x ROS_DISTRO="hydro"
declare -x ROS_ETC_DIR="/opt/ros/hydro/etc/ros"

We have started to work on Turtlebot and new to ROS. Any help will be appreciated.

thanks in advance

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2013-12-18 00:22:49 -0600

Safeer gravatar image

updated 2013-12-18 22:02:58 -0600


I figured out the solution to my problem. The thing is, after having an apt-get dist-upgrade my gazebo simulator was upgraded to gazebo 2.1 (previously it was gazebo 1.9 the stable version). It looks like the newer version is having some problems with hydro.

I had to uninstall the new version of gazebo i.e v2.1 by apt-get remove gazebo-current. After that I installed the earlier version i.e v1.9 and then had to run these commands:

$ sudo apt-get install ros-hydro-turtlebot-simulator
$ source /opt/ros/hydro/setup.bash
$ roslaunch turtlebot_gazebo turtlebot_empty_world.launch

And it started publishing and subscribing again.


edit flag offensive delete link more

answered 2013-12-11 06:11:03 -0600

Dirk Thomas gravatar image

Your environment lacks several ROS specific variables, e.g. ROS_PACKAGE_PATH. You should double check that you have all ROS Hydro packages installed and sourced /opt/ros/hydro/setup.bash. E.g. try running sudo apt-get install ros-hydro-ros-tutorials to ensure that the basic stuff is installed and running.

edit flag offensive delete link more


`sudo apt-get install ros-hydro-ros-tutorials` is on the newest version. Environmental Variables are also set. `roslaunch kobuki_keyop safe_keyop.launch` was working fine on the simulator. After the dist-upgrade , the said command is not working. It is running, but the robot is not moving.

Safeer gravatar image Safeer  ( 2013-12-11 23:10:10 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2013-12-10 18:20:29 -0600

Seen: 235 times

Last updated: Dec 18 '13