return
-1;
}
std::cout <<
"INFO: \tmotor currents are: "
0] << std::endl <<
std::cout <<
"------------------------------"
std::cout <<
"INFO: \tStart qbmove demo"
short int
commands[2];
commands[0] = 0;
commands[1] = 0;
commSetPosStiff(&file_descriptor, device_id, commands);
std::cout <<
"INFO: \tshaft middle position, minimum stiffness"
#ifdef
_WIN32
Sleep(1000);
#else
usleep(1000000);
#endif
commands[0] = 3300;
commands[1] = 32000;
commSetPosStiff(&file_descriptor, device_id, commands);
std::cout <<
"INFO: \tlittle movement shaft, max stiffness"
#ifdef
_WIN32
Sleep(1000);
#else
usleep(1000000);
#endif
commands[0] = 15000;
commands[1] = 16000;
commSetPosStiff(&file_descriptor, device_id, commands);
std::cout <<
"INFO: \tmax positive turn, middle stiffness"
#ifdef
_WIN32
Sleep(1000);
#else
75
28 aprile 2021
"\t- motor 2: "
<< currents[1] << std::endl;
// shaft middle position
// minimum stiffness
// little movement shaft
// max stiffness
// max positive turn
// middle stiffness
<< std::endl <<
"\t- motor 1: "
<< std::endl;
<< std::endl;
<< std::endl;
<< std::endl;
<< currents[
<< std::endl;
Need help?
Do you have a question about the qbmove Advanced Kit and is the answer not in the manual?
Questions and answers