Пример #1
0
        private void button4_Click_1(object sender, EventArgs e)
        {
            RobotAgent r   = RegistrationAgent.robotAgentRegisteredList.ElementAt(0).Value;
            String     msg = DataTranformation.jsoncheckinPutAwayCoordinations(0);

            r.sendPackageStringType(r.paramsRosSocket.publication_serverRobotGotToCheckInPutAwayArea, msg);
        }
 public RobotProperties(MainWindow content, RobotAgent pRobotAgent)
 {
     InitializeComponent();
     this.content           = content;
     this.pRobotAgent       = pRobotAgent;
     this.content.IsEnabled = false;
 }
Пример #3
0
        public void loadrobotconfig(String ipAddr, String host, String NameObj, int port, double CriticalEnergyAt, double GoodEnergyAt, System.Windows.Point initialPos, double initialheadingangle)
        {
            RobotAgent temp = new RobotAgent();

            temp.IpAddress           = ipAddr;
            temp.Hostname            = host;
            temp.NameID              = NameObj;
            temp.Port                = port;
            temp.InitialPostion      = initialPos;
            temp.InitialHeadingAngle = initialheadingangle;
            RegistrationAgent.robotAgentRegisteredList.Add(temp.NameID, temp);
            pif.updateTreeviewRobotConfig(temp.NameID);
        }
Пример #4
0
 public void UpdateRobotAgentProperties(RobotAgent _pr)
 {
 }
Пример #5
0
 public void addANewRobotAgent(RobotAgent _pr)
 {
     _pr.setRobotView3D(probot3dmap);
     _pr.requestParams();
 }
 public void addANewRobotAgent(RobotAgent _pr)
 {
     _pr.setRobotView3D(RegistrationAgent.robotview3dPointer);
     _pr.requestParams();
 }