Please explain the constraints
MukilSaravanan opened this issue · 5 comments
Please explain the constraints that need to be satisfied along with maximizing the rewards. What does info['constraint values'] mean?
Hello @MukilSaravanan
are is this a question relating the IROS 2022 competition?
The constraints are specified in the YAML files, e.g.
safe-control-gym/competition/level3.yaml
Lines 128 to 162 in a0e7fa2
simply means that there are upper and lower bound for the input (identical to the action_space
) and the x, y, z position of the Crazyflies (bounding it to be within a flyable arena of 6 by 6 by 2.1 meters)
info['constraint values']
are the numerical evaluations of those constraints (meaning that any negative value in that entry of the dictionary indicates a violation.
I'm also tagging @adamhall if you have further implementation-specific questions.
info['constraint values']
are the numerical evaluations of those constraints (meaning that any negative value in that entry of the dictionary indicates a violation.
It's actually the other way. ie, if any of those numerical evaluations of constraints is positive, it is said to be violating
info['constraint values']
are the numerical evaluations of those constraints (meaning that any negative value in that entry of the dictionary indicates a violation.It's actually the other way. ie, if any of those numerical evaluations of constraints is positive, it is said to be violating
I'm sure you're right (@adamhall can confirm or refute), I don't remember the sign convention by heart.
The single boolean in info[constraint_violation]
is intended to avoid any ambiguity.