Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Package installation confusion

I am missing something obvious, maybe you can help. I have a ROS install on my laptop that I have used with both turtlebot and turtlebot3. I am having a problem which I might have traced to diagnostic_agg. So I am thinking that the fact that I have both turtlebot3 and turtlebot on the same computer may be the problem. So I double check my directories and I am not sure now whether turtlebot package is actually there. Here's what I did:

$ ls ~/catkin_make/src
CMakeLists.txt  cr_ros  cr_web  rosbook  turtlebot3  turtlebot3_msgs  turtlebot3_simulations

$ sudo apt-get install ros-kinetic-turtlebot
 sudo apt-get install ros-kinetic-turtlebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-kinetic-turtlebot is already the newest version (2.4.2-0xenial-20181203-135343-0800).
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic linux-image-4.15.0-34-generic linux-modules-4.15.0-34-generic
  linux-modules-extra-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
updated cache in /home/pitosalas/.ros/rosdep/sources.cache

rospack find turtlebot
[rospack] Error: package 'turtlebot' not found

Package installation confusion

I am missing something obvious, maybe you can help. I have a ROS install on my laptop that I have used with both turtlebot and turtlebot3. I am having a problem which I might have traced to diagnostic_agg. So I am thinking that the fact that I have both turtlebot3 and turtlebot on the same computer may be the problem. So I double check my directories and I am not sure now whether turtlebot package is actually there. Here's what I did:

$ ls ~/catkin_make/src
CMakeLists.txt  cr_ros  cr_web  rosbook  turtlebot3  turtlebot3_msgs  turtlebot3_simulations

$ sudo apt-get install ros-kinetic-turtlebot
 sudo apt-get install ros-kinetic-turtlebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-kinetic-turtlebot is already the newest version (2.4.2-0xenial-20181203-135343-0800).
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic linux-image-4.15.0-34-generic linux-modules-4.15.0-34-generic
  linux-modules-extra-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
updated cache in /home/pitosalas/.ros/rosdep/sources.cache

rospack find turtlebot
[rospack] Error: package 'turtlebot' not found

However:

$ dpkg -l | grep turtlebot
ii  ros-kinetic-turtlebot                        2.4.2-0xenial-20181203-135343-0800                    amd64        The turtlebot meta package provides all the basic drivers for running and using a TurtleBot.
ii  ros-kinetic-turtlebot-bringup                2.4.2-0xenial-20181203-130710-0800                    amd64        turtlebot_bringup provides roslaunch scripts for starting the TurtleBot base functionality.
ii  ros-kinetic-turtlebot-capabilities           2.4.2-0xenial-20181107-032940-0800                    amd64        Capabilities for the TurtleBot
ii  ros-kinetic-turtlebot-description            2.4.2-0xenial-20180825-011706-0800                    amd64        turtlebot_description provides a complete 3D model of the TurtleBot for simulation and visualization.
ii  ros-kinetic-turtlebot-navigation             2.3.7-0xenial-20181203-134700-0800                    amd64        turtlebot_navigation
ii  ros-kinetic-turtlebot-teleop                 2.4.2-0xenial-20181203-134652-0800                    amd64        Provides teleoperation using joysticks or keyboard.

Here's the relvant part of my .bashrc

source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash

#export ROS_MASTER_URI=http://roscore1.cs.brandeis.edu:11311
#export ROS_MASTER_URI=http://129.64.147.94:11311
#export TURTLEBOT3_MODEL=burger
#export TB3_MODEL=burger
# export ROS_MASTER_URI=http://`myip`:11311

source ~/mydev/rosutils/.rosbash
export ROS_MASTER_URI=http://129.64.243.64:11311
export ROS_IP=`myip`

Package installation confusion

I am missing something obvious, maybe you can help. I have a ROS install on my laptop that I have used with both turtlebot and turtlebot3. I am having a problem which I might have traced to diagnostic_agg. So I am What is happening is that the msg that is published has a value at msg.status[7].values[1].value which I expected to see at status[7].

And given that these two robots are similar but not identical I started thinking that the fact that I have both turtlebot3 and turtlebot on the same computer may be the problem. So I double check my directories and I am not sure now whether turtlebot package is actually there. Here's what I did:

$ ls ~/catkin_make/src
CMakeLists.txt  cr_ros  cr_web  rosbook  turtlebot3  turtlebot3_msgs  turtlebot3_simulations

$ sudo apt-get install ros-kinetic-turtlebot
 sudo apt-get install ros-kinetic-turtlebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-kinetic-turtlebot is already the newest version (2.4.2-0xenial-20181203-135343-0800).
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic linux-image-4.15.0-34-generic linux-modules-4.15.0-34-generic
  linux-modules-extra-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
updated cache in /home/pitosalas/.ros/rosdep/sources.cache

rospack find turtlebot
[rospack] Error: package 'turtlebot' not found

However:

