MizuhoAOKI / pycarsimlib

An easy-to-use carsim wrapper library to call carsim solver from python scripts.
MIT License
9 stars 1 forks source link

Automatically edit carsim procesures #1

Open MizuhoAOKI opened 1 year ago

MizuhoAOKI commented 1 year ago

There is a vs_statement() function in the carsim dll. Use it and add additional statements in the lib.

For example, statements are as follows,

IMPORT IMP_STEER_SW Replace 0.0! 1
IMPORT IMP_FBK_PDL Replace 0.0! 1
IMPORT IMP_THROTTLE_ENGINE Replace 0.0! 1
EXPORT XCG_TM
EXPORT YCG_TM
EXPORT Yaw
MizuhoAOKI commented 1 year ago

check this https://github.com/MizuhoAOKI/cppcarsimlib/blob/master/src/CarsimManager.cpp#L105