Page 1 of 1

Unable to locate the package ros-kinetic-joy

Posted: Thu Sep 22, 2016 9:54 am
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

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

Posted: Thu Sep 22, 2016 11:07 am
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

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

Posted: Thu Sep 22, 2016 11:07 am
by jeremix
Hi Arnaud.

No I'm running Jessie.

Jérémy

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

Posted: Thu Sep 22, 2016 11:09 am
by arnaud
Jessie 64Bit?

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

Posted: Thu Sep 22, 2016 11:28 am
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 ?

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

Posted: Thu Sep 22, 2016 12:10 pm
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 ...).

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

Posted: Thu Sep 22, 2016 12:15 pm
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

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

Posted: Thu Sep 22, 2016 1:05 pm
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).

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

Posted: Thu Sep 22, 2016 5:10 pm
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

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

Posted: Fri Sep 23, 2016 7:20 am
by arnaud
Thanks for updating on your progress!

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