RoMeLaUCLA / robot-player

A wrapper library with simple, easy-to-use interfaces for controlling robots.
8 stars 2 forks source link

Update to Python3 #11

Closed TMengi closed 6 years ago

TMengi commented 6 years ago

Here is the compatibility update for Python3. The changes are nothing big, mostly just adding parentheses to print statements.

Had to change the syntax for a couple of imports but they work the same way.

In Python3 xrange no longer exists. The Python3 range is equivalent to Python2 xrange, so I made that change.

I tested the single and double joint simulations in vrep and everything works like before.

update: I have also made changes to the dxl tests and the timer_test files. Same fixes with changing print statements. For timer_test, the queue package changed it's name from a capital Queue to lower case queue.

danielasun commented 6 years ago

same as the other one, let's merge to develop instead of directly to master.