Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

See if we can get the display to be rendered with control in the loop #3

Closed
nic-barbara opened this issue Jul 29, 2023 · 2 comments · Fixed by #17
Closed

See if we can get the display to be rendered with control in the loop #3

nic-barbara opened this issue Jul 29, 2023 · 2 comments · Fixed by #17
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@nic-barbara
Copy link
Collaborator

nic-barbara commented Jul 29, 2023

Start with adapting basic.cc into Julia. We want a simple wrapper that people can run with something like this:

function visualise()
    viewer = open_viewer(model, data)
    while <window is open>
        # do controls, data.ctrl = ....
        mj_step(model, data)
        viewer.render()
    end
    viewer.close()
end

Useful to just check things are working and visualise behaviour.

@nic-barbara nic-barbara changed the title See if we can get the display to be rendered See if we can get the display to be rendered with control in the loop Jul 29, 2023
@nic-barbara
Copy link
Collaborator Author

The visualiser in https://github.com/Lyceum/LyceumMuJoCoViz.jl is fantastic and we should try to adapt this instead of re-inventing the wheel. I'll start there.

@nic-barbara nic-barbara self-assigned this Aug 7, 2023
@nic-barbara
Copy link
Collaborator Author

Basic renderer developed here: #14

@nic-barbara nic-barbara linked a pull request Aug 7, 2023 that will close this issue
@JamieMair JamieMair added this to the initial-beta milestone Aug 11, 2023
@JamieMair JamieMair added the enhancement New feature or request label Aug 11, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants