Stores information about a specific motor on the robot.
#import <CBMotorParameters.h>
Properties | |
double | stepsPerRadian |
Gets or sets the number of motor steps per radian for this motor. |
Public Member Functions | |
(id) | - initWithStepsPerRaidan: |
Initializes this CBMotorParameters object with the given parameters. |
Static Public Member Functions | |
(CBMotorParameters *) | + motorParametersWithStepsPerRadian: |
Returns a CBMotorParameters initialized with the specified parameters. |
|
readwritenonatomicassign |
Gets or sets the number of motor steps per radian for this motor.
You should only need to change this value if you replace one of the robot's motors with a custom one.
- (id) initWithStepsPerRaidan: | (double) | steps |
Initializes this CBMotorParameters object with the given parameters.
+ (CBMotorParameters *) motorParametersWithStepsPerRadian: | (double) | steps |
Returns a CBMotorParameters initialized with the specified parameters.