Today we looked more closely at how to move robots while avoiding obstacles in their path. We started with an introduction to a model of the e-puck robot inside the Webots robot simulator. We looked at a program that built on yesterday's mybot program to avoid obstacles, but runs on the e-puck robot instead of the mybot.

We discovered that the simulated robots run much faster on the simulator than the physical robots. We adjusted the speed of the robots and tried different trajectories with them.
Then, we worked on using the pen on the simulated e-puck robot to make the robot draw patterns on the ground inside the simulator. We will use this program in tomorrow's (Wed) class by attaching Sharpie pens to the physical robots to make trails and draw patterns on paper.
In the latter part of the class, we wrote a program on how to work with the LEDs on the e-puck
robot. The e-puck robot has a ring of 8 red LEDs around it. It also has
an orange colored front LED and a green colored body LED. We wrote a
small program to turn one or two LEDs on and off in a blinking fashion.
Then we worked on a more complex program that does a basic robot 'dance'
- it blinks the LEDs around the robot one after the other, and finally
blinks the front and body LEDs, while moving the robot forwards,
backwards and sideways.
Tomorrow, we will continue work on the robot dance and start working on making patterns on paper with e-puck robots.
No comments:
Post a Comment