0 votes
by
retagged by

I have some parameters changing with respect to other factors. For example i have damping characteristic of shock absorbers and for different velocity and force values, i have different damping rate. You can see the table below:

I have more parameters like this, such as lock RPM for clutch. So i am considering changing these parameters dinamically with a script in run-time. And it yields 2 different question:

1) As i know when i add a script on the vehicle, in run-time the script is being disabled if i am using VPP community edition. My question is that this situation is same if i will have VPP professional edition?

2) If i am able to change it dinamically, will it cause any dinamic based problems on the vehicle in run-time? Will it be ok if change some parameters dinamically?

1 Answer

0 votes
by

1) The Community Edition doesn't support custom add-on components, thus they're disabled. The Professional edition do support them (check out the feature comparison) so you may write and use them without limits.

Indeed, VehicleBehaviour includes the callback UpdateVehicleSuspension, especially designed to modify the suspension parameters in runtime.

2) VPP is designed so you may change almost every vehicle parameter in runtime with immediate effect. There should be no problems as long as the new values make sense and are numerically supported. For example, large inertia differences within the powertrain or too strong dampers will probably cause stability issues. But changing parameters doesn't have any drawback per-se.

The parameters that cannot be modified directly are the number of wheels and the powertrain parts (Blocks). These may be still changed in runtime, but require the vehicle to be disabled and then re-enabled afterwards.

by
Thank you so much for your answer. Just to be sure, when you say "Blocks" does that mean all the blocks under "Vehicle Dynamics" topic in "VP Vehicle Controller"?
by
In a practical sense, "changing blocks" means changing the Driveline options in VPVehicleController. It refers to modifying the internal vehicle parts (e.g. adding or removing a differential, a gearbox, or connecting the differential to different wheels). Doing so in runtime requires disable the vehicle, perform the changes and re-enable it.
by
Thank you for your help.
...