RobotKit API
RobotKit/RKAttitudeData.h
Go to the documentation of this file.
00001 //
00002 //  RKIMUData.h
00003 //  RobotKit
00004 //
00005 //  Created by Brian Smith on 7/12/11.
00006 //  Copyright 2011 Orbotix Inc. All rights reserved.
00007 //
00008 
00011 #import <Foundation/Foundation.h>
00012 #import <RobotKit/RKSensorData.h>
00013 
00020 typedef struct  {
00021     BOOL pitchValid; 
00022     BOOL rollValid;  
00023     BOOL yawValid;   
00024 } RKAttitudeState;
00025 
00026 
00036 @interface RKAttitudeData : RKSensorData {
00037     float pitch;
00038     float roll;
00039     float yaw;
00040     
00041     RKAttitudeState state;
00042 }
00043 
00045 @property (nonatomic, readonly) float pitch;
00047 @property (nonatomic, readonly) float roll;
00049 @property (nonatomic, readonly) float yaw;
00051 @property (nonatomic, readonly) RKAttitudeState state;
00052 
00053 @end
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties