rec::robotino::api2 C interface
Com.h
Go to the documentation of this file.
1 // Copyright (C) 2004-2008, Robotics Equipment Corporation GmbH
2 
3 #ifndef _REC_ROBOTINO_API2_C_COM_H_
4 #define _REC_ROBOTINO_API2_C_COM_H_
5 
6 #include "rec/robotino/api2/c/globals.h"
7 
50 typedef int ComId;
51 
53 #define INVALID_COMID -1
54 
59 DLLEXPORT ComId Com_construct();
60 
67 DLLEXPORT BOOL Com_constructWithId( ComId id );
68 
74 DLLEXPORT BOOL Com_destroy( ComId id );
75 
79 DLLEXPORT void Com_destroyAll( void );
80 
88 DLLEXPORT BOOL Com_setAddress( ComId id, const char* address );
89 
97 DLLEXPORT BOOL Com_address( ComId id, char* addressBuffer, unsigned int addressBuffersSize );
98 
99 DLLEXPORT BOOL Com_setAutoReconnectEnabled( ComId id, BOOL enable );
100 
107 DLLEXPORT BOOL Com_setImageServerPort( ComId id, int port );
108 
114 DLLEXPORT BOOL Com_connect( ComId id );
115 
121 DLLEXPORT BOOL Com_disconnect( ComId id );
122 
128 DLLEXPORT BOOL Com_isConnected( ComId id );
129 
133 DLLEXPORT int Com_num_objects( void );
134 
135 //to include all headers at this point is not nice but necessary for using this lib in Matlab
136 //on the other hand you only need to include Com.h to get it all
156 
157 #endif
DLLEXPORT ComId Com_construct()
DLLEXPORT BOOL Com_disconnect(ComId id)
In "rec/robotino/api2/c/PowerManagement.h" you can find functions for reading Robotino's bumper...
In "rec/robotino/api2/c/Info.h" you can find functions for reading Robotino's bumper.
In "rec/robotino/api2/c/Manipulator.h" you can find functions for controlling Robotino's manipulator...
DLLEXPORT BOOL Com_destroy(ComId id)
In "rec/robotino/api2/c/Odometry.h" you can find functions for reading Robotino's bumper...
DLLEXPORT BOOL Com_isConnected(ComId id)
In "rec/robotino/api2/c/EncoderInput.h" you can find functions for reading Robotino's bumper...
DLLEXPORT BOOL Com_address(ComId id, char *addressBuffer, unsigned int addressBuffersSize)
In "rec/robotino/api2/c/Motor.h" you can find functions for reading Robotino's bumper.
In "rec/robotino/api2/c/Gripper.h" you can find functions for reading Robotino's bumper.
DLLEXPORT int Com_num_objects(void)
DLLEXPORT BOOL Com_setImageServerPort(ComId id, int port)
DLLEXPORT BOOL Com_connect(ComId id)
In "rec/robotino/api2/c/LaserRangeFinder.h" you can find functions for reading Robotino's laser range...
DLLEXPORT BOOL Com_constructWithId(ComId id)
In "rec/robotino/api2/c/DigitalInput.h" you can find functions for reading Robotino's bumper...
In "rec/robotino/api2/c/Relay.h" you can find functions for reading Robotino's bumper.
In "rec/robotino/api2/c/DigitalOutput.h" you can find functions for reading Robotino's bumper...
DLLEXPORT BOOL Com_setAddress(ComId id, const char *address)
In "rec/robotino/api2/c/OmniDrive.h" you can find functions for manipulating Robotino's omnidrive...
In "rec/robotino/api2/c/Camera.h" you can find functions for reading Robotino's camera.
In "rec/robotino/api2/c/PowerOutput.h" you can find functions for reading Robotino's bumper...
In "rec/robotino/api2/c/AnalogInput.h" you can find functions for reading Robotino's bumper...
In "rec/robotino/api2/c/NorthStar.h" you can find functions for reading Robotino's bumper...
int ComId
Definition: Com.h:50
DLLEXPORT void Com_destroyAll(void)
In "rec/robotino/api2/c/Bumper.h" you can find functions for reading Robotino's bumper.
In "rec/robotino/api2/c/CompactBHA.h" you can find functions for controlling Robotino's compactBHA...
In "rec/robotino/api2/c/DistanceSensor.h" you can find functions for reading Robotino's bumper...