What is the collisioncodegen_api.hpp and where to find it and how does it work?
조회 수: 5 (최근 30일)
이전 댓글 표시
I have a controller model in simulink where I use reinfocement learning toolbox, I want generated code to use with Microsoft Visual C++
but it kept asking for the collisioncodegen_api.hpp and everything related with it.
I looked online and just found a https://git.hipert.unimore.it/famerotti/autonomousdriving_control/-/blob/main/include/autonomousdriving_control/collisioncodegen_api.hpp
and downloaded it from that link but still brought me problems and until now I can't solve it. I don't know what it is and it does not generate it with the code generator.
댓글 수: 2
답변 (1개)
Sameer
2025년 8월 5일
I found that "collisioncodegen_api.hpp" is located along with other header files, in the directory matlabroot/extern/include/shared_robotics.
Copying the header files from this location is generally the recommended solution.
Hope this helps!
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Deployment, Integration, and Supported Hardware에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!