Camera setup and controller pose: I set up the vive HTC cameras along with the controller based on these 2 links:
- Setup Lighthouse Deck: https://wiki.bitcraze.io/doc:lighthouse:setup
- SteamVR Tracking w/o HMD: http://help.triadsemi.com/en/articles/8 ... out-an-hmd
- I then ran the script from triad_openvr to receive the controller's pose. It worked.
Code: Select all
python3 controller_test.py
- I ran the following to get the coordinates, then update baseStationsGeometry[] and comment out DISABLE_LIGHTHOUSE_DRIVER
I then flashed the changes onto CF using the radio dongle in bootloader mode using:
Code: Select all
python3 -m pip install openvr cd tools\lighthouse python3 get_bs_position.py
After flashing, CF's propellers all spun in the customary way it does whenever you power it on.Code: Select all
make make cload
- The LED light on Lighthouse deck does the following sequence with Blue/RedYellow: On/On/On -> On/On/Off -> On/Off/Off. So, I guess that's the signal it worked. I read this thread to inquire more.
- I keep CF stationary and open the CFclient's logging window and plot the following:
- lighthouse.x/y/z: always at 0
- lighthouse.angle0x/0y/1x/1y: I receive values
- lighthouse.setRt: I receive around ~1200 pulses per second.
Is this necessary even if the CF w/ lighthouse deck is in the FoV of HTC cameras? If I don't connect HTC controller, then SteamVR does not show the 2 cameras detected.
Is there any missing step in the sequence? I do not know what else to do to track CF.