bardhh / cbfkit

Toolbox for Robotics Control
BSD 3-Clause "New" or "Revised" License
43 stars 4 forks source link

modified the generate model to take initial state as parameter #2

Open ShashwatPatil opened 3 months ago

ShashwatPatil commented 3 months ago

modified the generate model to take initial state as parameter now the generated model can have custom initial state, in generation of config.py changed controller and dynamics parameters to be non static and in the correct format,so that there is no need to manually change it after model generation. Also the model generator was using static name Van_der_pol_oscillator to the model_name provided.

Also found these errors when trying to create a model for cart pole system, so also committing that generator as an example.

bardhh commented 2 months ago

Thank you! Give me some time to go over this.