The Robot Application Programming Interface Delegate Project
RAPID Logo

CommandConstants.idl

Go to the documentation of this file.
00001 /*
00002  * Copyright (c) 2009 United States Government as represented by the
00003  * Administrator of the National Aeronautics and Space Administration.
00004  * All Rights Reserved.
00005  */
00006 
00007 #include "BaseTypes.idl"
00008 
00023 module rapid {
00024 
00025     //   For a sample command, define the command key:
00026     //
00027     //     const String32 COMMAND = "Command";
00028     //
00029     //   Next, define a method on the command:
00030     //
00031     //     const String32 COMMAND_METHOD_FOO = "foo";
00032     //
00033     //   Finally, define method parameters:
00034     //
00035     //     const String32 COMMMAND_METHOD_FOO_PARAM_BAR = "fooParam1";
00036     //     const String32 COMMMAND_METHOD_FOO_DTYPE_BAR = RAPID_FLOAT;
00037 
00052     const String32 ADMIN = "Admin";
00053 
00055     const String32 ADMIN_METHOD_ECHO = "echo";
00056 
00058     const String32 ADMIN_METHOD_ECHO_PARAM_ECHOTEXT = "echoText";
00059     const DataType ADMIN_METHOD_ECHO_DTYPE_ECHOTEXT = RAPID_STRING;
00060 
00062     const String32 ADMIN_METHOD_SHUTDOWN = "shutdown";
00063 
00065     const String32 ADMIN_METHOD_NOOP = "noOp";
00066 
00068     const String32 ADMIN_METHOD_SETPOSITIONSAMPLEPUBLISHRATE = "setPositionSamplePublishRate";
00069 
00071     const String32 ADMIN_METHOD_SETPOSITIONSAMPLEPUBLISHRATE_PARAM_POSERATE = "positionSamplePublishRate";
00072 
00074     const DataType ADMIN_METHOD_SETPOSITIONSAMPLEPUBLISHRATE_DTYPE_POSERATE = RAPID_FLOAT;
00075 
00077     const String32 ADMIN_METHOD_SETJOINTSAMPLEPUBLISHRATE = "setJointSamplePublishRate";
00078 
00080     const String32 ADMIN_METHOD_SETJOINTSAMPLEPUBLISHRATE_PARAM_JOINTSAMPLERATE = "jointSampleRate";
00081 
00083     const DataType ADMIN_METHOD_SETJOINTSAMPLEPUBLISHRATE_DTYPE_JOINTSAMPLERATE = RAPID_FLOAT;
00084 
00094     const String32 IMAGESENSOR = "ImageSensor";
00095 
00097     const String32 IMAGESENSOR_METHOD_REQSENSORSTATE = "reqSensorState";
00098 
00100     const String32 IMAGESENSOR_METHOD_REQSENSORSTATE_PARAM_SENSORNAME = "sensorName";
00101 
00103     const DataType IMAGESENSOR_METHOD_REQSENSORSTATE_DTYPE_SENSORNAME = RAPID_STRING;
00104 
00106     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE = "imageAcquire";
00107 
00108     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_CAMERA_NAME = "cameraName";
00109     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_CAMERA_NAME = RAPID_STRING;
00110 
00112     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_CAMERA_TYPE = "cameraType";
00113     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_CAMERA_TYPE = RAPID_STRING;
00114 
00116     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_CAMERA_MIME_TYPE = "mimeType";
00117     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_CAMERA_MIME_TYPE = RAPID_STRING;
00118 
00119     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_PAN = "pan";
00120     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_PAN = RAPID_FLOAT;
00121     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_TILT = "tilt";
00122     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_TILT = RAPID_FLOAT;
00123     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_ZOOM = "zoom";
00124     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_ZOOM = RAPID_FLOAT;
00125     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_HFOV = "hFOV";
00126     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_HFOV = RAPID_FLOAT;
00127     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_VFOV = "vFOV";
00128     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_VFOV = RAPID_FLOAT;
00129 
00131     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_COLORTYPE = "colorType";
00132     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_COLORTYPE = RAPID_STRING;
00133 
00135     const String32 IMAGESENSOR_METHOD_IMAGEACQUIRE_PARAM_CAPTURE = "captureType";
00136     const DataType IMAGESENSOR_METHOD_IMAGEACQUIRE_DTYPE_CAPTURE = RAPID_STRING;
00137 
00138     const String32 IMAGESENSOR_COLOR_TYPE_COLOR     = "color";
00139     const String32 IMAGESENSOR_COLOR_TYPE_GRAYSCALE = "grayscale";
00140 
00141     const String32 IMAGESENSOR_CAPTURE_STREAMING   = "streaming";
00142     const String32 IMAGESENSOR_CAPTURE_SINGLE_SHOT = "singleImage";
00143     const String32 IMAGESENSOR_CAPTURE_MULTI_SHOT  = "multiImage";
00144 
00145     const String32 IMAGESENSOR_CAMERA_TYPE_WEBCAM   = "webcam";
00146     const String32 IMAGESENSOR_CAMERA_TYPE_DSLR     = "dslr";
00147     const String32 IMAGESENSOR_CAMERA_TYPE_GIGAPAN  = "gigapan";
00148 
00160     const String32 MOBILITY = "Mobility";
00161 
00163     const String32 MOBILITY_METHOD_STOPALLMOTION = "stopAllMotion";
00164 
00165     const String32 MOBILITY_METHOD_SIMPLEMOVE = "simpleMove";
00166     const String32 MOBILITY_METHOD_SIMPLEMOVE_PARAM_FRAME_NAME   = "frameName";
00167     const DataType MOBILITY_METHOD_SIMPLEMOVE_DTYPE_FRAME_NAME   = RAPID_STRING;
00168     const String32 MOBILITY_METHOD_SIMPLEMOVE_PARAM_END_LOCATION = "xyz";
00169     const DataType MOBILITY_METHOD_SIMPLEMOVE_DTYPE_END_LOCATION = RAPID_VEC3d;
00170     const String32 MOBILITY_METHOD_SIMPLEMOVE_PARAM_END_LOCATION_TOLERANCE = "xyzTolerance";
00171     const DataType MOBILITY_METHOD_SIMPLEMOVE_DTYPE_END_LOCATION_TOLERANCE = RAPID_VEC3d;
00172 
00173     const String32 MOBILITY_METHOD_SIMPLEMOVE6DOF = "simpleMove6DOF";
00174     const String32 MOBILITY_METHOD_SIMPLEMOVE6DOF_PARAM_FRAME_NAME   = "frameName";
00175     const DataType MOBILITY_METHOD_SIMPLEMOVE6DOF_DTYPE_FRAME_NAME   = RAPID_STRING;
00176     const String32 MOBILITY_METHOD_SIMPLEMOVE6DOF_PARAM_END_LOCATION = "xyz";
00177     const DataType MOBILITY_METHOD_SIMPLEMOVE6DOF_DTYPE_END_LOCATION = RAPID_VEC3d;
00178     const String32 MOBILITY_METHOD_SIMPLEMOVE6DOF_PARAM_END_LOCATION_TOLERANCE = "xyzTolerance";
00179     const DataType MOBILITY_METHOD_SIMPLEMOVE6DOF_DTYPE_END_LOCATION_TOLERANCE = RAPID_VEC3d;
00180     const String32 MOBILITY_METHOD_SIMPLEMOVE6DOF_PARAM_ROT = "rot";
00181     const DataType MOBILITY_METHOD_SIMPLEMOVE6DOF_DTYPE_ROT = RAPID_MAT33f;
00182 
00183     const String32 MOBILITY_METHOD_MOVE = "move";
00184 
00185     const String32 MOBILITY_METHOD_MOVE_PARAM_FRAME_NAME = "frameName";
00186     const DataType MOBILITY_METHOD_MOVE_DTYPE_FRAME_NAME = RAPID_STRING;
00187 
00189     const String32 MOBILITY_METHOD_MOVE_PARAM_END_LOCATION = "xyt";
00190     const DataType MOBILITY_METHOD_MOVE_DTYPE_END_LOCATION = RAPID_VEC3d;
00191 
00196     const String32 MOBILITY_METHOD_MOVE_PARAM_END_LOCATION_TOLERANCE = "xytTolerance";
00197     const DataType MOBILITY_METHOD_MOVE_DTYPE_END_LOCATION_TOLERANCE = RAPID_VEC3d;
00198 
00200     const String32 MOBILITY_METHOD_MOVE_PARAM_HINTED_SPEED = "hintedSpeed";
00201     const DataType MOBILITY_METHOD_MOVE_DTYPE_HINTED_SPEED = RAPID_FLOAT;
00202 
00203     const String32 MOBILITY_METHOD_MOVE_PARAM_NAV_ALGO     = "navAlgo";
00204     const DataType MOBILITY_METHOD_MOVE_DTYPE_NAV_ALGO     = RAPID_STRING;
00205 
00206     const String32 MOBILITY_METHOD_MOVE6DOF = "move6DOF";
00207     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_FRAME_NAME   = "frameName";
00208     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_FRAME_NAME   = RAPID_STRING;
00209     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_END_LOCATION = "xyz";
00210     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_END_LOCATION = RAPID_VEC3d;
00211     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_END_LOCATION_TOLERANCE = "xyzTolerance";
00212     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_END_LOCATION_TOLERANCE = RAPID_VEC3d;
00213     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_ROT          = "rot";
00214     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_ROT          = RAPID_MAT33f;
00215 
00217     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_HINTED_SPEED = "hintedSpeed";
00218     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_HINTED_SPEED = RAPID_FLOAT;
00219     const String32 MOBILITY_METHOD_MOVE6DOF_PARAM_NAV_ALGO     = "navAlgo";
00220     const DataType MOBILITY_METHOD_MOVE6DOF_DTYPE_NAV_ALGO     = RAPID_STRING;
00221 
00223     const String32 NAV_ALGO_SAFE  = "RAPID_NAV_SAFE";
00224     const String32 NAV_ALGO_BLIND = "RAPID_NAV_BLIND";
00225 
00227     const String32 FRAME_NAME_UTM    = "RAPID_UTM_FRAME";
00228     const String32 FRAME_NAME_SITE   = "RAPID_SITE_FRAME";
00229     const String32 FRAME_NAME_ROVER  = "RAPID_ROVER_FRAME";
00230 
00243     const String32 QUEUE = "Queue";
00244 
00246     const String32 QUEUE_METHOD_CANCELCURRENTTASK = "cancelCurrentTask";
00247 
00249     const String32 QUEUE_METHOD_CANCELALL = "cancelAll";
00250 
00252     const String32 QUEUE_METHOD_DELETEALL = "deleteAll";
00253 
00255     const String32 QUEUE_METHOD_SUSPENDONCOMPLETE = "suspendOnCompletion";
00256 
00258     const String32 QUEUE_METHOD_RESUME = "resume";
00259 
00271     const String32 ACCESSCONTROL = "AccessControl";
00272 
00274     const String32 ACCESSCONTROL_METHOD_REQUESTCONTROL = "requestControl";
00275 
00277     const String32 ACCESSCONTROL_METHOD_GRABCONTROL = "grabControl";
00278 
00280     const String32 ACCESSCONTROL_METHOD_RELEASECONTROL = "releaseControl";
00281 
00283     const String32 ACCESSCONTROL_METHOD_TRANSFERCONTROL = "transferControl";
00284 
00285     const String32 ACCESSCONTROL_METHOD_TRANSFERCONTROL_PARAM_RECIPIENT = "controlRecipient";
00286 
00287     const DataType ACCESSCONTROL_METHOD_TRANSFERCONTROL_DTYPE_RECIPIENT = RAPID_STRING;
00288 
00304     const String32 RAFT = "RAFT";
00305 
00307     const String32 RAFT_METHOD_PARAM_UUID = "uuid";
00308     const DataType RAFT_METHOD_DTYPE_UUID = RAPID_STRING;
00309 
00311     const String32 RAFT_METHOD_PARAM_PRIORITY = "priority";
00312     const DataType RAFT_METHOD_DTYPE_PRIORITY = RAPID_FLOAT;
00313 
00315     const String32 RAFT_METHOD_PARAM_KEY = "key";
00316     const DataType RAFT_METHOD_DTYPE_KEY = RAPID_STRING;
00317 
00319     const String32 RAFT_METHOD_PARAM_VALUE = "value";
00320     const DataType RAFT_METHOD_DTYPE_VALUE = RAPID_STRING;
00321 
00323     const String32 RAFT_METHOD_PARAM_CHANNELID = "channelId";
00324     const DataType RAFT_METHOD_DTYPE_CHANNELID = RAPID_INT;
00325 
00327     const String32 RAFT_METHOD_PARAM_BANDWIDTHBPS = "bandwidthBps";
00328     const DataType RAFT_METHOD_DTYPE_BANDWIDTHBPS = RAPID_INT;
00329     const String32 RAFT_METHOD_PARAM_PREFETCHKBANDWIDTHBPS = "prefetchBandwidthBps";
00330     const DataType RAFT_METHOD_DTYPE_PREFETCHKBANDWIDTHBPS = RAPID_INT;
00331 
00333     const String32 RAFT_METHOD_PUTFILE = "putFile";
00334 
00336     const String32 RAFT_METHOD_PUTMATCHING = "putMatching";
00337 
00339     const String32 RAFT_METHOD_REMOVEFILE = "removeFile";
00340 
00342     const String32 RAFT_METHOD_PAUSE = "pause";
00343 
00345     const String32 RAFT_METHOD_RESUME = "resume";
00346 
00348     const String32 RAFT_METHOD_SETBANDWIDTH = "setBandwidth";
00349 
00350 };
00351 
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines