Jump to content

sbsptla

Verified Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by sbsptla

  1. I also ran into this issue, with the 2018 Vive Tracker, and I think I've figured it out. My code that used to work fine with the old Vive Tracker no longer produced vibration with the new tracker. When calling SteamVR_Action_Vibration.Execute, you can specify the duration, frequency, and amplitude as parameters. Here's an example of my Unity code: SteamVR_Action_Vibration[] actions = SteamVR_Input.actionsVibration;actions[0].Execute(0, pulseLengthSec, freq, amp, SteamVR_Input_Sources.LeftHand); With the old tracker, the tracker's output pogo pin would remain on constantly for some duration (oddly, the duration was not actually equal to pulseLengthSec. Setting higher frequencies and lower amplitudes reduced the duration of the time the pin was on, but this isn't really important. The point is that the pin remained solidly on when vibrating). With the new tracker, the pogo pin's output behavior is completely different. Now, instead of remaining on constantly for the vibration duration, it outputs a series of pulses at the specified frequency. The pulses repeat for the specified duration. Amplitude doesn't seem to have any effect. Your multimeter is showing a lower voltage with the new tracker because the pin is no longer constantly on. It switches on and off at the frequency you specify, so your multimeter shows a sort of "average" voltage over time. I believe the result of this change is that we will no longer be able to directly drive a traditional vibration motor (i.e., eccentric rotating mass) directly from the output pogo pin. Instead, the pin should be able to drive a vibrating linear actuator (e.g. this), which requires this type of oscillating signal. This is a nice feature to have, because now software can control the vibration frequency. However, this change will probably break most existing tracker accessories :smileyfrustrated: Here is an oscilloscope capture of the output signal of the new (2018) Vive Tracker showing sequential calls to SteamVR_Action_Vibration.Execute, each lasting 200ms with this list of frequencies: 1hz, 10, 100, 1000, 10000. You an see the frequency of the output pulses increase:
×
×
  • Create New...