make the URDF and the minitaur.py consistent with the real robot

This commit is contained in:
Jie Tan
2017-04-05 11:54:54 -07:00
parent ac91896025
commit 1cd513024a
2 changed files with 39 additions and 39 deletions

View File

@@ -34,7 +34,7 @@ class Minitaur:
self.maxForce = 3.5
self.nMotors = 8
self.motorIdList = []
self.motorDir = [1, 1, 1, 1, 1, 1, 1, 1]
self.motorDir = [-1, -1, -1, -1, 1, 1, 1, 1]
self.buildJointNameToIdDict()
self.buildMotorIdList()