Code

In this page, you can find instructions to download and compile our code, and then to use it on the robot.

Download the code

After being connected to the robot using bluetooth, wifi or usb, you need to use the following command:
git clone https://github.com/camcamcamcamcamcam/R0B0t_MAKING

Compile the code

To compile the code, you just need to use the following command in the folder 'client':
make test_final_algo_recursif

Initialize the robot

At the start of the program, the user will be asked to enter a few parameters.

1. The position of the arm must be adjusted. The user should indicate the current position of the robot's arm, which will then be automatically corrected. It is possible to adjust the position of the arm step by step. Typing 0 will define the position as definitive.
2. As for the arm, the user has to indicate the angle between the sonar and the axis of the robot. The head will automatically adjust its position.
3. The user must indicate the coordinates of the robot on the map : starting X position and starting Y position.

Now, the robot is ready to explore the arena. Let's make a beautiful map!

More details about our project

Visit our Github account

Github