Struct TopicStatusParams

Struct Documentation

struct TopicStatusParams

Utility class with various predefined topic diagnostic parameters.

Public Types

typedef ::cras::SimpleTopicStatusParamNoHeader NoHeaderParam

The type of parameters for topics without a header.

typedef ::cras::SimpleTopicStatusParamWithHeader HeaderParam

The type of parameters for topics with header.

Public Static Attributes

static constexpr NoHeaderParam _1Hz = {1, 1}

1 Hz headerless topic, rate tolerance 10%, window size 5 updates

static constexpr HeaderParam delayed1Hz = {1, 1}

1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

static constexpr HeaderParam fast1Hz = {1, 1, 0.1, 5, -1, 0.1}

1 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs

static constexpr NoHeaderParam _10Hz = {10, 10}

10 Hz headerless topic, rate tolerance 10%, window size 5 updates

static constexpr HeaderParam delayed10Hz = {10, 10}

10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

static constexpr HeaderParam fast10Hz = {10, 10, 0.1, 5, -1, 0.1}

10 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs

static constexpr NoHeaderParam _100Hz = {100, 100}

100 Hz headerless topic, rate tolerance 10%, window size 5 updates

static constexpr HeaderParam delayed100Hz = {100, 100}

100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 5 secs

static constexpr HeaderParam fast100Hz = {100, 100, 0.1, 5, -1, 0.1}

100 Hz topic with header, rate tolerance 10%, window size 5 updates, delay -1 to 0.1 secs