RobotUIKit API
|
Modal view controller that allows the user to calibrate the Sphero heading. More...
#import <RUICalibrationViewController.h>
Public Member Functions | |
(IBAction) | - done |
(void) | - layoutPortrait |
(void) | - layoutLandscape |
Properties | |
IBOutlet RUICalibrationView * | calibrationView |
id< RKRobotControlProtocol > | robotControl |
This view controller puts the robot into calibration mode and presents the user with a wheel that they can use to rotate the Sphero without moving it. The new heading is used to orient the Sphero's orientation relative to that of the controllers.
- (IBAction) done |
The action to be executed when the user has finished calibrating the robot.
- (void) layoutLandscape |
Should be implemented in subclass to layout view in portrait.
Implements RUIModalLayerViewController.
- (void) layoutPortrait |
Should be implemented in subclass to layout view in landscape.
Implements RUIModalLayerViewController.
- (IBOutlet RUICalibrationView*) calibrationView [read, write, retain] |
The calibration view used to rotate the Sphero.
- (id< RKRobotControlProtocol >) robotControl [read, write, assign] |
The robot control that is used to communicate with the robot.