udacity / self-driving-car-sim

A self-driving car simulator built with Unity
http://udacity.com/self-driving-car
MIT License
3.9k stars 1.5k forks source link

Is it possible to use the 3'th party's Vehicle dynamics model #94

Closed s894330 closed 5 years ago

s894330 commented 5 years ago

Hi ,

As the title say , could I use 3'rd party Vehicle dynamics model (like CarSim) to do simulation and they can communicate each other (for example: the car model created from CarSim can pass vihicle data to simulator, and the speed command data from simulator can pass to car model) ? If the answer is "No" for now , would you have the plan to add this feature in the feature?

Thank you

mvirgo commented 5 years ago

As long as you are sending data to the correct port (typically 4567 for these simulators) and in the correct format, they can communicate with each other. It would be up to you to write the code necessary to make sure this is done (see Behavioral Cloning for an example in Python or Extended Kalman Filter for an example in C++).

mvirgo commented 5 years ago

Closing out since no further comments in 2+ weeks.