Forum Migration Notice
We're transitioning to a more modern community platform by the end of this year. Learn about the upcoming changes and what to expect.

Robot Reference Interface (RRI)

Hello,

I'm trying to use RRI to get position robot
I have put the three xml files in the correct folders.
My server is listening on the port I have defined on Description.xml.
I try my server with a simple client application and it works.
When i launch the robot application no error is written.
But my server received nothing. If someone could help me.

 Settings.xml in HOME/GSI

<?xml version="1.0" encoding="utf-8"?>
<Settings>
    <Clients>
        <Client Convention="CDP" Name="PosRobot"/>
    </Clients>
</Settings>

 Descrition.xml in GSI/PosRobot

<?xml version="1.0" encoding="utf-8"?>
<Description>
    <Name>PosRobot</Name>
    <Convention>CDP</Convention>
    <Type>AType</Type>
    <Class>AClass</Class>
    <Network  Address="127.0.0.1" Port="Lan">
        <Channel Type="Cyclic" Protocol="Udp" Port="1069" />
    </Network>
    <Settings>
        <TimeOut>2000</TimeOut>
        <MaxLost>30</MaxLost>
        <DryRun>false</DryRun>
    </Settings>
</Description>

 Configuration.xml in GSI/PosRobot

<?xml version="1.0" encoding="utf-8"?>
<Configuration>
  <Enums>
    <Enum Name="opmode" Link="Intern">
      <Member Name="ReducedSpeed" />
      <Member Name="FullSpeed" />
      <Member Name="Automatic" />
    </Enum>
  </Enums>
  <Records>
    <Record Name="robotdata">
      <Field Name="type" Type="Real" Alias="Type" />
      <Field Name="status" Type="String" Alias="Status" />
      <Field Name="OperationMode" Type="opmode" Link="Intern" Alias="Mode" />
      <Field Name="PredictedTime" Type="Time" Link="Intern" Alias="Time" />
      <Field Name="PlannedPose" Type="Frame" Link="Intern" Alias="Frame" />
      <Field Name="PlannedJoints" Type="Joints" Link="Intern" Alias="Joints" />
      <Field Name="FeedbackTime" Type="Time" Link="Intern" Alias="FTime" />
      <Field Name="FeedbackPose" Type="Frame" Link="Intern" Alias="FFrame" />
      <Field Name="FeedbackJoints" Type="Joints" Link="Intern" Alias="FJoints" />
    </Record>
    <Record Name="replydata">
      <Field Name="type" Type="Real" Alias="Type" />
    </Record>
  </Records>
  <Properties>
    <Property Name="RobotMessage" Type="robotdata" Flag="WriteOnly" />
    <Property Name="ReplyMessage" Type="replydata" Flag="ReadOnly" />
  </Properties>
</Configuration>

 Main Module

SiConnect PosRobot;
SiSetCyclic PosRobot, RobotMessage,1000;
SiClose PosRobot