RobotKit API
Public Member Functions | Properties
RKTiltDriveAlgorithm Class Reference

Implementation of tilt bassed drive control from accelerometer data. More...

#import <RKTiltDriveAlgorithm.h>

Inheritance diagram for RKTiltDriveAlgorithm:
RKDriveAlgorithm

List of all members.

Public Member Functions

(id) - initWithOrientation:

Properties

double maximumTilt
double orientationAngle

Detailed Description

Drive Algorithm for using the tilt of the device to control direction and speed using accelerometer data. The stopOffset property is read as radians from the device setting flat.


Member Function Documentation

- (id) initWithOrientation: (UIInterfaceOrientation)  orientation

Initializer for the class, which takes the iOS device orientation into account.

Parameters:
orientationThe iOS device orientation.
Returns:
The initialized object.

Property Documentation

- (double) maximumTilt [read, assign]

Maximum tilt angle in radians used to clamp angle values to

- (double) orientationAngle [read, write, assign]

An angle that represents the yaw orientation of the iOS device. This angle can be used as an offset for the heading.


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