RobotUIKit API
Public Member Functions | Properties
RUICalibrationViewController Class Reference

Modal view controller that allows the user to calibrate the Sphero heading. More...

#import <RUICalibrationViewController.h>

Inheritance diagram for RUICalibrationViewController:
RUIModalLayerViewController <RUICalibrationViewDelegate>

List of all members.

Public Member Functions

(IBAction) - done
(void) - layoutPortrait
(void) - layoutLandscape

Properties

IBOutlet RUICalibrationViewcalibrationView
id< RKRobotControlProtocol > robotControl

Detailed Description

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.


Member Function Documentation

- (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.


Property Documentation

- (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.


The documentation for this class was generated from the following file:
 All Classes Functions Properties