RobotKit API
|
00001 // 00002 // RKJoyStickDriveAlgorithm.h 00003 // RobotKit 00004 // 00005 // Copyright 2010 Orbotix Inc. All rights reserved. 00006 // 00007 00008 #import <Foundation/Foundation.h> 00009 #import <CoreGraphics/CGGeometry.h> 00010 00011 #import <RobotKit/RKDriveAlgorithm.h> 00012 00023 @interface RKJoyStickDriveAlgorithm : RKDriveAlgorithm { 00024 @private 00025 CGSize size; 00026 CGPoint center; 00027 } 00028 00030 @property (nonatomic, readonly) CGPoint center; 00031 00038 - (id)initWithPadSize:(CGSize)size; 00043 - (void)updatePadSize:(CGSize)size; 00044 00045 @end