Ask Your Question
0

About how to run and use a package

asked 2014-11-27 02:19:04 -0500

kdsong gravatar image

updated 2014-11-27 02:45:35 -0500

gvdhoorn gravatar image

I have installed a driver of rotoscan_node for a laser ,beacuse of this package have no .config or .py file , and the launch file cannot find the node , so i don`t konw how to run and use it , please give me a suggest ,thanks a lot

the driver is in this website : http://wiki.ros.org/rotoscan_node

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-11-27 02:40:01 -0500

gvdhoorn gravatar image

updated 2014-11-27 02:47:04 -0500

The repository seems to have launch files and is a C++ based node, so you'll need to compile it.

A bigger issue may be that it is not a catkin package, but is still rosbuild based.

I have installed a driver of rotoscan_node for a laser [..]

How did you actually 'install it'? It is not enough to check it out, you'll need to build it.


Edit: a quick google search lead me to github.com/mars-uoit/rotoscan_node, which seems to be a catkinized version of the rotoscan_node package you linked. Cloning this into your src/ space and building using catkin_make should then work for you.


Edit2: also, isn't this a duplicate of Error about the rotoscan_node driver for the leuze laser scanner?

edit flag offensive delete link more

Comments

thanks , but when i use the 'Edit ' the output still ERROR: cannot launch node of type [rotoscan_node/rotoscan_node]: can't locate node [rotoscan_node] in package [rotoscan_node] maybe ,i can try to build it next .

kdsong gravatar image kdsong  ( 2014-11-27 03:31:26 -0500 )edit

You need to build it using catkin_make, there is no other way. This is C++, you cannot execute it in any other way.

gvdhoorn gravatar image gvdhoorn  ( 2014-11-27 03:39:47 -0500 )edit

I actually used the catkin_make into my catkin workspace , but it still like this error ,is there any other solutions ?

kdsong gravatar image kdsong  ( 2014-11-27 03:43:31 -0500 )edit

And after catkin_make, you remembered to do source /path/to/your/catkin_ws/devel/setup.bash?

gvdhoorn gravatar image gvdhoorn  ( 2014-11-27 04:28:22 -0500 )edit

of cause i have , maybe , it is not a correct package ?

kdsong gravatar image kdsong  ( 2014-11-27 20:37:58 -0500 )edit
1

Please update your original question with the exact steps (on the command line) you took to create your workspace, download the package, configure and build it.

The catkinized version of the package I linked works fine for me here locally -- after compilation and source-ing.

gvdhoorn gravatar image gvdhoorn  ( 2014-11-28 02:15:44 -0500 )edit

It seems that when i installed the rotoscan node, it can be always output catkin_make error , if i delete , it will be ok

kdsong gravatar image kdsong  ( 2014-12-02 02:37:03 -0500 )edit

That is why I asked you to update your question with how you created your workspace.

You most likely forgot to install all dependencies. Do you have the timeutils package in your src space as well?

gvdhoorn gravatar image gvdhoorn  ( 2014-12-02 03:00:24 -0500 )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: 2014-11-27 02:19:04 -0500

Seen: 532 times

Last updated: Nov 27 '14