VolumetricCapture icon indicating copy to clipboard operation
VolumetricCapture copied to clipboard

remote_eye_service.exe doesn't install

Open GuilhermeMEESantos opened this issue 4 years ago • 32 comments

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 remote_eye_{k4a|rs2}.exe command. With what directory can I use the remote_eye_{k4a|rs2}.exe command on the command prompt?

GuilhermeMEESantos avatar Dec 06 '21 15:12 GuilhermeMEESantos

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.

ankarako avatar Dec 06 '21 15:12 ankarako

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 avatar Dec 06 '21 16:12 GuilhermeMEESantos

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.

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

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

  • Connect the device to the NUC
  • Open volcap on the main PC
  • Run remote_eye_rs2.exe from the command line on the NUC

ankarako avatar Dec 06 '21 16:12 ankarako

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:[email protected]:5672}

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

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

ankarako avatar Dec 06 '21 16:12 ankarako

It did let me add it to the device_repository.

Actually it even created the JSON file and added it.

imagem

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

But it doesn't show on the program imagem

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

Most likely because it is still trying to make the connection

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

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.

ankarako avatar Dec 06 '21 16:12 ankarako

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 <rabbit_mq_broker_local_ip> -u <rabbit_mq_username> -p <rabbit_mq_password>

As it is shown here.

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

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

GuilhermeMEESantos avatar Dec 06 '21 16:12 GuilhermeMEESantos

Or is it associated with my pc's ip?

GuilhermeMEESantos avatar Dec 06 '21 17:12 GuilhermeMEESantos

Where did you install RabbitMQ?

ankarako avatar Dec 06 '21 17:12 ankarako

On both the NUC and my pc

GuilhermeMEESantos avatar Dec 06 '21 17:12 GuilhermeMEESantos

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

GuilhermeMEESantos avatar Dec 06 '21 17:12 GuilhermeMEESantos

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

ankarako avatar Dec 06 '21 17:12 ankarako

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 avatar Dec 06 '21 17:12 GuilhermeMEESantos

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

GuilhermeMEESantos avatar Dec 06 '21 17:12 GuilhermeMEESantos

Yeah, erlang is needed only for rabbit mq

ankarako avatar Dec 06 '21 17:12 ankarako