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