Example #1
0
 /// <summary>
 /// Fires the event.
 /// </summary>
 public override void Fire()
 {
     try
     {
         executor = Grabber.Instance.PutDown();
         executor.Start();
         Pose.Instance.TakeStableArmPosition();
         ReportSuccess();
     }
     catch {
         ReportFailure();
     }
 }
Example #2
0
 /// <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.");
 }