public void initialize(string gripper_ip) { // Set up two grippers and two F/T sensors grippers = new Gripper_impl[1]; grippers[0] = new Gripper_impl(gripper_ip); // Daemon thread start t = new Thread(new ThreadStart(daemon)); t.Start(); // Background thread start t2 = new Thread(new ThreadStart(backgroundThread)); t2.Start(); }
public void _start_tool() { _gripper_host_impl.initialize(_gripper_ip); _gripper_impl = _gripper_host_impl.get_g(0); }