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

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

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

Safeer gravatar image

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

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
1

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

Safeer gravatar image

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

Hi,

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 http://gazebosim.org/wiki/1.9/install 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.

Cheers!

edit flag offensive delete link more
0

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

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

Comments

`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 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 259 times

Last updated: Dec 18 '13