I's like to simulate the behaviour of Dynamixel Pro's robot actuator, including the control table, please see it here.
I can simulate the robot actuator fine, but simulating the control table is a bit puzzling for me. The control table has address from 0 - 892.
One way I can think of doing this is to setup variables from _0 - _892, and populate them with corresponding values. Bt requires a large amount of getters and setters.
Another way is to use array address[892], and populate the corresponding values. But with array, I'm not sure if it is possible to limit read/write only entries.
Is there another way that I missed out to accomplish handling large variables that I am facing now?