Modules-old/youbot/lua_youbot.cpp
// Gets the spacing between the gripper fingers
Gets the spacing between the gripper fingers
Gets the spacing between the gripper fingers
static int lua_get_gripper_spacing(lua_State *L) {
	static GripperSensedBarSpacing sensed;
	ybArm->getArmGripper().getData(sensed);
	lua_pushnumber(L, sensed.barSpacing.value() );
	return 1;
}
static int lua_get_gripper_spacing ( lua_State * L ) { static GripperSensedBarSpacing sensed ; ybArm -> getArmGripper ( ) . getData ( sensed ) ; lua_pushnumber ( L , sensed . barSpacing . value ( ) ) ; return 1 ; }
Gets the spacing between the gripper fingers
Gets the spacing between the gripper fingers