Ask Your Question
0

How to install ros-electric-object-recognition?

asked 2012-09-14 01:14:35 -0500

sam gravatar image

updated 2012-09-14 01:45:26 -0500

I use ROS electric.

I followed Object Recognition Kitchen.

This doc says 'Install the ros-electric-object-recognition package from the official ROS repositories.'

I try to install:

  sam@/home/sam$ sudo apt-get install ros-electric-object-recognition
  Reading package lists... Done
  Building dependency tree       
  Reading state information... Done
  E: Unable to locate package ros-electric-object-recognition

  sam@/home/sam$

How to fix it?

Thank you~

=============================================

ROS apt:

  sam@/etc/apt/sources.list.d$ cat ros-latest.list
  # deb http://packages.ros.org/ros/ubuntu natty main # 停用升級至 natty

  sam@/etc/apt/sources.list.d$ cat ros-latest.list.distUpgrade 
  deb http://packages.ros.org/ros/ubuntu maverick main

  sam@/etc/apt/sources.list.d$ cat ros-latest.list.save 
  deb http://packages.ros.org/ros/ubuntu maverick main

  sam@/etc/apt/sources.list.d$
edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
1

answered 2012-09-14 01:19:17 -0500

dornhege gravatar image

For me, the package exists in electric. I can also see it at packages.ros.org.

Maybe you need to run sudo apt-get update first? Otherwise, what is your apt entry for ROS?

edit flag offensive delete link more

Comments

I try to use apt-get update but doesn't work. I have updated my original post. What to do next? Thank you~

sam gravatar image sam  ( 2012-09-14 01:46:40 -0500 )edit
1

The ros repository in ros-latest.list is commented out. This obviously won't work, just remove the #, run apt-get update again and it should work.

dornhege gravatar image dornhege  ( 2012-09-14 03:22:20 -0500 )edit
1

Note: This automatically happened during the maverick -> natty update. You should have gotten a warning about that from ubuntu and it will probably happen on every ubuntu update again.

dornhege gravatar image dornhege  ( 2012-09-14 03:23:39 -0500 )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

Stats

Asked: 2012-09-14 01:14:35 -0500

Seen: 163 times

Last updated: Sep 14 '12