Giter Club home page Giter Club logo

mujoco.jl's People

Contributors

klowrey avatar rejuvyesh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

mujoco.jl's Issues

"using MuJoCo" LoadError: UndefVarError: Cvoid not defined

Hi, I am using MuJoCo in OSX with Julia-v0.6.4. Before it worked well but today after I update the packages with "Pkg.update()", it first has an error with not finding the "Libdl" module. Then I fix it by changing the "using Libdl" to "using Base.Libdl" in the MuJoCo.jl. However, now it has another bug as followed:

image

Demo in README not working

I am on a Mac and MuJoCo by itself and every other part of the demo code in the readme works except these lines of code and their following errors:

mj.set(m, :opt, :timestep, -0.002)

ERROR: MethodError: no method matching update_ptr(::Base.RefValue{mjModel}, ::UInt64, ::Float64)
Closest candidates are:
update_ptr(::Ptr, ::Integer, ::Float64) at /Users/powers/.julia/packages/MuJoCo/GRTFJ/src/mjextra.jl:152
update_ptr(::Ptr, ::Integer, ::Integer) at /Users/powers/.julia/packages/MuJoCo/GRTFJ/src/mjextra.jl:149
update_ptr(::Ptr, ::Integer, ::StaticArrays.SArray{Tuple{S},T,1,S} where T where S) at /Users/powers/.julia/packages/MuJoCo/GRTFJ/src/mjextra.jl:155
Stacktrace:
[1] set(::jlModel, ::Symbol, ::Symbol, ::Float64) at /Users/powers/.julia/packages/MuJoCo/GRTFJ/src/mjextra.jl:204
[2] top-level scope at none:0

m.m[].opt.timestep = 0.002

ERROR: setfield! immutable struct of type mjOption cannot be changed
Stacktrace:
[1] setproperty!(::mjOption, ::Symbol, ::Float64) at ./sysimg.jl:19
[2] top-level scope at none:0

d.qpos[:] = rand(nq)

ERROR: UndefVarError: nq not defined
Stacktrace:
[1] top-level scope at none:0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.