Task Abstraction Module

From IridiaWiki
Jump to navigationJump to search

Task Abstraction Module

Related pages

How-to cite

Will change soon.

  Author =      {Arne Brutschy and Giovanni Pini and Nadir Baiboun and Antal Decugni{\`e}re and Mauro Birattari},
  Title =       {The {IRIDIA} \textsf{TAM}: A device for task abstraction for the e-puck robot},
  Institution = {IRIDIA, Universit\'e Libre de Bruxelles},
  Year =        {2010},
  Number =      {TR/IRIDIA/2010-015},
  Address =     {Brussels, Belgium},

Sources/GIT repositories

The coordinator


Write a controller


The Firmware


Flash a TAM



Problems with librxtxSerial.so

Check that the link in the "coordinator" directory is pointing to the correct version. Example for a 32 bits pc:

 librxtxSerial.so -> libs-dist/rxtx-2.2pre2-bins/i686-pc-linux-gnu/librxtxSerial.so

Could not find port: /dev/ttyUSB0

Check that you have a file /dev/ttyUSB0 or /dev/ttyUSB1 and change the setting in the main of the experiment.

Check that you have permission to read from them, e.g.:

 cat /dev/ttyUSB0

should not give a "denied" message

In case you don't, add yourself to the correct group. Also, you can try doing

 chmod 666 /dev/ttyUSB0

Connect to the right coordinator

Check the pins on the TAM. The diagram can be confusing: the black dot is where the pin should be. For example, to use coordinator 1, the pins should be like this:

 X =
 = =
 = X

Where X is the pin and = means empty