Skip to main content
Up and Coming
July 11, 2016

CV1 and DK2 camera sensor, only DK2 camera report a pose.

Hi,

While doing with what i have right now, i was like "hey", let's see if i can get two sensors running and display their frustum. A setup that will be standard when touch is out ( two sensors to limit occlusion issues ).

Right now, i am on a DK2 and if i can list the two trackers at runtime, only the DK2 camera report a pose, the CV1 one only have the connected flag. And even if i disconnect the DK2 sensor, the CV1 one still does not bother to report a pose :disappointed:


That is a little disappointing.

8 replies

galopinAuthor
Up and Coming
July 11, 2016
@cybereality  Damnit, this forum hates me, it was supposed to be a pc dev post…
Inspiring
July 11, 2016
@galopin  would you like me to move it to a different category?
Core i7-7700k @ 4.9 Ghz | 32 GB DDR4 Corsair Vengeance @ 3000Mhz | 2x 1TB Samsung Evo | 2x 4GB WD Black ASUS MAXIMUS IX HERO | MSI AERO GTX 1080 OC @ 2000Mhz | Corsair Carbide Series 400C White (RGB FTW!) Be kind to one another :)
galopinAuthor
Up and Coming
July 11, 2016
@LZoltowski yes please, it has nothing to do in the community section.
Inspiring
July 11, 2016
Done :)
Core i7-7700k @ 4.9 Ghz | 32 GB DDR4 Corsair Vengeance @ 3000Mhz | 2x 1TB Samsung Evo | 2x 4GB WD Black ASUS MAXIMUS IX HERO | MSI AERO GTX 1080 OC @ 2000Mhz | Corsair Carbide Series 400C White (RGB FTW!) Be kind to one another :)
Inspiring
July 12, 2016
I believe there was some work to return a combined multi-sensor frustum. I don't know if this was ever finished or released. However, you should be able to at least get two separate frustums. 

In Unity it would be OVRManager.tracker.getFrustum(...), though you will have to transform this by each tracker's orientation. In C++ you would use ovr_GetTrackerDesc(...) and then calculate from those values same as above.

It may be that your setup is weird with one CV1 and one DK2 sensor.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV
galopinAuthor
Up and Coming
July 12, 2016
I am fine rendering the two frustum separately instead of a CSG intersection of the two frustums for the moment ( not that hard it remains a convex describle by a set of planes to polygonize ). The GetTrackerDesc works already, but the Pose is not flagged as tracked.

But yes, it seems that the CV1 sensor can't be turn on for a DK2 positioning at all. I will test later tonight at home with a CV1 and two CV1 sensors. I am pretty sure it will just work.
galopinAuthor
Up and Coming
July 12, 2016
@cybereality I was right, it just works fine with a CV1 and 2 CV1 camera sensors :)

@cybereality I MP you about a need of developer relations :smiley:


Inspiring
July 12, 2016
Cool.
AMD Ryzen 7 1800X | MSI X370 Titanium | G.Skill 16GB DDR4 3200 | EVGA SuperNOVA 1000 | Corsair Hydro H110i Gigabyte RX Vega 64 x2 | Samsung 960 Evo M.2 500GB | Seagate FireCuda SSHD 2TB | Phanteks ENTHOO EVOLV