How can I interface CAN_Pack _Unpack with a ROS publisher to generate a standalone ROS node?
조회 수: 6 (최근 30일)
이전 댓글 표시
I want to create a standalone ROS node from simulink to send data via CAN messages.
댓글 수: 0
채택된 답변
Tohru Kikawada
2019년 5월 5일
편집: Tohru Kikawada
2019년 5월 5일
Unfortunately, Robotics System Toolbox does not support ROS node generation for models that contain models generating shared libraries like CAN Transmit block in Vehicle Network Toolbox. https://mathworks.com/help/vnt/ug/cantransmit.html
To create the ROS node linking the shared libraries, you'll need to generate C code from models not containing ROS blocks, package the necessary files with packNGo, and then write a custom ROS wrapper code and CMakeLists.txt by hand.
댓글 수: 0
추가 답변 (0개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Specialized Messages에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!