longer track

master
mcarfagno 2020-07-01 15:06:10 +01:00
parent f7a46f2ead
commit 7aad961721
1 changed files with 0 additions and 3 deletions

View File

@ -19,9 +19,6 @@ track = p.loadURDF("plane.urdf")
#otherCar = p.loadURDF("f10_racecar/racecar_differential.urdf", [0,1,.3]) #otherCar = p.loadURDF("f10_racecar/racecar_differential.urdf", [0,1,.3])
car = p.loadURDF("f10_racecar/racecar_differential.urdf", [0,0,.3]) car = p.loadURDF("f10_racecar/racecar_differential.urdf", [0,0,.3])
for wheel in range(p.getNumJoints(car)): for wheel in range(p.getNumJoints(car)):
print("joint[",wheel,"]=", p.getJointInfo(car,wheel)) print("joint[",wheel,"]=", p.getJointInfo(car,wheel))
p.setJointMotorControl2(car,wheel,p.VELOCITY_CONTROL,targetVelocity=0,force=0) p.setJointMotorControl2(car,wheel,p.VELOCITY_CONTROL,targetVelocity=0,force=0)