Communication with Logitech G29 Steering Wheel?
12 次查看(过去 30 天)
显示 更早的评论
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 个评论
Norman Grant
2023-5-10
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
回答(1 个)
VINAYAK LUHA
2024-2-3
编辑:VINAYAK LUHA
2024-2-3
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 个评论
reuben
2024-4-23
"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
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Development Computer Setup 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!