pyomeca / pyorerun

Rerun c3d files and biorbd models from python.
MIT License
11 stars 4 forks source link

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

Closed Ipuch closed 6 months ago

Ipuch commented 6 months ago

@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

codeclimate[bot] commented 6 months ago

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

View more on Code Climate.