コード例 #1
0
ファイル: NaoState.cs プロジェクト: boschbc/NaoRobot
 ///<summary>
 /// Creates proxes to be used by this class only.
 /// </summary>
 private void CreateMyProxies()
 {
     motion = Proxies.GetProxy<MotionProxy>();
     battery = Proxies.GetProxy<BatteryProxy>();
     memory = Proxies.GetProxy<MemoryProxy>();
 }
コード例 #2
0
 ///<summary>
 /// Creates proxes to be used by this class only.
 /// </summary>
 private void CreateMyProxies()
 {
     motion  = Proxies.GetProxy <MotionProxy>();
     battery = Proxies.GetProxy <BatteryProxy>();
     memory  = Proxies.GetProxy <MemoryProxy>();
 }
コード例 #3
0
ファイル: Willkommenstext.cs プロジェクト: kinectNao/bluenao
 public void sayName()
 {
     tts.say("Hallo ich bin Cocco");
     BatteryProxy battery = new BatteryProxy(ip, 9559);
     tts.say("Meine Batterie ist zu:" + battery.getBatteryCharge() + "Prozent geladen");
 }