How to simulate an uphill road on UnrealEngine?

9 visualizaciones (últimos 30 días)
Alessandra Guadagni
Alessandra Guadagni el 21 de Mayo de 2021
Respondida: Nishan Nekoo el 24 de Sept. de 2024
I am using the Vehicle Dynamics Blockset toolbox and I would like to simulate in 3D a car going uphill on a road that has a 8% gradient. I am only using the 'Simulation 3D Vehicle with Ground Following' block using x,y and yaw obtained from another model as inputs. The simulation obtained from Unreal Engine when i run the model simply shows the car moving on a straight and flat road.
Is it possible to represent an uphill road? If yes, where can I set that configuration?

Respuestas (1)

Nishan Nekoo
Nishan Nekoo el 24 de Sept. de 2024
Hi Alessandra, starting in R2024b, Vehicle Dynamics Blockset provides a 3D Scene of the ZalaZone Automotive Proving Grounds Hill Tracks: https://www.mathworks.com/help/vdynblks/ref/zalazoneautomotiveprovinggroundhilltracks.html
This scene provides five different climbs with gradients varying between 5% and 30%.

Community Treasure Hunt

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

Start Hunting!

Translated by