---
title: "Summer fun "
date: "2019-08-05 23:08:46"
lastupdate: "2019-08-05 23:08:46"
banner: "/proxyPhotos?code=/blog/bob-ross/5d48815ab4448/50.jpg"
slug: "summer-fun"
description: " 
Mohamed and Matthieu were particularly motivated during July.
"
---
Mohamed and Matthieu were particularly motivated during July.
Our goal was to create an autonomous robot for our future attending to Les trophées de robotiques 2020.
We wanted to make a robot able to localize itself on the playground and to go to given coordinates. Moreover we waned this robot to be modular so as to allow us to add 
features needed for the competition which rules are unknown at the moment.

After a first CAD model, printed then built the robot :

<div class="image-mosaic">
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48816023b1b/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48810450b2e/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48810172895/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d4881242e9ee/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48814559d8d/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d4881315d0df/50.jpg" />
</div>

We then had to code it :
1. Understand how to get the information from the coding wheels.
2. Manage to compute the coordinates of the robot.
3. Use those data to give proper orders to the motor to reach our chosen target.

We brainstormed the theory about it all together :

<div class="flex">
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48815ab4448/50.jpg" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48b59b6747e/50.jpg" />
</div>
<div class="flex mt-1"> 
  <img src="/proxyPhotos?code=/blog/bob-ross/5d48815e32ff4/50.jpg" style="width: auto !important; height: 60vh;" />
  <img src="/proxyPhotos?code=/blog/bob-ross/5d488162e9f8f/50.jpg" style="width: auto !important; height: 60vh;" />
</div>

And then, Matthieu and Mohamed took the robot home ang worked on it on their own.

Here are their tries :

1. Coordinates are given to the robot and it reaches them.

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/1IQdwylobmM" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

2. A path, made of a list of coordinates, is given to the robot and it reaches them one after the other.

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/Fr7YTmzHqTs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

3. Some road blocks are settled on the ground, a path allowing to avoid them is given to the robot. The robot runs along the path back and forth.
You can see in the video that sometimes Matthieu has to push it a bit because the floor isn't leveled and is also a bit slippery.
Nevertheless, the robot always knows where it is and where it goes !

<iframe width="560" height="315" src="https://www.youtube-nocookie.com/embed/qbwBA8CfAfs" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>

Then the guys went on. Mohamed wrote a first code to allow the robot to compute itself its path knowing where the road blocks are.

<img src="/proxyPhotos?code=/blog/bob-ross/5d4881644bb9c/50.jpg">

During our last meeting in August, we brainstormed about the final design and the guys created a CAD model of it :

(Please be patient for the loading, it may be a bit long but it worth it !)

<iframe src="https://myhub.autodesk360.com/ue2afab22/shares/public/SH56a43QTfd62c1cd968c260ba012798be9f?mode=embed" width="800" height="600" allowfullscreen="true" webkitallowfullscreen="true" mozallowfullscreen="true"  frameborder="0"></iframe>

This is an incredible achievement in such a little time.
    