- X: Longitudinal position
- Y: Lateral position
- Yaw: Yaw orientation angle
- Light Controls: Vehicle light controls
Speed control for simulation 3-D vehicle with ground following
16 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
how to control the speed of the vehicle.
Is there any method to control the vehicle speed. we are not able to control the speed.
0 Kommentare
Antworten (2)
Binaya
am 22 Nov. 2023
Hi Prajwal,
Based on my understanding, you would like to find a method to control the vehicle speed in “Simulation 3D Vehicle with Ground Following” block in Simulink.
The “Simulation 3D Vehicle with Ground Following” block has 4 input ports namely:
This block determines the vehicle velocity and heading and adjusts the steering angle and rotation for each wheel based on the given four inputs as described in the block description section of Simulink. Based on the sampling rate of X and Y inputs, the block can determine the velocity of the vehicle and hence, there is no specific vehicle speed control port in the block.
Please refer to below documentation for more details about "Simulation 3D Vehicle with Ground Following”: https://www.mathworks.com/help/driving/ref/simulation3dvehiclewithgroundfollowing.html
I hope this helps.
Regards
Binaya
0 Kommentare
Anurag
am 23 Nov. 2023
Hi Prajwal,
I understand that you want to control the speed of the vehicle in your 3D simulation.
Please follow the steps below to control the speed in your simulation:
- Since you’re asking the steps for controlling the speed, I’m assuming you’ve already modelled the 3D vehicle dynamics using blocks or tools like the "Vehicle Dynamics Blockset."
- Implement a speed control system (like a PID controller) and connect the output to the input of the vehicle dynamics affecting speed.
- After completing the connections provide a reference speed input to the controller and tune the controller for desired speed regulation. Simulate and observe the system in the process as well.
Please refer to the following MathWorks documentation link for more information on 3D vehicle simulation:
Hope this helps!
0 Kommentare
Siehe auch
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!