Logitech G29 with Simulink desktop simulation

Hi
I have a logitech G29 driving wheel and pedals on PS3 mode and the simulink realtime library block for Logitech G29. Do you have any idea how can I record steering signals?
I keep on getting error though all the modules and drivers are installed in Matlab.

6 件のコメント

Diego Kuratli
Diego Kuratli 2019 年 3 月 28 日
Is the G29 connected to a Speedgoat real-time target machine? Can you share the error messages?
HUSAIN KANCHWALA
HUSAIN KANCHWALA 2019 年 3 月 29 日
Oh I got your point. I think that block will not work with Simulink desktop PC as it is the part of Simulink Realtime library so it will only work on a Realtime operating system say speed goat. Am I right?
The error that I get us that it cannot initialize the model. I can share the exact error message too.
Diego Kuratli
Diego Kuratli 2019 年 3 月 29 日
Correct, the G29 driver block does not work for desktop simulation. It has to be included in a real-time application built for Simulink Real-Time, running on a Speedgoat real-time target machine.
Thomas Murray
Thomas Murray 2019 年 5 月 30 日
Diego,
Is there any way that this block could be expanded (or recreated in a different block) in a way that would enable interfacing with Simulink running on a PC instead of a real-time target? That would be extremely useful for us.
young future
young future 2019 年 9 月 17 日
Try Joystick .
Shuaicong Yang
Shuaicong Yang 2020 年 4 月 17 日
use the joystick block in the lib of destop real time, it can get the analog of the g29, includeing steering , throttle, brake etc.

サインインしてコメントする。

 採用された回答

Diego Kuratli
Diego Kuratli 2019 年 5 月 31 日
編集済み: Stefanie Schwarz 2023 年 5 月 12 日

1 投票

For desktop simulation, you can use this block: https://www.mathworks.com/help/sl3d/joystickinput.html

3 件のコメント

Thomas Murray
Thomas Murray 2019 年 7 月 16 日
Diego,
Is there another method for getting this input that uses a different block which doesn't require the virtual reality toolbox?
Diego Kuratli
Diego Kuratli 2019 年 7 月 18 日
I'm not aware of any other block. However, please reach out to support for a confirmation.
Kangkyu Lee
Kangkyu Lee 2020 年 4 月 29 日
@Thomas Murray
I am in exactly the same trouble as you.
If you have solved this problem (in any way), I would like advice from you. Or if you haven't solved it, I'd like to know why.
Please teach me.

サインインしてコメントする。

その他の回答 (1 件)

ZHAO XU
ZHAO XU 2024 年 5 月 16 日

0 投票

This is because your G29 does not support PS3! This module only supports PS3! My G29 is a new version of PS4/5, and like you, it cannot read data.

カテゴリ

製品

リリース

R2018b

タグ

質問済み:

2019 年 3 月 28 日

回答済み:

2024 年 5 月 16 日

Community Treasure Hunt

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

Start Hunting!

Translated by