MATLAB Answers

ROS simulink controller is slow

조회 수: 10(최근 30일)
Nathaniel Goldfarb
Nathaniel Goldfarb 2021년 5월 28일
댓글: Nathaniel Goldfarb 2021년 6월 4일
I am trying to build a controller in simulink to interact with ROS and custom simulation of my robot. The controller is rather complex, and involves communication with several topics.
When I try to publish the setpoints to the controller the controller runs very slowly to the point it cannot be used. Is there a way I can speed up the controller to make it run in real time? Should I be exported the code to C++ then tuning my model parameters from there? I know that this is very vague question, I apperate any help.
  댓글 수: 4
Nathaniel Goldfarb
Nathaniel Goldfarb 2021년 6월 4일
yes, I am trying to do that now. I am having a problem building and running the model. There is an issue with a custom ROS message. I am in a discussion here

댓글을 달려면 로그인하십시오.

답변(0개)

태그

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by