RobotKit API
|
Class that contains all the sample frames objects from a streaming data packet. More...
#import <RKDeviceSensorsAsyncData.h>
Properties | |
NSUInteger | frameCount |
NSUInteger | mask |
NSArray * | dataFrames |
Objects of this class are generated asynchronously from data sent by Sphero and are distributed to observers who register with the RKDeviceMessenger singleton. The data streaming is inititated using RKSetDataStreamingCommand using a mask to specify the sensor data to send, the rate in which to send data, and the number of samples to send in each packet. This class provides this data in an array of RKDeviceSensorData objects for the sensor data requested.
- (NSArray*) dataFrames [read, assign] |
An array of RKDeviceSensorData objects with each sample frame returned.
- (NSUInteger) frameCount [read, assign] |
Number of sample frames returned in the packet.
- (NSUInteger) mask [read, assign] |
The mask used to enable what data to include in the data.