Closed HiruniNuwanthika closed 4 years ago
Alexander Shtuchkin
On Tue, Aug 28, 2018 at 12:49 PM HiruniNuwanthika notifications@github.com wrote:
What are the details included in the rotation matrix of each base station?
As I understood, In https://github.com/ashtuchkin/vive-diy-position-sensor-geometry-getter it gives First three values are the base station center points. What I cannot understand is the next 6 values given. (values next to the word matrix)
Please explain it to me... Thank you!
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/ashtuchkin/vive-diy-position-sensor/issues/58, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmVHYo8SB2E3kjL6NJI2JNXQvYy96Zkks5uVZ6rgaJpZM4WQR-4 .
Thank you for your explanation. But it will be more helpful if you can give me a precise answer. What is the rotation matrix? is it X,Y,Z coordinate positions?
Thank you!
No, it's the rotation matrix - sines and cosines of corresponding angles. See https://en.wikipedia.org/wiki/Rotation_matrix#In_three_dimensions
I also see in the code that it expects 9 values there, sorry for confusion. 6 won't make it.
I understood it completely... Thank you!!!
According to my understanding, The values that are finally printed on the terminal is fix value, x, y, z, distance between 2 lines. What is considered as the center point of those given values?
Thank you!!!
Not sure I understand the question.. xyz is the center. Distance between the lines can be used to get a sense of accuracy of the position estimate (although not directly).
On Fri, Aug 31, 2018, 02:57 HiruniNuwanthika notifications@github.com wrote:
According to my understanding, The values that are finally printed on the terminal is fix value, x, y, z, distance between 2 lines. What is considered as the center point of those given values?
Thank you!!!
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ashtuchkin/vive-diy-position-sensor/issues/58#issuecomment-417584260, or mute the thread https://github.com/notifications/unsubscribe-auth/AAmVHRC0gHvRJ6fkFksLwYVI2xvwleO_ks5uWOxJgaJpZM4WQR-4 .
Thank you!!! I understood it...
Now I have another problem. Is there a method to track another set of three photodiodes? how should I do the configurations? Thank you!!!
If you want to track them as independent objects, then just add them to your config like this:
<your base station config>
sensor1 pin 12 positive
object1 sensor1
stream1 position object1 > usb_serial
sensor2 pin 13 positive
object2 sensor2
stream2 position object2 > usb_serial
..same thing for third and fourth ones
If, on the other hand, you want to track them as a single object, then that is not supported, sorry.
I want to track them as independent objects. Thank you very much for your answer......
This is where it's coming from https://github.com/ashtuchkin/vive-diy-position-sensor/blob/master/src/input.cpp#L103
What's the config you're using?
If you want to track them as independent objects, then just add them to your config like this:
<your base station config> sensor1 pin 12 positive object1 sensor1 stream1 position object1 > usb_serial sensor2 pin 13 positive object2 sensor2 stream2 position object2 > usb_serial
where to add the second independent object detail in the code? it would be helpful, if you share some knowledge.
If you want to track them as independent objects, then just add them to your config like this:
<your base station config> sensor1 pin 12 positive object1 sensor1 stream1 position object1 > usb_serial sensor2 pin 13 positive object2 sensor2 stream2 position object2 > usb_serial
where to add the second independent object detail in the code? it would be helpful, if you share some knowledge.
got the answer:
open cmd (in windows) where TYtools are located. enter into config mode by pressing "!" then type the folowing : reset
write continue
-enjoy
What are the details included in the rotation matrix of each base station?
As I understood, In https://github.com/ashtuchkin/vive-diy-position-sensor-geometry-getter it gives First three values are the base station center points. What I cannot understand is the next 6 values given. (values next to the word matrix)
Please explain it to me... Thank you!