Unable to locate the package ros-kinetic-joy

Firmware/software/electronics/mechanics
Post Reply
jeremix
Beginner
Posts: 15
Joined: Wed Nov 05, 2014 1:32 pm

Unable to locate the package ros-kinetic-joy

Post by jeremix »

Hello, I'm trying to use the Loco positioning system on a RaspberryPi 3.

I have succesfully installed ROS kinetic desktop from wiki.ros instructions.

I face a problem with

Code: Select all

sudo apt-get install ros-kinetic-joy
who return
Unable to locate the package ros-kinetic-joy
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Unable to locate the package ros-kinetic-joy

Post by arnaud »

Hi,

This is strange because the armhf version of this package seems to exist: http://packages.ros.org/ros/ubuntu/pool ... netic-joy/

Are you running Ubuntu Xenial on your Raspberry pi?

/Arnaud
jeremix
Beginner
Posts: 15
Joined: Wed Nov 05, 2014 1:32 pm

Re: Unable to locate the package ros-kinetic-joy

Post by jeremix »

Hi Arnaud.

No I'm running Jessie.

Jérémy
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Unable to locate the package ros-kinetic-joy

Post by arnaud »

Jessie 64Bit?
jeremix
Beginner
Posts: 15
Joined: Wed Nov 05, 2014 1:32 pm

Re: Unable to locate the package ros-kinetic-joy

Post by jeremix »

I think it is a 32bits version.

Code: Select all

uname --all
give me armv7l. Is it a correct answer to your question ?
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Unable to locate the package ros-kinetic-joy

Post by arnaud »

If you do now know it is certainly 32bit, also called armhf. ROS is not supported on jessie armhf: http://wiki.ros.org/ROS/Installation/

I am surprised you managed to install the rest of ros. You need Ubuntu xenial to be able to run on Raspberry pi as far as I understand (which is unfortunate since jessie is the default system ...).
jeremix
Beginner
Posts: 15
Joined: Wed Nov 05, 2014 1:32 pm

Re: Unable to locate the package ros-kinetic-joy

Post by jeremix »

I have follow this tuto
http://wiki.ros.org/ROSberryPi/Installi ... berry%20Pi

It's seem to be a ROS kinetic like you did on Ubuntu
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Unable to locate the package ros-kinetic-joy

Post by arnaud »

I have never installed it that way so I am not sure how it works, they seems to use a special script to install dependencies?

If you are not using the normal ros distro you will have to find out how to install the joy module. Please update us if you manage, running on raspi is interesting. The section 4.2 of the tutorial talks about installing other package I guess this is what you need.

Otherwise I would suggest running on Ubuntu Xenial since ROS kinetic is officially supported on it (and then the command from the wiki would have worked out of the box).
jeremix
Beginner
Posts: 15
Joined: Wed Nov 05, 2014 1:32 pm

Re: Unable to locate the package ros-kinetic-joy

Post by jeremix »

I finally manage to set a complete installation of Ros kinetic on the raspi, but on Ubuntu Mate.

I have to change the packages sources for shadow ones

Code: Select all

sudo sh -c 'echo "deb http://packages.ros.org/ros-shadow-fixed/ubuntu xenial main $(lsb_release -sc) main" > /etc/apt/sources.list.d/ros-latest.list'
and install ros-kinetic-desktop (ros-kinetic-desktop-full doesn't exist)

and manually add

Code: Select all

sudo apt-get install libusb-1.0-0-dev
as mentioned in https://github.com/whoenig/crazyflie_ros/issues/10
arnaud
Bitcraze
Posts: 2538
Joined: Tue Feb 06, 2007 12:36 pm

Re: Unable to locate the package ros-kinetic-joy

Post by arnaud »

Thanks for updating on your progress!

Have you gotten as far as flying the Crazyflie from ROS on raspi?
Post Reply