RobotKit API
Public Member Functions
<RKRobotControlProtocol> Protocol Reference

Interface to for classes to implement for controlling a robot. More...

#import <RKRobotControlProtocol.h>

List of all members.

Public Member Functions

(void) - startCalibration
(void) - stopCalibrated:
(void) - rotateToHeading:

Detailed Description

This protocol is used to control a robot. It's main responsibility is to provide high order control methods.


Member Function Documentation

- (void) rotateToHeading: (float)  angle

Method to rotate Sphero to a heading without moving the ball. Used during calibration.

Parameters:
angleA 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.

Parameters:
calibrateYES to calibrate for new heading, and NO to stop calibration without setting calibration on the ball.

The documentation for this protocol was generated from the following file:
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties