How do is use Simulink with G29 Logitech Wheel to get input ?

61 visualizaciones (últimos 30 días)
Hi Guys,
I hope everyone is doing well. I've just got the G29 wheel along with the gear shifter and evolution Playseat. I also got the new Project Cars 2 game as I'm working on a project to get driving inputs (Wheel angle, pedal position, acceleration) from the simulation. I just want to know if there is anyone who succeeded extraction inputs using Simulink and how that could be done.
Thank you.

Respuesta aceptada

Diego Kuratli
Diego Kuratli el 10 de Jun. de 2022
For desktop simulation, you can use this block from Simulink 3D Animation:
For Simulink Real-Time and Speedgoat hardware, there is a dedicated block for Logitech G29:
  1 comentario
奕斐 王
奕斐 王 el 29 de Dic. de 2022
Hello, I used speedgoat baseline(kernel matlab 2020a) as a real-time target machine and the dedicated G29 simulink block, but I still can't receive logitech G29 signals when I run the model(STATUS=-1), I would like to know what the possible reasons and solutions are?
I look forward to your reply.

Iniciar sesión para comentar.

Más respuestas (3)

HUSAIN KANCHWALA
HUSAIN KANCHWALA el 28 de Mzo. de 2019
Were you able to solve it?

Mauro Fusco
Mauro Fusco el 17 de Mayo de 2019
Hi,
it seems that you need Simulink Real-Time, which provides the following block to read inputs from Logitech G29 Steering-Wheel:
have you already tried? Is there any challenge?
  3 comentarios
kaci
kaci el 26 de Abr. de 2023
just a question, last year I saw that it was necessary to use the speedgoat between the logitech G29 and matlab, but I have already used the wheel to play games only by plugging it by USB, why do we need the goat to retrieve the input, we can not do it normally at the level of the USB port? sorry, if my question is perhaps stupid, I do not know the subject well but I am curious
Stefanie Schwarz
Stefanie Schwarz el 4 de Mayo de 2023
@kaci If you don't have a Speedgoat real-time target and want to connect the G29 to your Desktop PC, you can try the "Joystick Input" block from Simulink 3D Animation toolbox:

Iniciar sesión para comentar.


Sheshu Marshetty
Sheshu Marshetty el 8 de Jun. de 2022
Hello Everyone !
Is anyone found the solution for this?

Categorías

Más información sobre Troubleshooting in Simulink Real-Time en Help Center y File Exchange.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by