Open the sports car vehicle workshop mechanism found in your Vortex sample folder: (./Equipment/Vehicle_Sports_Car/Dynamic/Sports Car_Workshop.vxmechanism).In this section, we will add "Receive" and "Send" UDP extensions to the car mechanism allowing information to be exchanged with the Python program. Configuring UDP Extensions in the Sports Car Mechanism The cruise control program is coded in Python and will be ran on the same machine as Vortex.įor more information about the UDP extensions, consult the Network Extensions documentation. When activated, the cruise control automatically regulates the throttle of the engine in order to keep the speed of the car constant to the current value. The example used in this tutorial is a simplified cruise control of a sports car. In Vortex®, this is made possible by using the UDP communication protocol to exchange information between the Vortex simulation and other software running on a local or remote network. In this tutorial, you will learn how to exchange information with an external Python program using the Vortex UDP extensions.Ĭommunication between multiple simulation software can be very useful in order to integrate models coming from different platforms.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |