RobotKit API
RobotKit/RKDriveAlgorithm.h
Go to the documentation of this file.
00001 //
00002 //  RKDriveAlgorithm.h
00003 //  RobotKit
00004 //
00005 //  Copyright 2010 Orbotix Inc. All rights reserved.
00006 //
00007 
00008 #import <Foundation/Foundation.h>
00009 
00020 @interface RKDriveAlgorithm : NSObject {
00021     @private
00022     double  angle;
00023     double  correctionAngle;
00024     double  velocity;
00025     double  velocityScale;
00026     double  stopOffset;
00027     
00028     double  windowDeltaForCoord1;
00029     double  windowDeltaForCoord2;
00030     double  windowDeltaForCoord3;
00031     
00032     id      target;
00033     SEL     action;
00034 }
00035 
00039 @property (nonatomic, assign) double angle;
00040 
00045 @property (nonatomic, assign) double correctionAngle;
00046  
00050 @property (nonatomic, assign) double velocity;
00051 
00053 @property (nonatomic, assign) id target;
00054 
00056 @property (nonatomic, assign) SEL action;
00057 
00062 @property (nonatomic, assign) double velocityScale;
00063 
00067 @property (nonatomic, assign) double stopOffset;
00068 
00070 @property (nonatomic, assign) double windowDeltaForCoord1;
00071 
00073 @property (nonatomic, assign) double windowDeltaForCoord2;
00074 
00076 @property (nonatomic, assign) double windowDeltaForCoord3;
00077 
00078 
00085 - (void)convertWithCoord1:(double)coord1 coord2:(double)coord2 coord3:(double)coord3;
00086 
00091 - (void)performConversionFinishedAction;
00092 
00093 @end
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties