brian.motors.motor_limits
UNLIMITED_ACCELERATION
Maximum available acceleration limit (disables speed ramping)
UNLIMITED_TORQUE
Maximum available torque limit
UNLIMITED_POWER
Maximum available power limit
MotorLimits class objects
A class to manage and configure the limits of a motor.
battery_power
Query the power draw limit.
Returns:
Battery power consumption limit, in milli-watts.
battery_power
Set the power draw limit.
Arguments:
mw
: Maximum power allowed to draw from the battery, in milli-watts.
torque
Query the torque limit.
Returns:
Maximum torque that will be applied to the motor axle, in milli-newton-meters.
torque
Set the torque limit.
Arguments:
mNm
: Maximum torque that will be applied to the motor axle, in milli-newton-meters.
acceleration
Query the maximum acceleration limit.
Returns:
Maximum acceleration in degrees per second squared.