Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

feat: model_updater easy to get for more custom rerun use cases #20

Merged
merged 3 commits into from
May 9, 2024

Conversation

Ipuch
Copy link
Collaborator

@Ipuch Ipuch commented May 9, 2024

@aceglia

import rerun as rr
import numpy as np
from pyorerun import ModelUpdater

q = np.zeros(10)
model = ModelUpdater.from_file("path/to/model.bioMod")

rr.init("my_thing", spawn=True)
rr.set_time_sequence(timeline="step", sequence=0)
model.to_rerun(q)
rr.log("anything", rr.Anything())


This change is Reviewable

Copy link

codeclimate bot commented May 9, 2024

Code Climate has analyzed commit 34aa0d4 and detected 0 issues on this pull request.

View more on Code Climate.

@Ipuch Ipuch merged commit ddc88d1 into pyomeca:main May 9, 2024
1 check passed
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.

1 participant