Rantanplan: a not so stupid pathfinder... Watch on youtube

Team

Files

Description

Rantanplan is a LEGO Mindstorms Robot. Its name origins from the most stupid dog in the wild west as known from Lucky Luke comics. But there are at least two things that Rantanplan is good at: following a track with its sniffing nose and avoiding to crush into a rock while doing so (at least most of the time).

Most implementations of pathfinder robots have a fixed "nose". This results in a strange movement behaviour. That means that the robot has to frequently move left and right to check if the track changes its direction.

We try to get a smoother movement behaviour by building a moveable sensor that keeps track of the path and informs the steering about a change of direction.

Furthermore we want be able to handle barriers that are on the path by moving around them. Then Rantanplan has to find the path again after it got around the barrier.

Prototype

So far we built a prototype that implements a moving color sensor and the drive of the robot.

Concurrent Task Model

On top of Rantanplan resists a revolving ultrasound sensor that checks for barriers. Because we have more than three motors (one Brick got three jacks for motors) we have to establish communication between two bricks with a distinct sensor port that can be configured to be used as a RS-485 port.

One brick (A) controls the path tracking and the movement the second brick (B) controls the ultrasound sensor. Brick A periodically polls for a barrier and sends direction updates to the ultrasound sensor.

Flowchart

full size download