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

failed to roslaunch freenectlaunch

asked 2018-07-31 22:12:05 -0500

KSWang gravatar image

updated 2018-08-07 21:42:37 -0500

I followed the github https://github.com/ctsuu/Kinect-in-ROS and ( https://www.jetsonhacks.com/2014/07/1... )

However, it's all fine to install the driver of Xbox 360 kinect V1 and all testing are great in jethacks' website.

When I try

roslaunch freenect_launch freenect.launch

It comes out a lot of error and fetal messages. Can anyone help me? thanks a lot~

I have tried nvidia jetson TX1 and TX2 to implement, but they all showing the error below

[ERROR] [1533092112.516247421]: Failed to load nodelet [/camera/rgb_debayer] of type [image_proc/debayer] even after refreshing the cache: Failed to load library /opt/ros/kinetic/lib//libimage_proc.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core3.so.3.3: cannot open shared object file: No such file or directory)
[ERROR] [1533092112.516360291]: The error before refreshing the cache was: Failed to load library /opt/ros/kinetic/lib//libimage_proc.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code, and that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = libopencv_core3.so.3.3: cannot open shared object file: No such file or directory)
[FATAL] [1533092112.516672275]: Failed to load nodelet '/camera/rgb_debayer` of type `image_proc/debayer` to manager `camera_nodelet_manager'
edit retag flag offensive close merge delete

Comments

can you show the errors!

simbha gravatar image simbha  ( 2018-08-01 00:22:04 -0500 )edit

@simbha OP posted the errors, for some reason they didn't show but they were there. I have a feeling that it has to do with a : symbol being used at the end of the line before the error

jayess gravatar image jayess  ( 2018-08-01 00:49:20 -0500 )edit

Try installing the image_proc package

simbha gravatar image simbha  ( 2018-08-01 01:03:56 -0500 )edit

Very thanks for your suggestion. However, all error messages are gone. but it still have some problems when I keep following the instruction. I get some warning messages after roslaunch

KSWang gravatar image KSWang  ( 2018-08-01 10:56:30 -0500 )edit

@KSWang please update your question with a copy and paste of the error instead of an image. Images are not searchable and people cannot copy and paste the text from them.

jayess gravatar image jayess  ( 2018-08-01 12:00:22 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-08-01 11:48:04 -0500

simbha gravatar image

updated 2018-08-01 11:49:16 -0500

OK, KSWang.

  1. The first error is due to the camera calibration file. You need to calibrate the camera. follow the step here to calibrate the camera..
  2. I think image_view is not installed. You try to installed image_view packge.

    sudo apt-get install ros-<distro>-image-view

    sudo apt-get install ros-<distro>-rqt-image-view

you can also run the command after installing the image_view package

rosrun image_view image_view image:=<image_topic_name>

edit flag offensive delete link more

Comments

thank you, but it still show the same error message after installed image_view.

KSWang gravatar image KSWang  ( 2018-08-02 08:47:23 -0500 )edit

is this command is also giving error? rosrun image_view image_view image:=<image_topic_name>

simbha gravatar image simbha  ( 2018-08-03 00:50:58 -0500 )edit

Sorry, actually I don't know what image_topic_name I should use.

KSWang gravatar image KSWang  ( 2018-08-03 01:02:14 -0500 )edit

check using rostopic list. in freenect_launch it will be something camera/depth/image_raw

simbha gravatar image simbha  ( 2018-08-03 01:06:40 -0500 )edit

okay, I will try it today. I don't know what I done a couple days ago then the whole system getting so slow. I re-flash jetpack system it took a lot of time. sorry for the delay in responding.

KSWang gravatar image KSWang  ( 2018-08-06 19:40:26 -0500 )edit

I found out it only show /rosout and /rosout_agg when I use rostopic list. I think it's because I failed at roslaunch freenect_launch.

KSWang gravatar image KSWang  ( 2018-08-07 21:42:05 -0500 )edit

And I found the section 2.1 in this website has mention that freenect.launch does not support selecting the Kinect using the USB bus address. However, I'm not sure what this mean.

http://wiki.ros.org/freenect_launch

KSWang gravatar image KSWang  ( 2018-08-07 21:49:06 -0500 )edit

no its work, i have worked on the same

simbha gravatar image simbha  ( 2018-08-08 03:03:40 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-07-31 22:10:01 -0500

Seen: 751 times

Last updated: Aug 07 '18