Giter Club home page Giter Club logo

Comments (10)

farzadab avatar farzadab commented on August 15, 2024 2

Hi,
There shouldn't be any problems for downloading the package, but someone has noted that the package doesn't work on other versions of Ubuntu, so I wouldn't waste my time on it.
Alternatively, I have a docker version to avoid these problems (the link to the Dockerfile). Installing it should be pretty straightforward, with the instuctions, but it might take a lot of time to compile everything.

from terrainrlsim.

farzadab avatar farzadab commented on August 15, 2024 2

The deb package, puts executables in your /usr/bin, so ./TerrainRL becomes TerrainRL, and the same for the optimizer.
But if you had actually compiled everything from scratch, the executable would have been in the directory x64/Release of your TERRAINRL_PATH.

from terrainrlsim.

whx0822 avatar whx0822 commented on August 15, 2024

Hi,

Thank you for the tool. But I cannot download it from the DropBox. Are there some problems?
Thanks.

from terrainrlsim.

whx0822 avatar whx0822 commented on August 15, 2024

Hi,
Thanks for your kindly reply.
I have successfully downloaded the file. I follow the instruction (https://github.com/UBCMOCCA/TerrainRLSim) first. After the "make config=release64" instruction, I cannot find any executable files. Then I follow your instruction(#1). After that, I still cannot find any executable files. When I run "python3 simAdapter/terrainRLSimTest.py", I got the follow error message "KeyError: 'TERRAINRL_PATH'".
Could you give me some hints? Many thanks in advance.

Thanks.

from terrainrlsim.

farzadab avatar farzadab commented on August 15, 2024

The .deb file doesn't include the Python bindings. You need to follow the build instructions #6:

cd simAdapter/
sudo apt-get install swig3.0 python3-dev python3-pip -y
./gen_swig.sh
cd ../

Then install the Python library:

export TERRAINRL_PATH=<path_to_terrainRL>
## better set this in your "~/.bashrc"
pip3 install --user -v -e $TERRAINRL_PATH

Sorry for the inconvenience, I wanted to add these bindings as well, but since it turned out that the .deb file doesn't work correctly, I just gave up on it.

from terrainrlsim.

whx0822 avatar whx0822 commented on August 15, 2024

Hi,
Thank you so much. Now I can use the environment in Python. I wonder how I could generate the two executable files even if I have followed the build instructions and no error message occur.
By the way, I happen to see a great paper(https://arxiv.org/pdf/1804.06424.pdf) about the environment. For beginners like me, it could be useful.

Thanks.

from terrainrlsim.

Neo-X avatar Neo-X commented on August 15, 2024

:) I don't know if it is that great of a paper but thanks! The build instructions are not too complicated but they have mostly been tested/used on Ubuntu 16.04.

from terrainrlsim.

whx0822 avatar whx0822 commented on August 15, 2024

@Neo-X Hi, after I follow the instructions, I cannot get the two executable files. It would be highly appreciated if you could give me some hints about that problem?

Thanks.

from terrainrlsim.

Neo-X avatar Neo-X commented on August 15, 2024

@whx0822 Which instructions are you referring to? The build instructions or the deb package?

from terrainrlsim.

whx0822 avatar whx0822 commented on August 15, 2024

Thanks @Neo-X @farzadab . I have found the two executable files @farzadab. I follow the build instructions.
Thank you for you guys.

from terrainrlsim.

Related Issues (9)

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.