Skip to content
This repository has been archived by the owner on Dec 21, 2019. It is now read-only.

Should jlModel/jlData with <: Ptr arguments call mj_resetData/mj_forward? #13

Open
colinxs opened this issue Oct 19, 2019 · 0 comments
Open

Comments

@colinxs
Copy link

colinxs commented Oct 19, 2019

The convenience is nice as the values in mjData aren't value until mj_forward is called (and reset as an extra precaution), but that mutates the data the Ptr argument refers to.

Options:

  1. never
  2. only iff own==true
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant