FBDeviceSamplingMode Class Reference

FBDeviceSamplingMode Class Reference

#include <mobu-python-api.h>

Class Description

Recording types.

The different values for this will control the way the keys are added when the device is being recorded. There are four different types of recording keys for devices:

  • Hardware Timestamping. This case is when the hardware provides timestamps with each packet.
  • Hardware Frequency. The hardware is guaranteed to provide packets at a given frequency.
  • Auto Frequency Packets are coming in at a fixed, unknown frequency. The recorded data will be resampled to be equidistant.
  • Software Timestamping. The application will provide a timestamp for each packet depending on when it receives the data.
+ Inheritance diagram for FBDeviceSamplingMode:

Public Attributes

object kFBHardwareTimestamp
 Device supplies timestamp. More...
 
object kFBHardwareFrequency
 Device is running at known, fixed frequency. More...
 
object kFBAutoFrequency
 Device is running at unknown, fixed frequency. More...
 
object kFBSoftwareTimestamp
 The software will timestamp packets as they arrive. More...
 

Member Data Documentation

object kFBAutoFrequency

Device is running at unknown, fixed frequency.

object kFBHardwareFrequency

Device is running at known, fixed frequency.

object kFBHardwareTimestamp

Device supplies timestamp.

object kFBSoftwareTimestamp

The software will timestamp packets as they arrive.