主权项 |
1. A method for determining a position of a mobile device, the method comprising:
detecting a first visible light communication (VLC) transmission from a first VLC light fixture; detecting a second VLC transmission from a second VLC light fixture, where a fixture vector between the first VLC light fixture and the second VLC light fixture is known; determining, using the detected first VLC transmission, a first device vector between the mobile device and the first VLC light fixture; determining, using the detected second VLC transmission, a second device vector between the mobile device and the second VLC light fixture; measuring, using a tilt sensor, a rotation matrix of a mobile device coordinate system relative to an absolute coordinate system; creating a compensated fixture vector by converting, using the rotation matrix, the fixture vector to the mobile device coordinate system; calculating a first distance between the mobile device and the first VLC light fixture, and a second distance between the mobile device and the second VLC light fixture, from the compensated fixture vector, the first device vector, and the second device vector; and triangulating the position of the mobile device relative to the first VLC light fixture and the second VLC light fixture using the first distance and the second distance. |