next up previous
Next: Embedded voice recognition Up: A quick glance around Previous: Building the drivers

Application source code.

The main real time application file is robot.c. In this file, it can be found the two application threads, moverobot and controller. The first thread is listening from a fifo. Every time the user sends a move command, the thread generates the correct references in order to make it. The second thread runs the controller that tries to achieve references established by the first thread(moverobotthread). Let's take a look to two main functions needed to move the robot: the trajectory generator and the PID controller.
next up previous
Next: Embedded voice recognition Up: A quick glance around Previous: Building the drivers
Josep Vidal Canet 2003-04-24