Comments (9)
I am glad it's working for you! The black mesh you are seeing is the 3D reconstrurction of the scene from the HoloLens. At the moment I do not remember how to switch it off. Please look at the HL2/MRTK documentation.
from livescan3d-hololens.
Hello Max,
unfortunately I don't really have the bandwidth to try this at the moment. Does this work for you locally (as in, not on HL2)?
Do you get any exception on HL2? Is the HL2 on the same network as the machine? Do you have the firewall set up such that the connection could happen?
Thanks,
Marek
from livescan3d-hololens.
Hey Marek,
Thanks for youre answer, i got it working in Unity (Version 2020.1.17) but if i try deploing it remote using Visual studio 19 to the holonens2 i get this error
First the HL2 shows "made with unity" and then the error occurs in VS19.
What Firewall setup do you mean?
Thanks,
Max
from livescan3d-hololens.
That's not very specific. Does it come with a stack trace? I wonder if it has anything to do with the networkcommunication module. Are you able to set a breakpoint where that module is initialized and see whether it fails there?
For the firewall: the hololens2 needs to be able to connect to the livescan app running on your pc.
from livescan3d-hololens.
Hey Marek,
this is in the stack
i´m not very into programming using Unity. Where is network module getting initialized.
I checkt the settings of the firewall and the livescanapp has access.
Thanks,
Max
from livescan3d-hololens.
Hey!
It seems that the failure happens during construction of the socket. Based on the stack trace, it's hard to determine whether this is a failure in the constructor itself or whether the constructor does not even start.
A few things you could try:
- Rebuild the Network Communications project. Make sure that the output DLL is saved in ./Assets/Plugins.
- Remove the following line
socket = SocketClient(strIP, port);
from the TransferSocket.cpp file, rebuild (as in step 1 above) and see if you get the exact same error and stack trace. If it's the same then there is some issue with the DLL I would think. If not, then it looks like a network issue, i.e. your HL2 can't connect to the computer.
from livescan3d-hololens.
Hey,
Thanks for you`re support.
I tried youre suggestions and with rebuilding the networkcommunication it did made a difference, the same error appeared.
When commenting out the line, the program ran without making an error.
So I got the following result.
You said if this happens it should be a network issue so I tried turning off my firewall but the same error accured again.
Best regards
Max
from livescan3d-hololens.
Hello Max,
at this point it's hard for me to help you without knowing your network setup. Are you certain that the network allows communciation on port 48002? When you open the app on hololens you should get a keyboard input asking for an IP. Are you sure you are using the right IP address for your computer?
One way to test the network outside of a HoloLens would be to take the following steps:
- Run the server/player on the same machine you usually do.
- Set up the Unity project on another computer connected to the same wifi as the Hl2.
- Modify line 21 here: to be the IP address of the machine where you are running the server/player.
- Run the Unity project and see if it receives the data.
Marek
from livescan3d-hololens.
Hey Marek,
i got it finally working, i hardcoded the ip adress also into this line
and in the pointcloud reciver where the ip adress is refered.
I also run the livescanserver on a different pc, maybe this was the solution for our network problems
Do you know how i get rid of the white polygons in the background.
Thank you so much for your help so far.
Best regards
Max
from livescan3d-hololens.
Related Issues (20)
- Port to Magic Leap
- Using RealSense D400 series cameras HOT 1
- Build error HOT 1
- Will you support Hololens2? HOT 9
- Building and Deploying the LiveScan3D-Hololens (Windows 10 and Unity) HOT 5
- Issues building with Unity 5.6.0f3 & Visual Studio 2017 HOT 3
- Telelens of hololens must try in vaccum so it can provide better visuals
- Having difficulty connecting HoloLens to Azure Kinect HOT 2
- there's nothing in the hololens after inputing ip HOT 5
- Release for Hololens 2? HOT 12
- Access Skeleton Data along with Point Cloud HOT 2
- hi I wondering this system can control two azure kinect on 1 PC at the same time? HOT 1
- How do I get stream to flow into Unity HOT 2
- Does this code support Azure Kinect DK and Hololens2? HOT 1
- Point cloud can't show in hololens2 HOT 10
- Hololens2 ARM?
- Unity problem DirectoryNotFoundException: Could not find a part of the path HOT 5
- Very low fps HOT 3
- The unity program is not available in HoloLens HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from livescan3d-hololens.