MipResources Namespace Reference

This namespace includes all classes related to resources. More...


Classes

struct  laserScanStr
class  KheperaServerROSOptions
 Options for the khepera server program. More...
class  KheperaServerROSPars
 Parameters for khepera software. More...
class  KheperaServerROS
 Khepera Interface using ROS libraries. More...
class  CameraOptions
 Options for for the camera. More...
class  CameraPar
 Mandatory parameters of all cameras. More...
class  CameraVar
 Mandatory variables of all cameras. More...
class  Camera
 abstract Camera class. More...
class  CameraCVDOptions
 Options for for the camera CVD. More...
class  CameraCVDVar
 Variable class for libCVD based cameras. More...
class  CameraCVD
 Class for video cameras that need libCVD. More...
class  CameraRosOptions
 Options for for the cameraPlayer. More...
class  CameraROSPar
class  CameraROS
 Video Camera for ROS camera nodes. More...
class  CommNode
 Represents the sender or the recipient of a packet. More...
class  CommPacket
 Communication packet. More...
class  CommModulePar
 Represents the fundamental parameters of an abstract communication module. More...
class  CommModuleVar
 Represents the fundamental variables an abstract communication module. More...
class  CommModule
 abstract communication module More...
class  DirectStreamCommModuleOptions
 Options class for DirectStreamCommModule. More...
class  DirectStreamCommModule
 Direct stream specification of CommModule. More...
class  IPCommModuleOptions
 Options class for IPCommModuleOptions. More...
class  IPCommModule
 IP specification of CommModule. More...
class  YellowPage
 Single communication IP channel data. More...
class  YellowPages
 vector of YellowPage More...
class  DraWinVar
 DraWin variables. More...
class  DraWin
 "Abstract" resource DraWin More...
class  DraWinGLOptions
  More...
class  DraWinGLPerspective
  More...
class  DraWinGLLookAt
  More...
class  DraWinGLButtons
  More...
class  DraWinGLVar
  More...
class  DraWinGL
 window. More...
class  DraWinBoundBox
 DraWin bounding box, represents 2D margins of the drawing scene. More...
class  ColorComponent
 A color component. More...
class  Color
 A color in rgb. More...
class  Colors
 Some predefined colors. More...
class  DraWinObj
class  CmdDraWinObj
class  FigDraWinObj
class  Point2D
 Drawable point. More...
class  Points2D
 List of drawable points. More...
class  Polygon2D
 2D poligon. More...
class  Segment2D
 2D segment. More...
class  Disk2D
 2D anulus. More...
class  MobileRob2D
 2D MobileRob More...
class  Khepera2D
 2D MobileRob More...
class  Quad3D
 Quadcopter in 3D. More...
class  Parallelepiped3D
class  HLine2D
 2D Half line More...
class  CmdBB2D
 Bounding box command, set the bounding box of a draw scene. More...
class  CovEllipse2D
 2D Cavariance ellipse defined by a 2x2 covariance matrix. More...
class  DraWinQtSceneOptions
class  DraWinQt2D
class  DraWinGLWindow
 the DraWinGL widget. More...
class  ExternScanMatchOptions
 Options for for the external scan matching resource. More...
class  ExternScanMatch
 Makes available the use of scan mathching algorithm which runs on external executables (like csm). More...
class  GroundSensPar
 parameters of an Abstract Range-sensor More...
class  GroundSens
 Abstract Ground-sensor. More...
class  TCRT5000GroundPar
 represents the parameters of a Player range sensor More...
class  TCRT5000Ground
 represents an Player/Stage ground sensor More...
class  ImuPar
 parameters of an Abstract IMU More...
class  ImuVar
 represents the variables of a IMU 3D More...
class  Imu
 Abstract IMU sensor. More...
class  Imu_sensorOptions
 Options for for the Imu_sensor. More...
class  Imu_sensorPar
 Mandatory parameters of all Imu_sensors. More...
class  Imu_sensorVar
class  Imu_sensor
 classes which represent an Imu_sensor (inertial - measurement - unit) More...
class  Keyboard
 Provides a simple interface for the keyboard. More...
class  KheperaIII
class  MobileRobOptions
 Options for the mobile robot. More...
class  MobileRobPar
 Mandatory parameters of all mobile robots. More...
class  MobileRobVar
 Mandatory variables of all mobile robots. More...
class  MobileRob
 Abstract mobile robot. More...
class  MRControlInput
 This class represents the control input of a mobile unycycle robot. More...
class  MRControlInputs
 This class represents a vector of control inputs of a mobile unycycle robot. More...
class  OfflineMR
class  RemoteKheperaPar
 Specific parameters of RemoteKhepera. More...
class  RemoteKheperaVar
 Specific variables of RemoteKhepera. More...
class  RemoteKheperaOptions
 Options for the mobile robot khepera. More...
class  RemoteKhepera
 Provides an interface for and IP connection with a remote mobile robot task. More...
class  RemoteRobPar
 Specific parameters of RemoteRob. More...
class  RemoteRobVar
 Specific variables of RemoteRob. More...
class  RemoteRob
 Provides an interface for and IP connection with a remote mobile robot task. More...
class  MobileRob3DOptions
 Options for the mobile robot. More...
class  MobileRob3DPar
 represents the fundamental params an abstract mobile robot More...
class  MobileRob3DVar
 represents the fundamental vars of an abstract mobile robot More...
class  MobileRob3D
 represents an abstract mobile robot in 3D More...
class  KorebotPar
 Represents the parameters of a Korebot Unicycle. More...
class  KorebotVar
 Represents the variables of a Korebot Unicycle. More...
class  Korebot
 Represents an Koremotor differential drive. More...
class  KorebotROSPar
 Represents the parameters of a KorebotROS Unicycle. More...
class  KorebotROSVar
 Represents the variables of a KorebotROS Unicycle. More...
class  KorebotROS
 Represents an Koremotor differential drive. More...
class  MotionModuleOptions
 Options of the MotionModule. More...
class  MotionModulePar
 General parametes of an unycicle. More...
class  MotionModule
 Unycicle Motion Module (Pure virtual). More...
class  UnicyclePar
class  UnicycleVar
class  Unicycle
class  DiffDrivePar
 General parametes of a differential drive. More...
class  DiffDriveVar
 General variables of an DiffDrive. More...
class  DiffDrive
 Differential drive Motion Module (Pure virtual). More...
class  RemoteMotionModulePar
 Represents the parameters of a remote motion module. More...
class  RemoteMotionModuleVar
 Represents the variables of a remote motion module. More...
class  RemoteMotionModule
 Represents a motion module on a remote device. More...
class  WebotsDiffDrivePar
 Represents the parameters of a WebotsDiffDrive. More...
class  WebotsKoremotPar
 Represents the parameters of a WebotsDiffDrive. More...
class  WebotsDiffDriveVar
 Represents the variables of a WebotsDiffDrive. More...
class  WebotsDiffDrive
 Represents a Webots differential drive. More...
class  WebotsKoremot
 Represents a Webots Khepera differential drive. More...
class  MotionModule3DPar
 represents the fundamental par an abstract unycicle3D motion model/module More...
class  MotionModule3DVar
 represents the foundamental var of an abstract unycicle motion model/module More...
class  MotionModule3D
 abstract 3D Motion Module More...
class  Unicycle3DPar
class  Unicycle3DVar
class  Unicycle3D
class  FlightModulePar
 represents the fundamental parameters of an abstract flight model/module More...
class  FlightModuleVar
 represents the fundamental variables of an abstract flight model/module More...
class  FlightModule
 abstract Motion Module for flying robots More...
class  PositionDetectorPar
 parameters of an Abstract GPS More...
class  PositionDetectorVar
 represents the variables of a Position Detector More...
class  PositionDetector
 Abstract GPS sensor. More...
class  PositionDetector3DPar
 parameters of an Abstract GPS More...
class  PositionDetector3DVar
 represents the variables of a Position Detector 3D More...
class  PositionDetector3D
 Abstract GPS sensor. More...
class  RangeSensOptions
 Options for for the generic range sensor. More...
class  RangeSensPar
 parameters of an Abstract Range-sensor More...
class  RangeSensmmPar
 parameters of an Abstract Range-sensor More...
class  RangeSens
 Abstract Range-sensor. More...
class  RemoteRangeSensPar
 Represents the parameters of a remote range sensor. More...
class  RemoteRangeSens
 Represents a range sensor on a remote device. More...
class  TCRT5000Par
 represents the parameters of a Player range sensor More...
class  TCRT5000
 represents an Player/Stage range sensor More...
class  URG04LXConst
 rapresents consant parameters of a URG04LX range sensor More...
class  URG04LXCommand
 rapresents the commands of a URG04LX range sensor More...
class  URG04LXInfo
 represents some info about a URG04LX range sensor More...
class  URG04LXPar
 represents the parameters of a URG04LX range sensor More...
class  URG04LX
 represents a URG04LX range sensor More...
class  URG04LXmmConst
 rapresents consant parameters of a URG04LXmm range sensor More...
