control-toolbox / control-toolbox/CTParser.jl

Future: declaration of time, state, control and variable in the abstract syntax

Open
#30 5 comments 0 reactions 2 assignees Claimed by @ocots View on GitHub
enhancement good first issue
Dominant language
Julia
Stars
3
Forks
0
Avg merge
4h 22m
Merged PRs (30d)
2

Description

The idea of this issue is to add possibilities of declaration of time, state, control and variable.

For instance, this current declaration

```julia
@def begin
tf ∈ R, variable
t ∈ [0, tf], time
x = (q, v) ∈ R², state
u ∈ R, control
tf ≥ 0
v(t) ≤ 1
-1 ≤ u(t) ≤ 1
end
```

must be equivalent to

```julia
@def begin
tf ∈ R₊, variable
t ∈ [0, tf], time
x = (q, v) ∈ (-∞, 1] × R, state
u ∈ [-1, 1], control
end
```

In the comments below, you will find:

- [Preliminaries](https://github.com/control-toolbox/CTParser.jl/issues/30): how the code works.
- [Current possibilities](https://github.com/control-toolbox/CTParser.jl/issues/30): how to declare for the moment.
- [Todo](https://github.com/control-toolbox/CTParser.jl/issues/30): the new possibilities.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.