Ask Your Question
0

How to make the downlaodaed ros package under /opt/ros/kinetic/share?

asked 2019-05-25 03:31:45 -0600

KrishKannan_007 gravatar image

updated 2019-05-27 02:27:58 -0600

gvdhoorn gravatar image

Hi all! I am currently trying to read the Sick s300 raw data for my navigation project. I created workspace using

catkin_make

and my problem is when I am inside the workspace and call

source devel/setup.bash

I can have my package in the respective workspace path. But I need to make the package under

/opt/ros/kinetic/share

Can anyone help me with making the downloaded package under /opt/ros/kinetic/share your assistance is always appreciatable. thamk u!


Edit: @gvdhoorn Thanq sir for ur valuable time!!

I received the error of

-kinetic-cob-sick-s300 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 ros-lunar-navigation-experimental : Depends: ros-lunar-assisted-teleop but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

I tried apt-get -f install

E: Could not open lock file /var/lib/dpkg/lock-frontend - open (13: Permission denied)
E: Unable to acquire the dpkg frontend lock (/var/lib/dpkg/lock-frontend), are you root?

I am very new to ROS. Please help me in clearing this error. Thanq sir!

edit retag flag offensive close merge delete

Comments

1

But I need to make the package under /opt/ros/kinetic/share

why?

gvdhoorn gravatar imagegvdhoorn ( 2019-05-25 03:52:40 -0600 )edit

Is this related to this question #q323846?

jayess gravatar imagejayess ( 2019-05-25 04:25:22 -0600 )edit

@gvdhoorn because I cant run my launch file and I am getting the error of cannot launch node.

KrishKannan_007 gravatar imageKrishKannan_007 ( 2019-05-25 06:26:36 -0600 )edit

@jayess S sir!

KrishKannan_007 gravatar imageKrishKannan_007 ( 2019-05-25 06:27:05 -0600 )edit

1 Answer

Sort by » oldest newest most voted
3

answered 2019-05-25 07:12:38 -0600

gvdhoorn gravatar image

because I cant run my launch file and I am getting the error of cannot launch node.

From #q323846 it seems you are trying to use cob_sick_s300. Is that correct?

If so: do you really need to build that package from source? It's been released into Kinetic, so a simple sudo apt update && sudo apt install ros-kinetic-cob-sick-s300 should work.

edit flag offensive delete link more

Comments

If you're installing via apt, you need to use sudo:

sudo apt install <package>
jayess gravatar imagejayess ( 2019-05-26 22:43:29 -0600 )edit

I also used sudo too

KrishKannan_007 gravatar imageKrishKannan_007 ( 2019-05-27 00:03:53 -0600 )edit

Thank u so much sir! @gvdhoorn and @jayess It is added now in /opt/ros/kinetic/share

KrishKannan_007 gravatar imageKrishKannan_007 ( 2019-05-27 01:04:25 -0600 )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

1 follower

Stats

Asked: 2019-05-25 03:31:45 -0600

Seen: 132 times

Last updated: May 27