Motor PID

Motor PID#

module:

navground.core.behavior_modulations

A modulation that control motor torques using a PID.

Requires that the behavior has a DynamicTwoWheelsDifferentialDriveKinematics kinematics.

Registered properties:

  • k_p (see k_p, default 1)

  • k_d (see k_d, default 0)

  • k_i (see k_i, default 0)

Construct a new instance

Parameters:
  • k_p – The P factor

  • k_i – The I factor

  • k_d – The D factor

Type:

float

The d factor.

Type:

float

The p factor.

Type:

float

The p factor.