####################################################### # # Setting up LPZ robots and gorobots # # Maintainer: Leon Bonde Larsen # Mail: # # This guide was tested Nov 11 2014 # Updated 2015-10-18 by Leon: Changed repositories # Updated 2016-09-21 by Theis: Various additions # # Assuming a clean install of Ubuntu 14.04 or 16.04 # ####################################################### Short step-by-step guide for anyone having problems with getting the hexapod simulation from lpzrobots/gorobots to work for AI3: 1. Open a new terminal. 2. Create a new directory under your home directory: $ mkdir workspace 3. Go into the new workspace folder: $ cd workspace 4. Install git: $ sudo apt-get install git 5. Clone repositories $ git clone https://github.com/pmanoonpong/gorobots_edu.git $ git clone https://github.com/pmanoonpong/lpzrobots.git 6. Install dependencies: $ sudo apt-get install g++ make automake libtool xutils-dev m4 libreadline-dev libgsl0-dev libglu-dev libgl1-mesa-dev freeglut3-dev libopenscenegraph-dev libqt4-dev libqt4-opengl libqt4-opengl-dev qt4-qmake libqt4-qt3support gnuplot gnuplot-x11 libncurses5-dev libgl1-mesa-dev 7. Update path: $ export PATH=/home//bin:$PATH $ source ~/.bashrc 8. Build LPZ robots: $ cd lpzrobots $ make all -j4 9. When asked where to install it, say: /home/ 10. When asked if you want developer mode (d), say 'd' and confirm with 'y' 10a.You might be asked for your sudo password during the compile time. 11. Make symbolic link to the library $ sudo ln -sf /home//workspace/lpzrobots/opende/ode/src/.libs/libode_dbl.so.1 /lib/libode_dbl.so.1 12. Compile gorobots $ cd ~/workspace $ cp lpzrobots/ode_robots/simulations/template_amosii/Makefile gorobots_edu/practices/amosii $ cd gorobots_edu/practices/amosii $ make $ ./start You should now have a window with the hexapod simulation running. If the window is black, press RETURN To drop the robot into the environment, press 'x'