Skip to content

Task and sim ctrl separation#102

Open
johnzhang3 wants to merge 11 commits intorai-opensource:mainfrom
johnzhang3:task-sim-ctrl-separation
Open

Task and sim ctrl separation#102
johnzhang3 wants to merge 11 commits intorai-opensource:mainfrom
johnzhang3:task-sim-ctrl-separation

Conversation

@johnzhang3
Copy link
Copy Markdown
Contributor

No description provided.

johnzhang3 and others added 10 commits September 4, 2025 15:35
- Add task_to_sim_ctrl() method to Task base class (default identity)
- Update RolloutBackend to accept and use task_to_sim_ctrl function
- Update MJSimulation to use task_to_sim_ctrl when setting controls
- Update Controller to pass task.task_to_sim_ctrl to RolloutBackend
- Tasks can now override task_to_sim_ctrl() to map between different control spaces
Copy link
Copy Markdown
Collaborator

@alberthli alberthli left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread CHANGELOG.md
Comment on lines +3 to +8
## Added
* Separation between task-space controls and MuJoCo simulation controls
* Added `task_to_sim_ctrl()` method to `Task` base class (default identity mapping)
* Updated `RolloutBackend` to accept and use `task_to_sim_ctrl` function for control mapping
* Updated `MJSimulation` to use `task_to_sim_ctrl` when setting controls
* Tasks can now override `task_to_sim_ctrl()` to map between different control spaces
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tag yourself in these updates

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants