RobotKit API
|
00001 // 00002 // RKTiltDriveAlgorithm.h 00003 // RobotKit 00004 // 00005 // Copyright 2010 Orbotix Inc. All rights reserved. 00006 // 00007 00008 #import <Foundation/Foundation.h> 00009 #import <RobotKit/RKDriveAlgorithm.h> 00010 #import <UIKit/UIApplication.h> 00011 00021 @interface RKTiltDriveAlgorithm : RKDriveAlgorithm { 00022 @private 00023 double orientationAngle; 00024 } 00025 00027 @property (nonatomic, readonly) double maximumTilt; 00031 @property (nonatomic, assign) double orientationAngle; 00032 00038 - (id)initWithOrientation:(UIInterfaceOrientation)orientation; 00039 00040 @end