What is the collisioncodegen_api.hpp and where to find it and how does it work?

13 visualizaciones (últimos 30 días)
Carlos Javier
Carlos Javier el 30 de Jul. de 2025
Respondida: Sameer el 5 de Ag. de 2025 a las 10:40
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.
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 comentarios
Torsten
Torsten el 30 de Jul. de 2025
Do you want to reinvent the Automated Driving Toolbox ?
Carlos Javier
Carlos Javier el 4 de Ag. de 2025 a las 3:29
my model does not have anything to do with the Automated Driving Toolbox, but it still generates the collision api
I just would like to know more info about it because I can't find any info on it or how not to generate it

Iniciar sesión para comentar.

Respuestas (1)

Sameer
Sameer el 5 de Ag. de 2025 a las 10:40
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!

Categorías

Más información sobre Deployment, Integration, and Supported Hardware en Help Center y File Exchange.

Productos


Versión

R2024b

Community Treasure Hunt

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

Start Hunting!

Translated by