ashtuchkin / vive-diy-position-sensor

Code & schematics for position tracking sensor using HTC Vive's Lighthouse system and a Teensy board.
MIT License
916 stars 110 forks source link

File to run for configurations #53

Closed HiruniNuwanthika closed 4 years ago

HiruniNuwanthika commented 6 years ago

Hi,

Can you give more details on which file to run to set the configurations mentioned in the link below? https://github.com/ashtuchkin/vive-diy-position-sensor/blob/docs/docs/manual.md

koen1993 commented 6 years ago

Use tytools (if i remember correctly the command should be 'tycmd monitor') with this you acces the teensy, to exit debug mode (in case you start in it) type '!' (this should put you in config mode). than you can use the above linked commands in said config mode.

HiruniNuwanthika commented 6 years ago

Thank you for your answer...

I used the command 'tycmd monitor' and It started monitoring the teensy board. But when I type '!' it does not change and put me into config mode. How can I change configurations?

koen1993 commented 6 years ago

Usualy you start in config mode, you only need to type '!' if you are in debug mode. After starting 'tycmd monitor' press enter once, after it you should read either 'config>' or 'debug>' ... if you are in debug mode, exit it typing '!' if you are in config mode, well then you are where you want to be ... Or do you have a different output when you press enter? btw this is an example configuration i used. Thought you should use your own Rotationmatrixes (This might help you if you don't know how)

reset
sensor0 pin 12 positive
base0 origin -1.099456 2.181808 1.686393 matrix 0.775341 0.268522 -0.571613 -0.006164 0.908281 0.418314 0.631512 -0.320813 0.705883
base1 origin 1.467740 2.275151 -1.877902 matrix -0.730416 -0.392384 0.559041 -0.009979 0.824549 0.565703 -0.682930 0.407620 -0.606179
object0 sensor0
stream0 position object0 > usb_serial
stream1 angles > usb_serial
serial1 57600
stream2 mavlink object0 ned 110 > serial1
write
continue
o

ps: the 'o' param will throw you into the debug mode, but after configuration everything, you can get some outputs from there (check the command list you linked)

HiruniNuwanthika commented 6 years ago

Thank you very much for your support!!!!

ashtuchkin commented 4 years ago

Thanks @koen1993!