We need to implement a lightweight Julia function to evaluate a controller produced by Dionysos without requiring any dependency on the Dionysos toolbox. This will allow external modules (e.g., philipedes) to use controllers generated by Dionysos in a minimal and decoupled way.
Goals:
- Standalone function
u = C(x)
- A Julia function that takes a state x and returns the control action u, as defined by a previously synthesized controller.
- This function must not depend on Dionysos.
Import controller mapping to CSV
Import the controller as a CSV file with the following format:
origin,h
1,u1
2,u2
3,u3
...
This CSV export functionality can stay inside Dionysos.
Optionally consider saving the associated SymbolicModel struct along with the controller data.
We need to implement a lightweight Julia function to evaluate a controller produced by Dionysos without requiring any dependency on the Dionysos toolbox. This will allow external modules (e.g., philipedes) to use controllers generated by Dionysos in a minimal and decoupled way.
Goals:
u = C(x)Import controller mapping to CSV
Import the controller as a CSV file with the following format:
origin,h
1,u1
2,u2
3,u3
...
This CSV export functionality can stay inside Dionysos.
Optionally consider saving the associated SymbolicModel struct along with the controller data.