class  URG04LXmmCommand
 rapresents the commands of a URG04LX range sensor More...
class  URG04LXmmInfo
 represents some info about a URG04LX range sensor More...
class  URG04LXmmPar
 represents the parameters of a URG04LX range sensor More...
class  URG04LXmm
 represents a URG04LX range sensor More...
class  RemoteDeviceOptions
 Options for for the a remote device. More...
class  RemoteDevice
 Provides an interface for bidirectional connection with a remote device. More...
class  Resource
 abstract Resource class More...
class  ResourceUtilities
 utility functions for Resources More...
class  ROSNodeOptions
 Options of the ROSNode. More...
class  ROSNode
 This resource represents a ROS node and handles all the topics. More...
class  SharedMem
 This class represents a memory block shared by all tasks. More...
class  asctecUavOptions
class  asctecUavPar
 Represent parameters of AscTec asctec flying robots. More...
class  asctecUavVar
 Represent variables of AscTec asctec flying robots. More...
class  asctecUav
 Implementation of an AscTec asctec flying robot. More...
class  HummingBirdUavOptions
class  HummingBirdUavPar
 Represent parameters of AscTec HummingBird flying robots. More...
class  HummingBirdUavVar
 Represent variables of AscTec HummingBird flying robots. More...
class  HummingBirdUav
 Implementation of an AscTec HummingBird flying robot. More...
class  HummingBirdUavComm
 Implements methods for communication with AscTec HummingBird. More...
class  dataUav
class  sonarUav
 Class to represent all measurements for a UAV, associated with time. More...
class  attitudeUav
 Class to represent attitude of an UAV (roll and pitch are mandatory, yaw is optional), associated with time. More...
class  velocityUav
 Class to represent the velocity of an UAV in a 3D environment, associated with time. More...
class  OfflineUav
 Class to get all data from an offline UAV quadrotor. More...
class  UavOptions
 Options for for the mobile robot. More...
class  UavPar
 represents the fundamental params an abstract flying robot More...
class  UavVar
 represents the fundamental vars of an abstract uav More...
class  Uav
 represents an abstract mobile robot More...

Typedefs

typedef vector< CommPacket * > CommBox
 A vector of pointers to CommPacket.
typedef pair< string, CommNodeCommStoredPacketString
 Association between a string and a CommNode.
typedef vector< DraWinObj * > DraWinList
 Vector of drawable objects.
typedef vector< DraWinListDraWinLists
 Vector of lists.
typedef vector< Resource * > ResourcePointers
typedef vector< Resource ** > ResourcePPointers
typedef Resourcecreate_resource (int argc, const char *argv[])
typedef void destroy_resource (Resource *)
typedef vector< ResourcePlateResourcePlates
typedef struct vector
< Position2DArma
camObs

Enumerations

enum  { RIGHT, LEFT, NUM_WHEELS }
enum  CommRateTypes { FIXED, VARIABLE, NUM_COMM_RATE_TYPES }
enum  IPProtocol { TCP, UDP, PROTOCOL_NUM }
enum  DraWinObjPlate {
  DRA_WIN_OBJ_NULL, DRA_WIN_OBJ_POINT_2D, DRA_WIN_OBJ_POINTS_2D, DRA_WIN_OBJ_POLYGON_2D,
  DRA_WIN_OBJ_SEG_2D, DRA_WIN_OBJ_DISK_2D, DRA_WIN_OBJ_MOBROB_2D, DRA_WIN_OBJ_KHEPERA_2D,
  DRA_WIN_OBJ_QUAD_3D, DRA_WIN_OBJ_PAR_3D, DRA_WIN_OBJ_HLINE_2D, DRA_WIN_OBJ_CMD_BB_2D,
  DRA_WIN_OBJ_COV_ELLIPSE_2D, DRA_WIN_OBJ_NUM
}
 DraWinObj plates. More...
enum  RemoteKheperaCommPacketsTypes {
  RK_CONNECTION_REQUEST, RK_CONNECTION_ACK, RK_CONNECTION_END, RK_SET_STATE,
  RK_VEL_COMMAND, RK_STATE, RK_CORRECTED_STATE, RK_SCAN,
  RK_COMM_PACKETS_TYPES_NUM
}
 Contains the packets for the Remote Khepera Mobile Robot UDP communication. More...
