Go to the documentation of this file.
36 # pragma warning(disable : 4290)
168 eGID_CYLINDRICAL = 2,
222 void CheckIndex(
int index,
int maxindex,
char const* name=
"" );
226 void CheckRange(
double value,
double minvalue,
double maxvalue,
char const* name=
"" );
230 void CheckRange(
double* values,
double* minvalues,
double* maxvalues,
char const* name=
"" );
234 static char const* GetStringFromErrorCode( eErrorCode
error_code );
238 static char const* GetStringFromGraspId( eGraspId grasp_id );
242 static char const* GetStringFromControllerType( eControllerType controller_type );
246 int GetNumberOfAxes(
void );
250 int GetNumberOfFingers(
void );
254 int GetNumberOfTemperatureSensors(
void );
258 eErrorCode GetFirmwareState(
void );
262 double GetEps(
void );
270 virtual bool IsOpen(
void ) = 0;
285 static char const* firmware_error_codes[];
289 static char const* grasp_id_name[];
293 static char const* controller_type_name[];
virtual void SetDebugOutput(std::ostream *debuglog)
change the stream to use for debug messages
Base class for exceptions in the SDHLibrary-CPP.
NAMESPACE_SDH_START VCC_EXPORT std::ostream * g_sdh_debug_log
cSimpleVector max_angle_v
Maximum allowed axis angles (in internal units (degrees))
#define NAMESPACE_SDH_END
@ eCT_VELOCITY_ACCELERATION
velocity controller with acceleration ramp, velocities and accelerations of axes are controlled indep...
cSDHErrorInvalidParameter(cMsg const &_msg)
@ eVP_SIN_SQUARE
sin square velocity profile
@ eEC_INSUFFICIENT_RESOURCES
cDBG cdbg
debug stream to print colored debug messages
@ eEC_FEATURE_NOT_SUPPORTED
@ eVP_RAMP
ramp velocity profile
@ eCT_VELOCITY
velocity controller, velocities of axes are controlled independently (not implemented in SDH firmware...
eControllerType
An enum for all possible SDH internal controller types (order must match that in the SDH firmware in ...
void SetOutput(std::ostream *fd)
double eps
epsilon value (max absolute deviation of reported values from actual hardware values) (needed since S...
A simple vector implementation.
This file contains interface and implementation of class #SDH::cDBG, a class for colorfull debug mess...
UInt16 error_code
0000h, if successful, otherwise error code
int debug_level
debug level of this object
eVelocityProfile
An enum for all possible SDH internal velocity profile types.
int NUMBER_OF_FINGERS
The number of fingers.
@ eEC_MAX_COMMANDLINE_EXCEEDED
Class for short, fixed maximum length text messages.
The base class to control the SCHUNK Dexterous Hand.
A class to print colored debug messages.
Interface of class #SDH::cSimpleVector.
cSimpleVector min_angle_v
simple vector of 7 0 values ???
cSimpleVector eps_v
simple vector of 7 epsilon values
#define NAMESPACE_SDH_START
Derived exception class for exceptions related to invalid parameters.
Interface of the exception base class #SDH::cSDHLibraryException and #SDH::cMsg.
@ eEC_MAX_COMMANDS_EXCEEDED
eErrorCode firmware_state
the last known state of the SDH firmware
int NUMBER_OF_TEMPERATURE_SENSORS
The number of temperature sensors.
This file contains settings to make the SDHLibrary compile on differen systems:
@ eEC_INDEX_OUT_OF_BOUNDS
int all_axes_used
Bit field with the bits for all axes set.
eGraspId
The enum values of the known grasps.
int NUMBER_OF_AXES
The number of axes.
sdhlibrary_cpp
Author(s): Dirk Osswald
autogenerated on Wed Mar 2 2022 01:00:58