Day 191 – Mmmmmm. Yummy PyPot.

Hello,

It’s me Barney again! This time I am writing about motors. The S.A.R.T team ran into an issue with the motors constantly overloading and not going to the desired speeds. After a little troubleshooting, the issue was found. The pyax12 library doesn’t support the new MX-12w motors. I decided to replace the library with PyPot, a library which supports a wide range of motors.

PyPot is quite a useful library it seems, it allows us to limit the angles of motors when programming an arm or just have the motor be used as wheels for the robot. This is done through a configuration file.

The above JSON file is a configuration file made for the base of the Mk4. As you can see it is relatively simple and allows a fair bit of customisation in terms of motors. In particular, the angle limit feature would be very useful when using an arm. However, PyPot does not support all Dynamixel motors (Our arm uses xl430-w250-t motors). So S.A.R.T hasn’t been able to enjoy all the features, nonetheless PyPot is pretty neat.

We have updated our Servo_Party.py file for the MK4 to reflect the change in library:

 

Unfortunately due to personal circumstances, I will be leaving S.A.R.T for the remainder of the year. I may be rejoining next year, however, it all depends how a few things go.

Featured image is not owned by S.A.R.T, Ownership belongs to the developer(s) of PyPot.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.