Hi everyone,
I’m currently working on a project that involves integrating a custom vehicle model into CommonRoad scenarios, and I’m hoping to get some advice or insights from the community here.
The vehicle model I’m using has a unique dynamics structure that isn’t directly compatible with the built-in models provided by CommonRoad. While I’ve managed to simulate basic scenarios using the default templates, the results don’t accurately reflect the behavior of my specific vehicle. I’d like to know how I can implement my model into the framework while ensuring compatibility with the CommonRoad-IO library for scenario validation and visualization.
Here are a few specific questions I have:
- Dynamics Integration: Is there a recommended method or best practice for integrating custom dynamics models? Should I modify an existing template or create a new dynamics class from scratch?
- Scenario Validation: How can I ensure that the modified vehicle dynamics still comply with the scenario constraints and validation checks performed by CommonRoad?
- Tool Compatibility: Are there any common challenges or potential pitfalls when using custom models with the CommonRoad-IO library?
- Visualization: What’s the best way to visualize trajectories of a custom model to ensure they align with the expected behavior?
I also checked this: https://commonroad.in.tum.de/forum/t/steering-as-input-to-the-vehicle-models/qlik
If anyone has worked on similar projects or has experience in extending CommonRoad’s functionalities, I’d greatly appreciate your guidance. Any example code, references to documentation, or general tips would be incredibly helpful!
Thanks in advance for your time and support. I’m looking forward to learning from your experiences and hopefully contributing back to the community as I progress.