Home Webots
Post
Cancel
Webots

Webots

This project was made to carry out the simulation of the Challenge related to the Robotics and Autonomous Systems Laboratory to act as an undergraduate intern at SENAI CIMATEC.

The challenge was to develop an autonomous system that presents abilities to recognize the environment through sensors, providing an adequate autonomous navigation. For this we use the WeBots simulator, an open-source platform to develop robots!!

The robot’s mission will be to arrive in the region with a lamp, which is next to a STOP sign. The region starts right after the sign towards the lamp. The robot must always start near the START board.

The path

The path was performed in 1 minute and 11 seconds in total. The explanation can be seen below:

  1. For the robot to stop at the indicated location, a lightsensor has been added to its extensionSlot.

  2. A maximum value has been set for the light sensor, which indicates when it should stop.

  3. The sensors have been initialized and the weights that each sensor has in relation to the robot movement selected.

  4. In the simulation loop, its values were then read and the robot started moving forward.

  5. Then, if the light sensor reading is greater than or equal to the set value, the robot stops (we arrived at the lamp).

  6. If you haven’t reached the goal yet, evaluate the weights of the sensors, deviate from the goals and go forward.

  7. Steps 5 and 6 store as assigned chosen in a vector, so that it is only later assigned to the motor pair.

All code can be found in the repository by following the link.

Development team


Project Summary

  1. Category: Mobile Robotics
  2. Start date: December/2020
  3. End date: December/2020
This post is licensed under CC BY 4.0 by the author.