From 41548bb00fb99c18bc86c6c264a691eb837f85a5 Mon Sep 17 00:00:00 2001 From: Nicolas Schodet Date: Sun, 5 May 2013 16:17:22 +0200 Subject: digital/io-hub/src/apbirthday, eurobot/2013, host/simu/robots: update outputs --- digital/io-hub/src/apbirthday/plate.cc | 17 ++++------------- 1 file changed, 4 insertions(+), 13 deletions(-) (limited to 'digital/io-hub/src/apbirthday/plate.cc') diff --git a/digital/io-hub/src/apbirthday/plate.cc b/digital/io-hub/src/apbirthday/plate.cc index 3d3483c0..094fb50f 100644 --- a/digital/io-hub/src/apbirthday/plate.cc +++ b/digital/io-hub/src/apbirthday/plate.cc @@ -60,23 +60,14 @@ inline void Plate::arm_up () inline void Plate::clamp_open () { -#ifdef TARGET_host - robot->hardware.cherry_plate_clamp.set (false); -#else - robot->hardware.cherry_bad_out.set (false); - robot->hardware.cherry_bad_in.set (true); -#endif + robot->hardware.cherry_plate_clamp_close.set (false); + robot->hardware.cherry_plate_clamp_open.set (true); } inline void Plate::clamp_close () { -#ifdef TARGET_host - robot->hardware.cherry_plate_clamp.set (true); -#else - robot->hardware.cherry_bad_out.set (true); - robot->hardware.cherry_bad_in.set (false); -#endif - + robot->hardware.cherry_plate_clamp_close.set (true); + robot->hardware.cherry_plate_clamp_open.set (false); } FSM_STATES (PLATE_OFF, -- cgit v1.2.3