enum  scanWorkState { _FIRST_SCAN, _NORMAL_SCAN, _SCAN_WORK_STATE_NUM }
enum  FSMSstates {
  sendSingle, sendMulti, searchAnswer, getTime,
  receive, storeData, parse, storeScan,
  reset, waitEcho, waitScan, recovery,
  escape
}
enum  ResourcePlate {
  NULL_RES, MM_INIT, MM_KOR_RES, MM_KORROS_RES,
  MM_PLAY_RES, MM_WEBKM_RES, MM_END, MM3D_INIT,
  MM3D_PLAY_RES, MMFM_PLAY_RES, MM3D_END, RS_INIT,
  RS_PLAY_RES, RS_URG_RES, RS_TCRT_RES, RS_REM_RES,
  RS_END, MR_INIT, MR_KHIII_RES, MR_PLAY_RES,
  MR_REM_RES, MR_REM_KHP_RES, MR_END, MR3D_INIT,
  MR3D_PLAY_RES, MR3D_END, UAV_INIT, UAV_PLAY_RES,
  UAV_HUBI_RES, UAV_SWSIM_RES, UAV_CYBUAV_RES, UAV_SWHIV_RES,
  UAV_MKK_RES, UAV_END, CAM_INIT, CAMERA_RES,
  CAM_PLAY_RES, CAM_CVD_RES, CAM_ROS_RES, CAM_END,
  PD_INIT, PD_PLAY_RES, PD_END, PD3D_INIT,
  PD3D_PLAY_RES, PD3D_END, IMU3D_INIT, IMU3D_PLAY_RES,
  IMU3D_END, IMU_SENSOR_INIT, IMU_SENSOR_PLAY_RES, IMU_SENSOR_END,
  DW_INIT, DW_GL_RES, DW_END, CM_INIT,
  CM_IP_RES, CM_DS_RES, CM_END, KEYBOARD_RES,
  SHMEM_RES, SCNM_RES, REM_DEV_RES, HAP_INIT,
  HAP_OMEGA6_RES, HAP_END, ROS_NODE_RES, RESOURCE_NUM
}
 id which identifies every possible resource More...
enum  ROSiFaceMessageTypes {
  ROSIFACE_TYPE_NAV_MSGS_ODOMETRY, ROSIFACE_TYPE_STD_MSGS_HEADER, ROSIFACE_TYPE_STD_MSGS_INT32, ROSIFACE_TYPE_GEOMETRY_MSGS_POINT,
  ROSIFACE_TYPE_GEOMETRY_MSGS_POINTSTAMPED, ROSIFACE_TYPE_STD_STRING, ROSIFACE_TYPE_SENSOR_IMU, ROSIFACE_TYPE_GEOMETRY_VECTOR3STAMPED,
  ROSIFACE_TYPE_GEOMETRY_MSGS_TWIST, ROSIFACE_TYPE_SENSOR_LASERSCAN, ROSIFACE_TYPE_SENSOR_RANGE, ROSIFACE_TYPE_SENSOR_IMAGE,
  ROSIFACE_TYPE_SENSOR_CAMERAINFO
}
 types of ROS messages supported by the ROSiFace interface. More...
enum  UavModes {
  UAV_FREE_MODE, UAV_POSITION_MODE, UAV_VELOCITY_MODE, UAV_ACCELERATION_MODE,
  UAV_MODE_NUM
}
 Enumerates the control modes of a Uav. More...

Functions

void IPWork (void *p)
 callback for thread
void IPClean (void *p)
 clean the continuous scan process (for thread)
void GLWork (void *p)
 scan callback for thread
void GLClean (void *p)
 clean the continuous scan process (for thread)
void smWork (void *sm)
 callback for thread
void smClean (void *p)
 clean the continuous scan process (for thread)
static void _mobileRobMotionWork (void *p)
 work callback for motion thread
static void _mobileRobMotionClean (void *p)
 clean the continuous scan process (for thread)
void RKWork (void *p)
 callback for thread
void RKClean (void *p)
 clean the continuous scan process (for thread)
void RRWork (void *p)
 callback for thread
void RRClean (void *p)
 clean the continuous scan process (for thread)
void simuWork (void *p)
 scan callback for thread
void simuClean (void *p)
 clean the continuous scan process (for thread)
static void scanWork (void *p)
 scan callback for thread
static void scanClean (void *p)
 clean the continuous scan process (for thread)
static void scanSendingWork (void *p)
 scan callback for thread
void RDWork (void *p)
 callback for thread
void RDClean (void *p)
 clean the continuous scan process (for thread)

Variables

static const char * IPProtocolNames [PROTOCOL_NUM]
static const char * draWinObjNames [DRA_WIN_OBJ_NUM]
 DraWinObj names.
