Ros - QB Robotics qbmove Advanced Kit User Manual

Table of Contents

Advertisement

usleep(1000000);
#endif
commands[0] = -15000;
commands[1] = 16000;
commSetPosStiff(&file_descriptor, device_id, commands);
std::cout <<
"INFO: \tmax negative turn, middle stiffness"
#ifdef
_WIN32
Sleep(1000);
#else
usleep(1000000);
#endif
// ...
commActivate(&file_descriptor, device_id, FALSE);
#ifdef
_WIN32
Sleep(1000);
#else
usleep(1000000);
#endif
result = commGetActivate(&file_descriptor, device_id, &status);
if
(result != 0) {
std::cout <<
"ERROR: fails while deactivating motor"
return
-1;
}
std::cout <<
"Demo finished..."
closeRS485(&file_descriptor);
return
0;
}
6.5

ROS

// max negative turn
// middle stiffness
<< std::endl;
<< std::endl;
//deactivate motor
<< std::endl;
76
28 aprile 2021

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the qbmove Advanced Kit and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents