Closed AlexS28 closed 5 years ago
Hi Alex, these are pretty good. My last comment is could you include a test script or two that demonstrates the functionality that you added so that we use it for troubleshooting/test drive your new code?
Hi Alex, these are pretty good. My last comment is could you include a test script or two that demonstrates the functionality that you added so that we use it for troubleshooting/test drive your new code?
I added the torque control test file, basically a low torque test then a high torque test for both positive and negative directions.
-Added a torque control function (input position and goal effort) -Added some miscellaneous functions (such as receiving present voltage, effort limit, goal accelerations). More may be added if needed. -Added a torque_conversion_equation function (converts units of Nm to Amps and vice versa). If only units of dxl are desired, this option can also be chosen. -Modified control table, added some more variables to the dxlpro class such as Present Voltage etc. Added a dictionary for the dxlpro class that lists the values required for the linear equations used in the torque_conversion_equation function.