ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

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

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

KrishKannan_007 gravatar image

updated 2022-01-22 16:16:21 -0500

Evgeny 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 image gvdhoorn  ( 2019-05-25 03:52:40 -0500 )edit

Is this related to this question #q323846?

jayess gravatar image jayess  ( 2019-05-25 04:25:22 -0500 )edit

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

KrishKannan_007 gravatar image KrishKannan_007  ( 2019-05-25 06:26:36 -0500 )edit

@jayess S sir!

KrishKannan_007 gravatar image KrishKannan_007  ( 2019-05-25 06:27:05 -0500 )edit

1 Answer

Sort by » oldest newest most voted
3

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

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 image jayess  ( 2019-05-26 22:43:29 -0500 )edit

I also used sudo too

KrishKannan_007 gravatar image KrishKannan_007  ( 2019-05-27 00:03:53 -0500 )edit

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

KrishKannan_007 gravatar image KrishKannan_007  ( 2019-05-27 01:04:25 -0500 )edit

Question Tools

1 follower

Stats

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

Seen: 862 times

Last updated: May 27 '19