Giter Site home page Giter Site logo

make command about raisimexample HOT 12 CLOSED

kashifzr avatar kashifzr commented on August 20, 2024
make command

from raisimexample.

Comments (12)

jhwangbo avatar jhwangbo commented on August 20, 2024

which OS? what is the error message? from which repo did you pull raisim?

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

I am using Ubuntu 18.04.5 LTS, Bionic and I use git clone to download from the repository of THIS example.

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

Error Message

error: ‘raisim::Path’ has not been declared
auto binaryPath = raisim::Path::setFromArgv(argv[0]);
^~~~

from raisimexample.

jhwangbo avatar jhwangbo commented on August 20, 2024

from which repo did you pull RAISIM? raisimTech/raisimlib?

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

I am using raisimLib from below repository

https://github.com/leggedrobotics/raisimLib.git

from raisimexample.

jhwangbo avatar jhwangbo commented on August 20, 2024

as the readme states, this repo is only for the newer version in raisimTech/raisimlib.

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

Oky, thanks

It requires RaiSim v1.0 (not released yet)
I thought as RaiSim v1.0 is not released yet may it work for old raisimLIb, WIthout RaiSim v1.0 does its works if downloaded and used from raisimTech/raisimlib?

from raisimexample.

jhwangbo avatar jhwangbo commented on August 20, 2024

v1.0 is not fully ready but the version in raisimTech/raisimlib works fine with this repo. to use the new raisim, you have to get the activation key from here (http://raisim.com/sections/License.html#raisim-academic-license). Currently, we only offer activation keys for academics.

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

Thanks

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

Once in the examples folder, type one of the following command:

$ pip install -e .

$ pip install --user -e .

$ python setup.py install

$ python setup.py install --home=

Errors after executing pip install --user -e . Where I am doing wrong. All commands from Installation MANUAL works fine.

Obtaining file:///home/abc/new_raisim/raisimlib/raisimPy/examples
    Complete output from command python setup.py egg_info:
    Traceback (most recent call last):
      File "/usr/lib/python3/dist-packages/pip/download.py", line 421, in get_file_content
        with open(url, 'rb') as f:
    FileNotFoundError: [Errno 2] No such file or directory: 'requirements.txt'
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/home/abc/new_raisim/raisimlib/raisimPy/examples/setup.py", line 16, in <module>
        reqs = [str(ir.req) for ir in install_requires]
      File "/home/abc/new_raisim/raisimlib/raisimPy/examples/setup.py", line 16, in <listcomp>
        reqs = [str(ir.req) for ir in install_requires]
      File "/usr/lib/python3/dist-packages/pip/req/req_file.py", line 84, in parse_requirements
        filename, comes_from=comes_from, session=session
      File "/usr/lib/python3/dist-packages/pip/download.py", line 425, in get_file_content
        'Could not open requirements file: %s' % str(exc)
    pip.exceptions.InstallationError: Could not open requirements file: [Errno 2] No such file or directory: 'requirements.txt'
    

from raisimexample.

jhwangbo avatar jhwangbo commented on August 20, 2024

Currently, only robots.py is working. You don't have to setup the examples. You can follow these steps

  1. install raisimlib and raisimpy following this link http://raisim.com/sections/Installation.html
  2. in your .bashrc, append install directory to PYTHONPATH. (e.g., export PYTHONPATH=$PYTHONPATH:/lib)
  3. go to raisimlib/raisimPy/examples and run robots.py

from raisimexample.

kashifzr avatar kashifzr commented on August 20, 2024

Thanks Jhwangbo

from raisimexample.

Related Issues (4)

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.