Closed AshwathamanGovind closed 3 years ago
Hi @AshwathamanGovind
Sorry for not responding earlier to this issue. It got forgotten somehow. If this is still relevant for you, could you confirm that you installed the URCap according to this installation?
With the changes in this PR, the rs485
URCap is directly provided within this package to make it easier to use right away and without going through the build process with Maven.
So, i doubt whether my approach is fundamentally wrong.
No, you are perfectly right. This URCap provides the necessary level of abstraction to be used by any programming language. After setting up the connection from the remote PC (with socat) you should be able to use that ttyUR
file in your programming language of choice for data communication over the RS485 standard.
Because there shouldn't be two socat s right?
Yes, thanks. That was a typo. It's fixed now.
Is there a way to verify the data i am sending to rs485 from the robot's side?
Unfortunately, I'm lacking experience here. I guess/hope there are adequate tools in Linux to test if your robot-attached device is sending something.
Hai, I am trying to connect and send commands to the rs485 port using this URCap file from a remote C# application. I am trying to connect but i do not see any response from the tool side. So, i doubt whether my approach is fundamentally wrong. Is this URCap file meant only for ROS?? Or can I use it with other code as well? And More importantly, As given in the readme page is this
socat socat pty,link=${LOCAL_DEVICE_NAME},raw,ignoreeof,waitslave tcp:${ROBOT_IP}:54321
command right??Because there shouldn't be two socat s right? Sorry if i am wrong. I am new to UR development. Is there a way to verify the data i am sending to rs485 from the robot's side?