Communication with Logitech G29 Steering Wheel?
9 views (last 30 days)
Show older comments
The G29 Simulink-Block shows a communication error/status (-1) during simulation run.
Logitech driver installed and works (Win10 OS); Realtime Toolbox available; steering wheel connected by USB
Is there something i missed?
Thanks
OMA
1 Comment
Norman Grant
on 10 May 2023
This can be done using the Simulink real time module and using the joystick. Full disclosure, the company in south Africa Optimum solved this for me
Answers (1)
VINAYAK LUHA
on 3 Feb 2024
Edited: VINAYAK LUHA
on 3 Feb 2024
Hi OMA,
The error during simulation run while communicating with Logitech G29 steering wheel using Simulink "G29 Simulink-Block" could be because of the fact that the "G29 Simulink-Block" can only be used if the steering wheel is connected to a Simulink Real-Time target machine (Speedgoat). It does not execute when the model is simulated on a host PC.
As a workaround, for desktop simulation, you can consider using the simulink "joystick input block".
Further, you can use the following references on the use of 'speedgoat' with SIMULINK Real-Time:
- https://www.mathworks.com/videos/speedgoat-target-computer-hardware-for-simulink-real-time-90099.html
- https://www.mathworks.com/videos/controlling-real-time-applications-with-simulink-real-time-explorer-89493.html
Hope this resolves your issue
Thanks
1 Comment
reuben
on 23 Apr 2024
"As a workaround, for desktop simulation, you can consider using the simulink "joystick input block". " Is there any step by step procedure for this? Similar quetions have been askedon MAthworks platform but there seems to be no definite answer. Can you please offer any assistance on this?
Thanks
See Also
Categories
Find more on Development Computer Setup in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!