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;
101 TMotCLB getMotCLB(
short number);
102 TMotSCP getMotSCP(
short number);
103 TMotDYL getMotDYL(
short number);
110 void getGripperParameters(
bool& isPresent,
int& openEncoders,
int& closeEncoders);
ConfigFileStateException()
bool openFile(const char *filepath)
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.
Initial motor parameters.
ConfigFileSectionNotFoundException(const std::string &attribute)
[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)
sensor controller description (partly)
[MOT] every motor's attributes
[SCT] every sens ctrl's attributes
[GNL] general robot attributes
motor description (partly)
The requested entry could not be found.