Git Product home page Git Product logo

Comments (12)

mdhorn avatar mdhorn commented on July 20, 2024

Yes, this looks exactly like #26.

Did you attempt the solution noted?

Try adding your login account to the group video.

sudo adduser $USER video

You may need to log out and log back into the system to see the new group.

groups

In general, the video devices will be owned by root and set to group video:

$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 3 Apr 12 18:02 /dev/video3
crw-rw----+ 1 root video 81, 4 Apr 12 18:02 /dev/video4
crw-rw----+ 1 root video 81, 5 Apr 12 18:02 /dev/video5

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

I have attempted the solution noted. But I can not still solve my problem.

after I do ,
$ ls -l /dev/video*
crw-rw----+ 1 root video 81, 0 5月 10 16:45 /dev/video0
crw-rw----+ 1 root video 81, 1 5月 10 16:45 /dev/video1
crw-rw----+ 1 root video 81, 2 5月 10 16:45 /dev/video2
crw-rw----+ 1 root video 81, 3 5月 10 16:45 /dev/video3

from realsense-ros.

mdhorn avatar mdhorn commented on July 20, 2024

Did you try logging out and logging back in after making the group change?
The group membership only takes effect on login.

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

Sorry,I tried your steps. Then, I can't still solve.
I can not launch cpp-capture.launch.
My result show
2016-05-12 17 49 44

but running within QT creator works. show

2016-05-09 19 42 38

from realsense-ros.

mdhorn avatar mdhorn commented on July 20, 2024

The fact that cpp-capture is failing in rs_create_context would imply that something is holding or not release the device.

In this issue you stated that you are using Video4Linux backend and NOT libuvc; can you please confirm that. It looks more like your problem is similar to IntelRealSense/librealsense#81 where libuvc was in use.

Can you confirm you are aren't using libuvb (which we don't support):
dpkg -l | grep libuvc
And that you have a current and/or patch kernel?
uname -a

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

sorry , I'm not really good at linux.
Thank for your patient to teach me step by step.
problem1

I install by below
https://github.com/IntelRealSense/librealsense/blob/master/doc/installation.md#video4linux-backend

I install both Video4Linux backend and LibUVC backend.

As problem IntelRealSense/librealsense#81, I need remove LibUVC backend?

How can i do ?

from realsense-ros.

mdhorn avatar mdhorn commented on July 20, 2024

Okay, there is the problem; the directions are an either/or, not both. When you did the second install following the directions for libuvc, you replaced the librealsense library with the libuvc version which we don't support.

Repeat the installation steps for "Video4Linux backend".

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

When I repeat the installation steps for "Video4Linux backend", it shows they exist. Then,I can not install again.

Should I change the file name , v4.4-wily , to v4.5-wily ?

Or how can I solve the problem?

Thank you.

from realsense-ros.

mdhorn avatar mdhorn commented on July 20, 2024

The kernel portion should already be installed.

Just change directory (cd) to where you you put librealsense source
cd
make clean
make && sudo make install

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

Hi , I have three problem.

Problem1
I run sudo dmesg | tail -n 50 after I repeat the installation steps for "Video4Linux backend" .
It shows "failed to excute"
problem5
How do I solve?
However , I can run cpp-capture.

Problem 2
I run roslaunch turtlebot_bringupminimal.launch`.
Then I meet this problem.
problem6
problem9
This turtlebot_state is error.

Problem3
I run roslaunch realsense_camera realsense_r200_navigation.launch.
problem7
The device R200 can light.
But I run roslaunch realsense_navigation gmapping.launch.
problem8
It shows 0 device connected.

Sorry , help me solve problems.

Thank you.

from realsense-ros.

mdhorn avatar mdhorn commented on July 20, 2024

It appears you got the RealSense ROS node working.

For the navigation example, did you follow all of the directions in the README.md?

from realsense-ros.

WeJay avatar WeJay commented on July 20, 2024

Thank you, I have solved my problems. Thank you very much ~~
I wish that you can solve my problem that I meet for ROS development in the future.

from realsense-ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.