58 const std::string m_device_classname = {
"BasicCartesianControl"};
59 const std::string m_device_name = {
"BasicCartesianControl"};
60 bool m_parser_is_strict =
false;
68 const std::string m_controllerGain_defaultValue = {
"0.05"};
69 const std::string m_trajectoryDuration_defaultValue = {
"0.0"};
70 const std::string m_trajectoryRefSpeed_defaultValue = {
"0.05"};
71 const std::string m_trajectoryRefAccel_defaultValue = {
"0.02"};
72 const std::string m_cmcPeriodMs_defaultValue = {
"50"};
73 const std::string m_waitPeriodMs_defaultValue = {
"30"};
74 const std::string m_usePosdMovl_defaultValue = {
"false"};
75 const std::string m_enableFailFast_defaultValue = {
"false"};
76 const std::string m_referenceFrame_defaultValue = {
"base"};
77 const std::string m_robot_defaultValue = {
"remote_controlboard"};
78 const std::string m_solver_defaultValue = {
"KdlSolver"};
80 double m_controllerGain = {0.05};
81 double m_trajectoryDuration = {0.0};
82 double m_trajectoryRefSpeed = {0.05};
83 double m_trajectoryRefAccel = {0.02};
84 int m_cmcPeriodMs = {50};
85 int m_waitPeriodMs = {30};
86 bool m_usePosdMovl = {
false};
87 bool m_enableFailFast = {
false};
88 std::string m_referenceFrame = {
"base"};
89 std::string m_robot = {
"remote_controlboard"};
90 std::string m_solver = {
"KdlSolver"};
92 bool parseParams(
const yarp::os::Searchable & config)
override;
93 std::string getDeviceClassName()
const override {
return m_device_classname; }
94 std::string getDeviceName()
const override {
return m_device_name; }
95 std::string getDocumentationOfDeviceParams()
const override;
96 std::vector<std::string> getListOfParams()
const override;