Files
pyrobolearn/pyrobolearn/tools
2019-04-29 04:09:43 +02:00
..
2019-04-29 04:09:43 +02:00
2019-04-17 16:36:03 +02:00
2019-03-27 15:23:33 +01:00
2019-03-18 08:18:46 +01:00

Tools

This folder the interfaces and the bridges.

  • The I/O interfaces get (or set) the data from (to) the hardware, process it, and store it inside the class.
  • The bridges makes the connection between the interface and a component (such as the world or an element in that world such as a robot) in the framework.

The separation between interfaces and bridges allows for better flexibility. For instance, a game controller interface allows us to get data from the hardware, process it, and store it inside the class. The bridge can then map the specific controller events to a robot. Moving a joystick up could mean to move a UAV robot up in the air, or move a wheeled robot forward.

While few bridges are already provided in the framework, most of them are let to the user to implement them.

TODO:

  • clean few interfaces
  • provide other interfaces (FER, google assistant and/or alexa, etc.)
  • provide different bridges