Skip to content

Add standalone controller execution function via CSV import #1

@JulienCalbert

Description

@JulienCalbert

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:

  1. 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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions