brian.motors.motor_limits package

Module contents

brian.motors.motor_limits.UNLIMITED_ACCELERATION: int

Maximum available acceleration limit (disables speed ramping)

brian.motors.motor_limits.UNLIMITED_TORQUE: int

Maximum available torque limit

brian.motors.motor_limits.UNLIMITED_POWER: int

Maximum available power limit

class brian.motors.motor_limits.MotorLimits

Bases: object

A class to manage and configure the limits of a motor.

property battery_power: int

Query the power draw limit.

Returns:

Battery power consumption limit, in milli-watts.

property torque: int

Query the torque limit.

Returns:

Maximum torque that will be applied to the motor axle, in milli-newton-meters.

property acceleration: int

Query the maximum acceleration limit.

Returns:

Maximum acceleration in degrees per second squared.