Open CedYF opened 9 years ago
If you are running the sample from Visual Studio, right click the project, go to Properties, Debug Tab. Type the full path to the .xml fil in the "command line arguments" edit box.
If you are running the sample from the command line, just add the path on the command line, e.g.: C:>ProjectionMappingSample C:\users\MyUsername\Desktop\calibration\calibration.xml"
Could you possibly provide more details or an example of how to do this?
@legts I'm sorry, I'm not sure I can be any more specific. You might want to partner with someone who has a bit more experience working with Visual Studio, building and running applications etc.
Is there a particular thing you are stumbling on?
@thundercarrot My colleague and I figured it out after some wrangling with the code. Thanks for the quick response though!
is there any plan for Unity plugin? like mentioned in the publication. thanks!
@legts I'm having the same issue, how did you manage to get the sample projects to run? Thanks in advance
@jsingh01 Me 2. I have the same problem. I am an absolute beginner with Visual Studio. So, I do not understand how to change the properties. But I was reading the ProjectionmappingSample.cs.
Might it be possibe that changes in Line 24 to 27 are the key to directly add the xml path?
// load ensemble.xml string path = args[0]; string directory = Path.GetDirectoryName(path); ensemble = RoomAliveToolkit.ProjectorCameraEnsemble.FromFile(path);
"Pass the path of your calibration .xml as a command line argument so that the sample can find it. "
I'm not sure how to pass the path as a command line argument. Can anyone clarify this sentence?