From 1cd513024a37c26a12da358752747466aec70cb8 Mon Sep 17 00:00:00 2001 From: Jie Tan Date: Wed, 5 Apr 2017 11:54:54 -0700 Subject: [PATCH] make the URDF and the minitaur.py consistent with the real robot --- data/quadruped/minitaur.urdf | 76 +++++++++++++------------- examples/pybullet/examples/minitaur.py | 2 +- 2 files changed, 39 insertions(+), 39 deletions(-) diff --git a/data/quadruped/minitaur.urdf b/data/quadruped/minitaur.urdf index 663ff2a84..fa4bc2d37 100644 --- a/data/quadruped/minitaur.urdf +++ b/data/quadruped/minitaur.urdf @@ -32,7 +32,7 @@ - + @@ -59,7 +59,7 @@ - + @@ -229,7 +229,7 @@ - + @@ -248,17 +248,17 @@ - + - + - + @@ -272,10 +272,10 @@ - + - + @@ -340,36 +340,7 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + @@ -392,6 +363,35 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/pybullet/examples/minitaur.py b/examples/pybullet/examples/minitaur.py index 1db778237..59fab3bf1 100644 --- a/examples/pybullet/examples/minitaur.py +++ b/examples/pybullet/examples/minitaur.py @@ -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()