KatanaNativeInterface
$VERSION$
|
Go to the documentation of this file.
25 Exception("ConfigFile is not open or other failure", -41) {}
34 Exception(
"Could not find section '" + attribute +
"' in configfile", -42) {}
43 Exception(
"Could not find subsection '" + attribute +
"' in configfile", -43) {}
52 Exception(
"Could not find entry '" + attribute +
"' in configfile", -44) {}
61 Exception(
"Syntax error in this line: '" + line +
"'", -45) {}
78 void _readEntry(
char* dest,
int destsz,
const char* section,
const char* subsection,
const char* entry);
84 _configfile.open(filepath);
85 return _configfile.fail() ? false :
true;
88 bool openFile(
const wchar_t* filepath) {
89 _configfile.open(filepath);
90 return _configfile.fail() ? false :
true;
ConfigFileStateException()
TMotDYL getMotDYL(short number)
bool openFile(const char *filepath)
TMotDesc * getMotDesc(short count)
std::ifstream _configfile
This class is for internal use only It may change at any time It shields the configuration file parsi...
The requested section could not be found.
There was a syntax error in the configuration file.
TMotCLB getMotCLB(short number)
Initial motor parameters.
ConfigFileSectionNotFoundException(const std::string &attribute)
TMotSCP getMotSCP(short number)
[SCP] static controller parameters
ConfigFileEntryNotFoundException(const std::string &attribute)
Inverse Kinematics structure of the endeffektor.
Calibration structure for single motors.
ConfigFileSyntaxErrorException(const std::string &line)
The state of the configuration file wasn't "good".
ConfigFileSubsectionNotFoundException(const std::string &attribute)
The requested subsection could not be found.
Exception(const std::string &message, const int error_number)
void getGripperParameters(bool &isPresent, int &openEncoders, int &closeEncoders)
sensor controller description (partly)
TSctDesc * getSctDesc(short count)
TMotInit getMotInit(short number)
[MOT] every motor's attributes
int getType()
returns the Katana type
[SCT] every sens ctrl's attributes
[GNL] general robot attributes
motor description (partly)
The requested entry could not be found.
void _readEntry(char *dest, int destsz, const char *section, const char *subsection, const char *entry)