Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems with headless usage of the driver #24

Open
bongomedia opened this issue Dec 5, 2018 · 7 comments
Open

Problems with headless usage of the driver #24

bongomedia opened this issue Dec 5, 2018 · 7 comments

Comments

@bongomedia
Copy link

Hi,

I want to use your driver with the Ensenso N30 and ueye Camera UI548xCP-C. The software is installed on a pc, which is not connected to a display. All drivers are installed via your script install_drivers.sh and the devices are calibrated itself and to each other.

Firstly when I started the launch file with my serial numbers filled in and the image streaming activated I got an error because the driver could not render an opengl-window via ssh and x-forwarding.
So I deactivated the image option and just use the cloud parameter.
In this case I got an error because the call of"create_signal" for type pcl::PointXYZRGBA is missing in ensenso_grabber-class. I fixed this and then driver initializes, but nothing happens. If disable the RGB option it works, but not with the additional RGB-information of the ueyecamera.
I tested the feature of registrating the pointcloud with the rgb-information and it works in nxView if I uncheck OpenGL.

Do you know something about this issue. Did you test different streaming parameter sets (cloud, image, rgb)? Maybe you know the issue why the callback will not be called or you could test with your setup.

If you have further questions feel free to ask.

Thanks in advance and best regards,
Fabian

@fsuarez8
Copy link

fsuarez8 commented Dec 5, 2018

We don't have the RGB camera so I haven't tried this use case.
Maybe @Sefrin can help here :)

@bongomedia
Copy link
Author

or @mintar ;)

@Sefrin
Copy link

Sefrin commented Dec 5, 2018

Have you tried using the updated version in PR #23?

@bongomedia
Copy link
Author

I am using the newest version of this repository and now I found a workaround so I can use the driver with cloud, image and rgb-flag.
Therefore I needed to set up a virtual display with virtualgl and nvidia tools.
But just RGB and Cloud flags without Image does still not work.

@Sefrin
Copy link

Sefrin commented Dec 5, 2018

PR #23 is not merged yet. Please try using that version. I'd like to know if the error is showing there. I suspect it might be caused by the registration process which is using OpenGL... I'll see if I can find a fix.

@Sefrin
Copy link

Sefrin commented Dec 5, 2018

I included the option to disable OpenGL support for the driver. Please try that version. (again, in PR #23 or at my fork of this repo)

EDIT:
Also note the difference in the launch files. @mintar added a fix for the
"freeglut (NxLib): failed to open display"
error.
Did you encounter that one?

@bongomedia
Copy link
Author

Not yet, but I will do it at the end of this week.
To use the driver I build a workaround by myself with a virtual display. It seems similar to the thing @mintar did.

I don't know how to close the issue, but the thing is done for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants