/// <summary> /// Fires the event. /// </summary> public override void Fire() { try { executor = Grabber.Instance.PutDown(); executor.Start(); Pose.Instance.TakeStableArmPosition(); ReportSuccess(); } catch { ReportFailure(); } }
/// <summary> /// Positions the Nao in front of the object. /// </summary> private void GoInfrontOfObject() { Logger.Log(this, "Walking towards object..."); executor = new ObjectSearchWorker(); executor.Start(); Logger.Log(this, "Finished walking towards object."); }