Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Use Logitech steering wheel as the OUTPUT not input?

Discussion in 'Scripting' started by wonderwall11, Feb 21, 2019.

  1. wonderwall11

    wonderwall11

    Joined:
    Jun 29, 2018
    Posts:
    6
    Hi everyone,

    I have been working on a self-driving project, and I have a Logitech driving simulator hooked up with Unity. I am wondering whether we can use the steering wheel of the simulator to perform self-driving scenario, which means that when the vehicle turns left by my self-driving algorithm in the API, the physical steering wheel also turns left, like a real autonomous vehicle does.

    Generally speaking, I know the Logitech controller can act as the input of Unity, but can it also be the output? How do we send data to the controller (i.e. lateral input) so the steering wheel can be turned by itself?

    Thanks!
     
  2. Antistone

    Antistone

    Joined:
    Feb 22, 2014
    Posts:
    2,835
    Before looking at the software side of this issue, have you already looked at the hardware side? In order for the wheel to turn itself, it would need to have motors inside of it designed specifically for that purpose. Unless the controller is specifically advertised as having that capability, I think that's pretty unlikely. To find out for sure, you'd need to research the specific controller you're using.

    If it doesn't have the appropriate hardware to make the wheel spin itself, then it doesn't matter what you do on the software side.
     
  3. Joe-Censored

    Joe-Censored

    Joined:
    Mar 26, 2013
    Posts:
    11,847
    I highly doubt the wheel's force feedback feature was designed with the ability to smoothly turn the wheel. You'll likely need to talk to engineers at Logitech about how to do that, if it is even possible.
     
  4. wonderwall11

    wonderwall11

    Joined:
    Jun 29, 2018
    Posts:
    6
    Thanks for the answer. This is essentially what I though about as well. The basic Logitech driving simulator seems to be too cheap to have those motors.
     
  5. wonderwall11

    wonderwall11

    Joined:
    Jun 29, 2018
    Posts:
    6
    Thanks. Guess we will need a much more advanced Logitech driving simulator for that function.
     
  6. unreal94

    unreal94

    Joined:
    Dec 19, 2019
    Posts:
    2
    Hey.. I am essentially deveoping something similar to this. Did you happen figure that out, or what other steerings has solved this issue?
     
  7. wonderwall11

    wonderwall11

    Joined:
    Jun 29, 2018
    Posts:
    6
    Hi thanks for digging this out. Actually I haven't worked on this anymore since last time I figured out it is not possible.
     
  8. unreal94

    unreal94

    Joined:
    Dec 19, 2019
    Posts:
    2
    Oh, that's alright. I am currently working on trying to check if that is possible. I could turn the steering using force feedback, but understanding how could I control for a given angle.
     
  9. ralf_b

    ralf_b

    Joined:
    Jul 9, 2013
    Posts:
    48
    Hello everybody I am also currently looking into this topic and checking if a Logitech G923 would be capable to be used as OUTPUT medium. Did anyone get past a force feedback for this steering wheel?