diff options
Diffstat (limited to 'include/xas')
-rw-r--r-- | include/xas/seq.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/include/xas/seq.h b/include/xas/seq.h index 74b198f..3aece2f 100644 --- a/include/xas/seq.h +++ b/include/xas/seq.h @@ -11,6 +11,8 @@ enum xas_seq_event_type { XAS_SEQ_EVENT_OFF, XAS_SEQ_EVENT_ON, XAS_SEQ_EVENT_SET_POSITION, + XAS_SEQ_EVENT_SET_HEADING, + XAS_SEQ_EVENT_SET_SPEED, XAS_SEQ_EVENT_SET_GAIN, XAS_SEQ_EVENT_SET_FREQUENCY, XAS_SEQ_EVENT_SET_BANK_INDEX, @@ -35,8 +37,10 @@ struct _xas_seq_event { struct timeval timestamp; union { - float gain; xas_spatial_coord point; + xas_spatial_coord heading; + float speed; + float gain; size_t index; size_t frequency; const char *phrase; @@ -70,6 +74,16 @@ int xas_seq_add_set_position(xas_seq *seq, struct timeval timestamp, xas_spatial_coord point); +int xas_seq_add_set_heading(xas_seq *seq, + xas_spatial_object *object, + struct timeval timestamp, + xas_spatial_coord heading); + +int xas_seq_add_set_speed(xas_seq *seq, + xas_spatial_object *object, + struct timeval timestamp, + float speed); + int xas_seq_add_set_gain(xas_seq *seq, xas_spatial_object *object, struct timeval timestamp, |