Drake
Event< T >::PeriodicAttribute Struct Reference

A token describing an event that recurs on a fixed period. More...

#include <systems/framework/event.h>

Collaboration diagram for Event< T >::PeriodicAttribute:
[legend]

Public Attributes

double period_sec {0.0}
 The period with which this event should recur. More...
 
double offset_sec {0.0}
 The time after zero when this event should first occur. More...
 

Detailed Description

template<typename T>
struct drake::systems::Event< T >::PeriodicAttribute

A token describing an event that recurs on a fixed period.

The events are triggered at time = offset_sec + i * period_sec, where i is a non-negative integer.

Member Data Documentation

double offset_sec {0.0}

The time after zero when this event should first occur.

double period_sec {0.0}

The period with which this event should recur.


The documentation for this struct was generated from the following file: