Aegidius
 Plüss   Aplulogo
     
 www.aplu.ch      Print Text 
© 2021, V10.4
 
  FtController
 
 

 


Second example

Purpose: The Industry Robot II kit provides a wonderful mean to demonstrate the concept of "Learning robots". This kind of robots is used in many modern manufacturing processes. The idea is the following: Using some kind of handheld input device (keyboard, mouse, specially designed steering pad, etc.) an "expert" pilots the robot in a training session to perform the desired action. Each action is registered by a computer. When the training session is over, the robot, now steered by the computer, takes the role of his teacher to repeat the same duty (faster and with no exhaustion).

In a classical scenario the robot moves 3 stacked cylinders (like barrels) from one place to another. During the training session, the motor buttons are used and the position and speed saved by clicking the Save button. The information is sampled line-per-line in the file named ftlearningrobot.dat. Because of using step switches, only relative positions are reported. Therefore it is necessary to start all movements from a well-defined starting (home) position, when the end switches are pressed.

  FtCommand

Execute FtLearingRobot using WebStart.
If the execution fails, check the system requirements (see above)

Discussion: When the Run button is pressed, the stored session is performed once, when Repeat is pressed, the process restarts until the Stop button is pressed (Run button changes to Stop button). As an obvious student's project the robot could be skilled to perform the almost endless work of the Indian monks to move the Tower of Hanoi.

The source code is included in the FtController distribution.

 

Relax and see the robot moving three barrels...