[Bug Report] Observation groups using the same mdp function have strange behaviour. #356
Closed
2 of 4 tasks
Labels
bug
Something isn't working
Describe the bug
If you use two observation groups (low-level and high-level control) that use the same mdp function (for example mdp.base_lin_vel) have strange behaviour, where the changes in one observation group affect the other one.
Steps to reproduce
The expected behaviour (correct me if I'm wrong) would be to have two observation groups that have the same entry for base_lin_vel. However, the actual behaviour is for the first obs group (high level in this case) to have base_lin_vel scaled by 2. (as expected), but the second group has the base_lin_vel scaled by 4. (or rather it has the base_lin_vel of highLevelPolicy scaled by an additional 2.).
Similarly, if you have two observations within the same group that use the same function, the same occurs. A dirty workaround would be to create new mdp functions for the low-level and high-level policies.
Is there anything I'm missing in the definition of the observation terms and groups?
System Info
Describe the characteristic of your environment:
Checklist
Acceptance Criteria
Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.
The text was updated successfully, but these errors were encountered: