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 maximum speed limit.
Returns:
Maximum speed in degrees per second.
torque
Set the maximum speed limit.
Arguments:
deg_per_sec
: Maximum speed in degrees per second.
acceleration
Query the maximum acceleration limit.
Returns:
Maximum acceleration in degrees per second squared.