playback_messages.h

Go to the documentation of this file.
00001 /*********************************************************
00002  *
00003  * This source code is part of the Carnegie Mellon Robot
00004  * Navigation Toolkit (CARMEN)
00005  *
00006  * CARMEN Copyright (c) 2002 Michael Montemerlo, Nicholas
00007  * Roy, and Sebastian Thrun
00008  *
00009  * CARMEN is free software; you can redistribute it and/or 
00010  * modify it under the terms of the GNU General Public 
00011  * License as published by the Free Software Foundation; 
00012  * either version 2 of the License, or (at your option)
00013  * any later version.
00014  *
00015  * CARMEN is distributed in the hope that it will be useful,
00016  * but WITHOUT ANY WARRANTY; without even the implied 
00017  * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
00018  * PURPOSE.  See the GNU General Public License for more 
00019  * details.
00020  *
00021  * You should have received a copy of the GNU General 
00022  * Public License along with CARMEN; if not, write to the
00023  * Free Software Foundation, Inc., 59 Temple Place, 
00024  * Suite 330, Boston, MA  02111-1307 USA
00025  *
00026  ********************************************************/
00027 
00029 // @{
00030 
00038 #ifndef    CARMEN_PLAYBACK_MESSAGES_H
00039 #define    CARMEN_PLAYBACK_MESSAGES_H
00040 
00041 #ifdef __cplusplus
00042 extern "C" {
00043 #endif
00044 
00045 #define    CARMEN_PLAYBACK_COMMAND_PLAY         0
00046 #define    CARMEN_PLAYBACK_COMMAND_STOP         1
00047 #define    CARMEN_PLAYBACK_COMMAND_RESET        2
00048 #define    CARMEN_PLAYBACK_COMMAND_FORWARD      3
00049 #define    CARMEN_PLAYBACK_COMMAND_REWIND       4
00050 #define    CARMEN_PLAYBACK_COMMAND_FWD_SINGLE   5
00051 #define    CARMEN_PLAYBACK_COMMAND_RWD_SINGLE   6
00052 #define    CARMEN_PLAYBACK_COMMAND_SET_SPEED    7
00053 
00054 typedef struct {
00055   int cmd, arg;
00056   float speed;
00057 } carmen_playback_command_message;
00058 
00059 #define CARMEN_PLAYBACK_COMMAND_NAME     "carmen_playback_command"
00060 #define CARMEN_PLAYBACK_COMMAND_FMT      "{int,int,float}"
00061 
00062 
00063 #ifdef __cplusplus
00064 }
00065 #endif
00066 
00067 #endif
00068 
00069 // @}
00070 

Generated on Wed Apr 5 18:34:18 2006 for CARMEN by  doxygen 1.4.4