The Simulation view is a graphic display done with OpenGL that shows the route of the robot.
You need to install two libraries: freeglut and mesa.
On Debian or Ubuntu:
sudo apt install libgl1-mesa-dev freeglut3-dev
On Arch:
sudo pacman -S mesa freeglut
Clone the git repositry.
Use make
to compile the code.
./view xInitialValue yInitialValue initialAngle xRobotSize yRobotSize
The lengths are in meter and the angle is in degree.
wip
The BMP files used as textures and loaded by the function:
GLuint loadBMP_custom(const char * imagepath);
need to be 24 bit bitmpas.
You can convert your image with the command line convert
or on online-converting.