|
RobotKit API
|
Interface to for classes to implement for controlling a robot. More...
#import <RKRobotControlProtocol.h>
Public Member Functions | |
| (void) | - startCalibration |
| (void) | - stopCalibrated: |
| (void) | - rotateToHeading: |
This protocol is used to control a robot. It's main responsibility is to provide high order control methods.
| - (void) rotateToHeading: | (float) | angle |
Method to rotate Sphero to a heading without moving the ball. Used during calibration.
| angle | A heading angle between 0° to 360° |
| - (void) startCalibration |
Starts the calibration mode for Sphero. This mainly sets up the calibration LED.
| - (void) stopCalibrated: | (BOOL) | calibrate |
Stop calibration mode for Sphero.
| calibrate | YES to calibrate for new heading, and NO to stop calibration without setting calibration on the ball. |
1.7.4