Modules-old/youbot/lua_youbot.cpp
// Sets the spacing between the gripper fingers
Sets the spacing between the gripper fingers
Sets the spacing between the gripper fingers
static int lua_set_gripper_spacing(lua_State *L) {
	static GripperBarSpacingSetPoint barSpacing;
	double spacing = (double)lua_tonumber(L, 1);
	barSpacing.barSpacing = spacing * meter;
	ybArm->getArmGripper().setData(barSpacing);
	return 0;
}
static int lua_set_gripper_spacing ( lua_State * L ) { static GripperBarSpacingSetPoint barSpacing ; double spacing = ( double ) lua_tonumber ( L , 1 ) ; barSpacing . barSpacing = spacing * meter ; ybArm -> getArmGripper ( ) . setData ( barSpacing ) ; return 0 ; }
Sets the spacing between the gripper fingers
Sets the spacing between the gripper fingers