I use the standard URDF-model for modeling car:
https://github.com/bulletphysics/bullet ... cecar.urdf
I want my car to go, for example, at a speed of 20 in the direction straight.
I can deliver
Code: Select all
p.resetBaseVelocity(car, [20, 0, 0])
Code: Select all
linearVelocity, angularVelocity = p.getBaseVelocity (car)
print(linearVelocity)
And I tried it to run this machine on an infinite plane as in the example. But the maximum that I managed to achieve is about (5, 0, 0) or (2, 0, 0), but I want linearVelocity (20, 0, 0). I tried to change
Code: Select all
<Limit effort = "10" velocity = "100" />
How can I change the urdf model or give, please, an example, a simple example of a model that can travel at high speeds.
I can of course do it artificially
Code: Select all
linearVelocity[0] = linearVelocity[0] * 2
linearVelocity[1] = linearVelocity[1] * 2
linearVelocity[2] = linearVelocity[2] * 2
p.resetBaseVelocity (my_car, linearVelocity)