VCL3D / VolumetricCapture

A multi-sensor capture system for free viewpoint video.
https://vcl3d.github.io/VolumetricCapture
487 stars 66 forks source link

remote_eye_service.exe doesn't install #67

Closed GuilhermeMEESantos closed 2 years ago

GuilhermeMEESantos commented 2 years ago

Good afternoon.

I am trying to connect an Intel Realsense D415 to an Intel NUC8i7BEH and in turn connecting directly to my personal pc with an ethernet cable.

After configuring the needed ports, TCP 5672 and 15672 and UCDP 11234, and creating the Capturer file and putting the bin and remote files in it, I tried installing the remote eye service with administrative rights but it gave this:

**Exception occurred while initializing the installation: System.IO.FileLoadException: Could not load file or assembly 'file:///C:\Capturer\remote_eye_service\remote_eye_service.exe' or one of its dependencies. Operation is not supported. (Exception from HRESULT: 0x80131515).

C:\Capturer\remote_eye_service>net start remote_eye_service The service name is invalid.**

Could it be the fact that I am using Windows 10 Education on the Intel NUC? Or is it something else missing? Do I need to configure the ports 320 and 321 needed for the synchronization? Could it be the fact Python is not installed in the NUC?

Or alternatively, should I try and connect the devices manually? In that case, I would need to go to the device with the Volcap and use the remoteeye{k4a|rs2}.exe command. With what directory can I use the remoteeye{k4a|rs2}.exe command on the command prompt?

ankarako commented 2 years ago

Hi @GuilhermeMEESantos and thank you for your interest in our project.

First, Windows Education edition could be the reason that the service cannot be installed, however, I'm not 100% sure because we haven't tried it. To connect manually to the remote eyes, you should first open volcap on your main PC, and then run the remote_eye_rs2.exe (since you are using Realsense sensors) on the NUC through the command line. Please check here for info on how to do this.

GuilhermeMEESantos commented 2 years ago

But I can only start Volcap after adding a device to the device repository JSON file, right?

So first I do that and then run the remote_eye_rs2.exe on the NUC?

GuilhermeMEESantos commented 2 years ago

It doesn't let me add a new device because:

FATAL [12596] [main@145] "-add" command failed, no IntelRealsense devices connected, please connect one.

But both my computer and the Intel NUC are comunicating with each other, at least I can ping between.

ankarako commented 2 years ago

You should first connect your Realsense on the main PC to run the device_repository.exe in order to add the device, and then:

GuilhermeMEESantos commented 2 years ago

On the NUC the command prompt sent the HELLO but it is taking a long time to wait for the response and in the volcap command prompt it shows this in yellow:

Connecting to broker: { amqp://volumetric:capture@192.168.0.101:5672}

ankarako commented 2 years ago

Did the device appear on volcap when you ran remote_eye_rs2.exe?

GuilhermeMEESantos commented 2 years ago

It did let me add it to the device_repository.

Actually it even created the JSON file and added it.

imagem

GuilhermeMEESantos commented 2 years ago

But it doesn't show on the program imagem

GuilhermeMEESantos commented 2 years ago

Most likely because it is still trying to make the connection

ankarako commented 2 years ago

The device_repository, does not have anything to do with either seeing the device on volcap, or connecting with it. Please check first volcap's workflow to understand how you should operate the program.

GuilhermeMEESantos commented 2 years ago

I think I may know the problem. Volcap is not connecting to the RabbitMQ broker. I will try and open Volcap with this command:

volcap.exe -b -u -p

As it is shown here.

GuilhermeMEESantos commented 2 years ago

But how do I see what ip is rabbit configured with?

GuilhermeMEESantos commented 2 years ago

Or is it associated with my pc's ip?

ankarako commented 2 years ago

Where did you install RabbitMQ?

GuilhermeMEESantos commented 2 years ago

On both the NUC and my pc

GuilhermeMEESantos commented 2 years ago

Was is to install RabbitMQ only in the pc where Volcap would be?

ankarako commented 2 years ago

Well, you should install it only on your main PC. Please check the instructions here.

GuilhermeMEESantos commented 2 years ago

Oh, as I was reading I thought it was to install both in the Volcap pc and on the eyes. So I will uninstall rabbit on the NUC

GuilhermeMEESantos commented 2 years ago

What about erlang? Should I uninstall it as well on the NUC?

ankarako commented 2 years ago

Yeah, erlang is needed only for rabbit mq

GuilhermeMEESantos commented 2 years ago

It's still attempting the connection. But I noticed that the volcap app tries to connect to the RabbitMQ with my pc's ip but the remote_eyes_rs2 attempts with an ip address that is neither my pc's ip neither NUC's

GuilhermeMEESantos commented 2 years ago

Do I need to configure RabbitMQ management again?

ankarako commented 2 years ago

Do you have more than one network adapters on your PC (wireless, vEthernet)?

GuilhermeMEESantos commented 2 years ago

imagem

GuilhermeMEESantos commented 2 years ago

I just have these 4 and 2 are disconected I also had a virtual ethernet adapter but that is disabled so it must not be it.

ankarako commented 2 years ago

However, now that I think of it, since you are trying to manually connect the eye to volcap, there should not be any issue with network adapters. Do you set the correct ip when running the eye from cmd?

GuilhermeMEESantos commented 2 years ago

No, it is a different one One that I didn't set up and that is not the NUC's ip

ankarako commented 2 years ago

But you are the one who sets the IP to connect on the eye, you set a wrong IP?

GuilhermeMEESantos commented 2 years ago

Oh so I need to use the remote_eye command on the NUC and set the ip, like it shows here, right?

GuilhermeMEESantos commented 2 years ago

imagem

GuilhermeMEESantos commented 2 years ago

I think it worked

GuilhermeMEESantos commented 2 years ago

Thank you for your help and for taking the time to help me. Ever since I started trying to create a mocap system using your open-source code that I noticed that the creators were very helpful and took the time to help.

Wish you a continuation of a good day and of good work.

Best regards, GuilhermeMEESantos