ros-drivers / vrpn_client_ros

VRPN ROS Client
http://wiki.ros.org/vrpn_client_ros
61 stars 78 forks source link

Unable to locate package ros-kinetic-vrpn-client-ros #12

Closed kumarrt closed 6 years ago

kumarrt commented 6 years ago

I am using Ubuntu 16.04 and ROS Kinetic. When I try to run "sudo apt-get install ros-kinetic-vrpn-client-ros", I get the error "unable to locate package". I have also tried cloning from the git-repository but when I try to do catkin_make it fails and vrpn_error I have also tried to run "rosdep install --from-paths" but it gives an error saying "rosdep: error: no packages or stacks specified" How can I resolve this issue?

sudosurf commented 6 years ago

Hi Kumarrt, I just tried sudo apt-get install ros-kinetic-vrpn-client-ros on Ubuntu 16.04 and the installation worked no problem. All repositories up to date? already tried apt-get update and upgrade?

kumarrt commented 6 years ago

I tried the same things but for some reason it is not able to make it work.

sudo apt-get install ros-kinetic-vrpn-client-ros
[sudo] password for uav_master: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package ros-kinetic-vrpn-client-ros

Please suggest any other alternatives.

sudosurf commented 6 years ago

The debian package is out there, so the issue is on your machine. In my experience with these simple but confounding issues, its usually something very basic I overlooked (like I forgot to connect to wifi). If you've gone back to the basics and it isn't something you can fix, it might be worth doing a fresh ubuntu install.

Amir-Omidfar commented 6 years ago

I'm having the same issue? did u figure it out?

SeungJunWoo commented 5 years ago

I'm having the same issue did you figure it out?

PedroDesRobots commented 4 years ago

Maybe you have VRPN already install but find_package didn't find VRPN cmake file.

Could not find a package configuration file provided by "VRPN"

You should check inside : /usr/share/cmake/Modules if FindVRPN.cmake exists. If not you just have to create it and copy the file from vrpn source (link)

After that, I got the same error but for quatlib, so I just added Findquatlib.cmake (link)

If you don't have VRPM install yet : downloaded a version of VRPN and unzipped it, link tar xyz vrpn-07.33.tar.gz (adapt name to your vrpn version) if you use CMake just go inidse your vrpn folder

mkdir build
cmake ..
make -j4
make install

then, run catkin build or catkin_make

paulbovbel commented 4 years ago

the VRPN dependency is apt packaged as ros-<distro>-vrpn, I would not recommend installing it from source for any future spelunkers.