How to simulate an uphill road on UnrealEngine?

9 Ansichten (letzte 30 Tage)
Alessandra Guadagni
Alessandra Guadagni am 21 Mai 2021
Beantwortet: Nishan Nekoo am 24 Sep. 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?

Antworten (1)

Nishan Nekoo
Nishan Nekoo am 24 Sep. 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