static DraWinGLdraWinGL
static GLint fase = 1
static bool active = true
static int winId = 0
static GLint FPS = 10
static struct timeval fpsT1 fpsT2
static int moving
static int xBegin
static int yBegin
static int newModel = 1
static int deltaX = 0
static int deltaRX = 0
static int deltaY = 0
static int deltaZ = 0
static const char * RemoteKheperaCommPacketsNames [RK_COMM_PACKETS_TYPES_NUM]
 Contains the names of the packets for the Remote Khepera Mobile Robot UDP communication.
static const char * ResourceNames [RESOURCE_NUM]
 Resource names.
static const char * UavModesNames [UAV_MODE_NUM]


Detailed Description

This namespace includes all classes related to resources.

Typedef Documentation

typedef Resource* MipResources::create_resource(int argc, const char *argv[])

Vector of resource plates

Author:
Antonio Franchi


Enumeration Type Documentation

anonymous enum

Enumerator:
RIGHT 
LEFT 
NUM_WHEELS 

Enumerator:
FIXED 
VARIABLE 
NUM_COMM_RATE_TYPES 

id which identifies every possible resource

Enumerator:
NULL_RES 
MM_INIT 
MM_KOR_RES 
MM_KORROS_RES 
MM_PLAY_RES 
MM_WEBKM_RES 
MM_END 
MM3D_INIT 
MM3D_PLAY_RES 
MMFM_PLAY_RES 
MM3D_END 
RS_INIT 
RS_PLAY_RES 
RS_URG_RES 
RS_TCRT_RES 
RS_REM_RES 
RS_END 
MR_INIT 
MR_KHIII_RES 
MR_PLAY_RES 
MR_REM_RES 
MR_REM_KHP_RES 
MR_END 
MR3D_INIT 
MR3D_PLAY_RES 
MR3D_END 
UAV_INIT 
UAV_PLAY_RES 
UAV_HUBI_RES 
UAV_SWSIM_RES 
UAV_CYBUAV_RES 
UAV_SWHIV_RES 
UAV_MKK_RES 
UAV_END 
CAM_INIT 
CAMERA_RES 
CAM_PLAY_RES 
CAM_CVD_RES 
CAM_ROS_RES 
CAM_END 
PD_INIT 
PD_PLAY_RES 
PD_END 
PD3D_INIT 
PD3D_PLAY_RES 
PD3D_END 
IMU3D_INIT 
IMU3D_PLAY_RES 
IMU3D_END 
IMU_SENSOR_INIT 
IMU_SENSOR_PLAY_RES 
IMU_SENSOR_END 
DW_INIT 
DW_GL_RES 
DW_END 
CM_INIT 
CM_IP_RES 
CM_DS_RES 
CM_END 
KEYBOARD_RES 
SHMEM_RES 
SCNM_RES 
REM_DEV_RES 
HAP_INIT 
HAP_OMEGA6_RES 
HAP_END 
ROS_NODE_RES 
RESOURCE_NUM 


Function Documentation

void MipResources::GLClean ( void *  p  ) 

clean the continuous scan process (for thread)

void MipResources::GLWork ( void *  p  ) 

scan callback for thread

void MipResources::IPClean ( void *  p  ) 

clean the continuous scan process (for thread)

void MipResources::IPWork ( void *  p  ) 

callback for thread

static void MipResources::scanClean ( void *  p  )  [static]

clean the continuous scan process (for thread)

static void MipResources::scanSendingWork ( void *  p  )  [static]

scan callback for thread

static void MipResources::scanWork ( void *  p  )  [static]

scan callback for thread

void MipResources::simuClean ( void *  p  ) 

clean the continuous scan process (for thread)

void MipResources::simuWork ( void *  p  ) 

scan callback for thread

void MipResources::smClean ( void *  p  ) 

clean the continuous scan process (for thread)

void MipResources::smWork ( void *  sm  ) 

callback for thread


Variable Documentation

bool MipResources::active = true [static]

int MipResources::deltaRX = 0 [static]

int MipResources::deltaX = 0 [static]

int MipResources::deltaY = 0 [static]

int MipResources::deltaZ = 0 [static]

GLint MipResources::fase = 1 [static]

GLint MipResources::FPS = 10 [static]

struct timeval fpsT1 MipResources::fpsT2 [static]

int MipResources::moving [static]

int MipResources::newModel = 1 [static]

const char* MipResources::ResourceNames[RESOURCE_NUM] [static]

Resource names.

int MipResources::winId = 0 [static]

int MipResources::xBegin [static]

int MipResources::yBegin [static]


Generated on Mon Feb 20 07:01:12 2017 for MIP by  doxygen 1.5.6