sonelu / roboglia

Robotics framework
GNU General Public License v3.0
0 stars 1 forks source link

Device initialisation #37

Closed sonelu closed 4 years ago

sonelu commented 4 years ago

Device initialisation should be controlled from the robot definition file instead of being a read all registers affair.

If you have 20 servos and each had 30 registers it will take 600 read calls that could take over 4 seconds to execute, if not more.

The init in the device definition should be also used to control the registers that are only read during the open process of the device.