You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Some structs like Model or Data have a lot of properties and it can be inconvenient to find the right documentation. The show_docs function will let the user see the documentation in the REPL:
julia>show_docs(Model, :nq)
Model.nq: number of generalized coordinates =dim(qpos)
or if you have an object:
julia> model, data = MuJoCo.sample_model_and_data();
julia>show_docs(model, :nq)
Model.nq: number of generalized coordinates =dim(qpos)
It would be nice to use a macro like @showdoc model.nq, but both approaches are essentially the same and the function is easier to implement.
This feature should be implemented for:
mjData
mjModel
mjStatistics
mjOption
Possibly for named access structs, these could always be forwarded to the appropriate parent struct.
The text was updated successfully, but these errors were encountered:
Some structs like
Model
orData
have a lot of properties and it can be inconvenient to find the right documentation. Theshow_docs
function will let the user see the documentation in the REPL:or if you have an object:
It would be nice to use a macro like
@showdoc model.nq
, but both approaches are essentially the same and the function is easier to implement.This feature should be implemented for:
The text was updated successfully, but these errors were encountered: