I want to generate C/C++ Code for ROS. % I have a Simulink model where I'm interfacing a BLDC drive using a CAN interface. The code runs before on a Speedgoat device, but it is currently not possible to generate the code for ROS.

조회 수: 1 (최근 30일)
% ROS Node Archive Creation 1
% Elapsed: 2 sec
% Creating archive file for model 'CANInterface'.
% ---
% ### Build procedure for model: 'CANInterface' aborted due to an error.
% File "dummy" does not exist.

채택된 답변

Carlos Villegas
Carlos Villegas 2019년 7월 30일
Hi,
Interfacing Simulink models to real hardware via CAN bus or other real-time industrial protocols can be easily set up using Simulink Real-Time. It is great to know that your setup worked well with Speedgoat hardware. Documentation for setting up Speedgoat CAN I/O modules can be found here: https://www.speedgoat.com/help/slrt/page/io_main/refentry_can_landing
ROS code generation is currently not supported with Simulink Real-Time nor Speedgoat hardware. Could you say a bit more about your target hardware or about the application?
Thanks

추가 답변 (0개)

커뮤니티

더 많은 답변 보기:  Power Electronics Community

카테고리

Help CenterFile Exchange에서 ROS 2 Network Access in Simulink에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by