public void Pointing(string id, string target, double speed = 1, Thalamus.Actions.PointingMode mode = Thalamus.Actions.PointingMode.RightHand) { try { DebugIf("messages", "Sending NAO Pointing (Zero) {0}...", id); NAOqiPublisher.PointingNao(id, 0, 0, speed, mode.ToString()); DebugIf("messages", "OK Pointing (Zero) {0}.", id); } catch (Exception e) { DebugException(e); } }
public void Waving(string id, double horizontal, double vertical, double frequency, double amplitude, double duration, Thalamus.Actions.PointingMode mode = Thalamus.Actions.PointingMode.RightHand) { try { DebugIf("messages", "Sending NAO Waving {0}...", id); NAOqiPublisher.WavingNao(id, horizontal, vertical, frequency, amplitude, duration, mode.ToString()); DebugIf("messages", "OK Waving {0}.", id); } catch (Exception e) { DebugException(e); } }
public void PointingAngle(string id, double horizontal, double vertical, double speed = 1, Thalamus.Actions.PointingMode mode = Thalamus.Actions.PointingMode.RightHand) { try { DebugIf("messages", "Sending NAO Pointing {0}...", id); NAOqiPublisher.PointingNao(id, horizontal, vertical, speed, mode.ToString()); DebugIf("messages", "OK Pointing {0}.", id); } catch (Exception e) { DebugException(e); } }