How to visualize roads in Mechanics Explorer
8 views (last 30 days)
Show older comments
Hi, I am simulating a vehicle with Delft tyres and different road files (.rdf / CRG). I can see the vehicle moving in Mechanics Explorer, but cannot see the road. How can I make the road surface visual ?
0 Comments
Answers (1)
Steve Miller
on 24 Nov 2021
With a few commands from the OpenCRG MATLAB API and a file from the File Exchange, you can automatically produce an STL from a CRG file.
Examples that show how it is done are contained in the Simscape Vehicle Templates. You can download this example for free. This page includes a summary and animations of the simulations.#
Here is an image of a sedan climbing Pikes Peak, generated from a CRG file of the road.
--Steve
0 Comments
See Also
Categories
Find more on Simscape Multibody in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!