public MainPage() { InitializeComponent(); _device = new NeuronDevice(); _device.OnInitializationFinish += Device_OnInitializationFinish; _device.Initialize().ConfigureAwait(false); }
public void Awake() { spawnedHumanoids = new HumanoidControl[2]; //NeuronDevice.onActorAppears += OnActorAppears; //NeuronDevice.Start(address, 7001, 7001); //, Neuron.NeuronConnection.SocketType.TCP); device = new NeuronDevice(); device.Init(address, 7001); }
static HumanoidConfiguration() { //Debug.Log("Initializing Humanoid Dlls"); #if hLEAP LeapDevice.LoadDlls(); #endif #if hORBBEC AstraDevice.LoadDlls(); #endif #if hNEURON NeuronDevice.LoadDlls(); #endif }
public override void StartTracker(HumanoidControl _humanoid) { humanoid = _humanoid; if (!enabled) { return; } device = new NeuronDevice(); device.Init(address, port); neuronTransform = device.GetTracker(); AddTracker(humanoid, "PerceptionNeuron"); }