Tested on the real robot (with servo off)
With this change, I am able to make repeated calls for reading and writing PD gains for a long time without crashing.
Originally, this is not possible because it involves opening/closing iob at each PD gain call, which makes the system to crash after some iterations.
Tested on the real robot (with servo off)
With this change, I am able to make repeated calls for reading and writing PD gains for a long time without crashing.
Originally, this is not possible because it involves opening/closing iob at each PD gain call, which makes the system to crash after some iterations.