Пример #1
0
void joint5callback(int iValue, void *userData)
{
	sense(5) = iValue;
	arm.set_joint(sense(5), 5);
}
Пример #2
0
void joint4callback(int iValue, void *userData)
{
	sense(4) = iValue - 90;
	arm.set_joint(sense(4), 4);
}
Пример #3
0
void joint3callback(int iValue, void *userData)
{
	sense(3) = iValue - 90;
	arm.set_joint(sense(3), 3);
}
Пример #4
0
void joint2callback(int iValue, void *userData)
{
	sense(2) = iValue;
	arm.set_joint(sense(2), 2);
}
Пример #5
0
void joint1callback(int iValue, void *userData)
{
	sense(1) = iValue - 90;
	arm.set_joint(sense(1), 1);
}
Пример #6
0
// These are the callbacks
void joint0callback(int iValue, void *userData)
{
	sense(0) = iValue - 90;
	arm.set_joint(sense(0), 0);
}