### Doubts about setJointMotorControl2 implementation

Posted:

**Mon Oct 26, 2020 10:06 pm**Hi, first of all thanks for making this wonderful platform available.

I've been working on some car navigation problems for reinforcement learning. Before using PyBullet, I was using a kinematic system of differential equations (simplified bycicle model) to simulate the car motion.

From what I understand from the documentation, PyBullet seems to control a motor by defining a reference input position or velocity to the motor.

Of course, in the real world, when we define a reference velocity for a PID controller, for example, the actual velocity does not follow immediately the reference value (like the angular speed vs. time plot in figure attached).

PyBullet takes that into account? The simulation looks completely fine, I just need this information for documentation purposes.

Thank you.

I've been working on some car navigation problems for reinforcement learning. Before using PyBullet, I was using a kinematic system of differential equations (simplified bycicle model) to simulate the car motion.

From what I understand from the documentation, PyBullet seems to control a motor by defining a reference input position or velocity to the motor.

Of course, in the real world, when we define a reference velocity for a PID controller, for example, the actual velocity does not follow immediately the reference value (like the angular speed vs. time plot in figure attached).

PyBullet takes that into account? The simulation looks completely fine, I just need this information for documentation purposes.

Thank you.