Skip to content

Latest commit

 

History

History
40 lines (27 loc) · 884 Bytes

README.md

File metadata and controls

40 lines (27 loc) · 884 Bytes

Simulation view

The Simulation view is a graphic display done with OpenGL that shows the route of the robot.

Installation

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.

Usage

./view xInitialValue yInitialValue initialAngle xRobotSize yRobotSize

The lengths are in meter and the angle is in degree.

wip

Caution

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.