How to run multiple Simulink Real-Time USB inputs at once
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm using Simulink Real-Time to control a robotic system with CAN communication, connected to my computer via USB. I want to add an additional IMU sensor using another Arduino, but I haven't been able to communicate with both at the same time.
I can either use Simulink Real-Time with the CAN communication, or use the Arduino hardware support package for the IMU sensor (LSM6DS3), but am unable to do both simuaneously.
Does anyone have a solution?
Thanks!
0 Kommentare
Antworten (1)
Brandon Stevens
am 11 Mär. 2024
Hi Troy,
I believe you are saying you have a limitation on your host computer, where you only have IO to talk to either the SLRT Speedgoat target or an Arduino.
How about you have the Arduino or sensor communicate directly with the Simulink Real-Time target? For example, if it communciates over serial you could use the serial pins on the target to get the information from the IMU sensor. If your control code on the target is the destination for that IMU sensor output, that may be more efficient.
Best,
Brandon
0 Kommentare
Siehe auch
Kategorien
Mehr zu Target Computer Setup finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!