$ dpkg -l | grep turtlebot
ii  ros-kinetic-turtlebot                        2.4.2-0xenial-20181203-135343-0800                    amd64        The turtlebot meta package provides all the basic drivers for running and using a TurtleBot.
ii  ros-kinetic-turtlebot-bringup                2.4.2-0xenial-20181203-130710-0800                    amd64        turtlebot_bringup provides roslaunch scripts for starting the TurtleBot base functionality.
ii  ros-kinetic-turtlebot-capabilities           2.4.2-0xenial-20181107-032940-0800                    amd64        Capabilities for the TurtleBot
ii  ros-kinetic-turtlebot-description            2.4.2-0xenial-20180825-011706-0800                    amd64        turtlebot_description provides a complete 3D model of the TurtleBot for simulation and visualization.
ii  ros-kinetic-turtlebot-navigation             2.3.7-0xenial-20181203-134700-0800                    amd64        turtlebot_navigation
ii  ros-kinetic-turtlebot-teleop                 2.4.2-0xenial-20181203-134652-0800                    amd64        Provides teleoperation using joysticks or keyboard.

Here's the relvant part of my .bashrc

source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash

#export ROS_MASTER_URI=http://roscore1.cs.brandeis.edu:11311
#export ROS_MASTER_URI=http://129.64.147.94:11311
#export TURTLEBOT3_MODEL=burger
#export TB3_MODEL=burger
# export ROS_MASTER_URI=http://`myip`:11311

source ~/mydev/rosutils/.rosbash
export ROS_MASTER_URI=http://129.64.243.64:11311
export ROS_IP=`myip`

Package installation confusion

I am missing something obvious, maybe you can help. I have a ROS install on my laptop that I have used with both turtlebot and turtlebot3. I am having a problem which I might have traced to diagnostic_agg. What is happening is that the msg that is published has a value at msg.status[7].values[1].value which I expected to see at status[7].

And given that these two robots are similar but not identical I started thinking that the fact that I have both turtlebot3 and turtlebot on the same computer may be the problem. So I double check my directories and I am not sure now whether turtlebot package is actually there. Here's what I did:

$ ls ~/catkin_make/src
CMakeLists.txt  cr_ros  cr_web  rosbook  turtlebot3  turtlebot3_msgs  turtlebot3_simulations

$ sudo apt-get install ros-kinetic-turtlebot
 sudo apt-get install ros-kinetic-turtlebot
Reading package lists... Done
Building dependency tree       
Reading state information... Done
ros-kinetic-turtlebot is already the newest version (2.4.2-0xenial-20181203-135343-0800).
The following packages were automatically installed and are no longer required:
  linux-headers-4.15.0-34 linux-headers-4.15.0-34-generic linux-image-4.15.0-34-generic linux-modules-4.15.0-34-generic
  linux-modules-extra-4.15.0-34-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

$ rosdep update
reading in sources list data from /etc/ros/rosdep/sources.list.d
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/osx-homebrew.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/base.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/python.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/rosdep/ruby.yaml
Hit https://raw.githubusercontent.com/ros/rosdistro/master/releases/fuerte.yaml
Query rosdistro index https://raw.githubusercontent.com/ros/rosdistro/master/index-v4.yaml
Add distro "groovy"
Add distro "hydro"
Add distro "indigo"
Add distro "jade"
Add distro "kinetic"
Add distro "lunar"
Add distro "melodic"
updated cache in /home/pitosalas/.ros/rosdep/sources.cache

rospack find turtlebot
[rospack] Error: package 'turtlebot' not found

However:

$ dpkg -l | grep turtlebot
ii  ros-kinetic-turtlebot                        2.4.2-0xenial-20181203-135343-0800                    amd64        The turtlebot meta package provides all the basic drivers for running and using a TurtleBot.
ii  ros-kinetic-turtlebot-bringup                2.4.2-0xenial-20181203-130710-0800                    amd64        turtlebot_bringup provides roslaunch scripts for starting the TurtleBot base functionality.
ii  ros-kinetic-turtlebot-capabilities           2.4.2-0xenial-20181107-032940-0800                    amd64        Capabilities for the TurtleBot
ii  ros-kinetic-turtlebot-description            2.4.2-0xenial-20180825-011706-0800                    amd64        turtlebot_description provides a complete 3D model of the TurtleBot for simulation and visualization.
ii  ros-kinetic-turtlebot-navigation             2.3.7-0xenial-20181203-134700-0800                    amd64        turtlebot_navigation
ii  ros-kinetic-turtlebot-teleop                 2.4.2-0xenial-20181203-134652-0800                    amd64        Provides teleoperation using joysticks or keyboard.

Here's the relvant part of my .bashrc

source /opt/ros/kinetic/setup.bash
source ~/catkin_ws/devel/setup.bash

#export ROS_MASTER_URI=http://roscore1.cs.brandeis.edu:11311
#export ROS_MASTER_URI=http://129.64.147.94:11311
#export TURTLEBOT3_MODEL=burger
#export TB3_MODEL=burger
# export ROS_MASTER_URI=http://`myip`:11311

source ~/mydev/rosutils/.rosbash
export ROS_MASTER_URI=http://129.64.243.64:11311
export ROS_IP=`myip`

Solved

But unfortunately I don't have a clear idea of how I solved it. I went through the usual 'hygiene' steps of updating packages, running make again, rebooting both the robot and the laptop, and the problem went away. But I am quite sure the problem was there as I described it, I just don't have a hypoothesis of what was going wrong.