ashtuchkin / vive-diy-position-sensor

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

How to use tycmd in windows ? #82

Open luoxz-ai opened 2 years ago

luoxz-ai commented 2 years ago

How to use tycmd in windows ?

How can I configure the module as you stated in https://github.com/ashtuchkin/vive-diy-position-sensor/blob/docs/docs/manual.md ?

Can the arduino serial port be able to view the debug output information?

luoxz-ai commented 2 years ago

upload releases tag v1.0-alpha2 vive-diy-position-sensor.hex , how to output the position to the screen?

ashtuchkin commented 2 years ago

How to use tycmd in windows ?

I don't know, I don't use windows.

How can I configure the module as you stated in https://github.com/ashtuchkin/vive-diy-position-sensor/blob/docs/docs/manual.md ?

When you establish serial connection, press enter, it should show you the prompt ("> "). After that, enter your hardware configuration as written in the manual. See also #65, #73.

Can the arduino serial port be able to view the debug output information?

No, only serial over usb at this point.

upload releases tag v1.0-alpha2 vive-diy-position-sensor.hex , how to output the position to the screen?

After you connect your teensy/particle to the the sensor and enter the hardware configuration via serial-over-usb, it will wait for the "fix" and start outputting position to whatever port you set in the hardware configuration.

luoxz-ai commented 2 years ago

vive_sensor_breadboard.pdf

68

Is this breadboard schematic correct?

luoxz-ai commented 2 years ago

The arduino is also connected through the usb serial port. Can you interact with the command to get the location debugging information and output it to the screen?

luoxz-ai commented 2 years ago

https://www.pjrc.com/teensy/tutorial3.html

arduino usb Serial?

luoxz-ai commented 2 years ago

https://www.pjrc.com/teensy/usb_serial.html

serial_install.exe

USB: Virtual Serial Port?

https://www.pjrc.com/teensy/td_serial.html

Using teensydino USB Serial Communication?

luoxz-ai commented 2 years ago

https://github.com/Koromix/tytools/releases

53

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.

ashtuchkin commented 2 years ago

For schematics, please use the one in the README.md (right below the words "Full schematics:"). This project does not support Arduino. Only Teensy or Particle.

Can you interact with the command to get the location debugging information and output it to the screen?

Yes. Specifically the following configuration line does it (note "usb_serial"):

stream0 position object0 > usb_serial

I'm not sure what you're asking in the other questions.

luoxz-ai commented 2 years ago

image

image

Is there a schematic diagram of a simple panel?