Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5

RoboDK to control a physical Comau e.DO robot

#1
Hi,
Our setup consists of a standalone e.DO robot, normally controlled through the e.DO tablet/browser application. We do not have a Comau C5G controller, Desk Simulator or TP5 teach pendant.

The connection settings currently used are:

RoboDK version: 5.9.0 on Windows

Robot IP address: 10.42.0.49

Port: 1102

Driver: apicomau.py

The robot responds to ping and works correctly through its own application. However, clicking “Connect” in RoboDK produces the following error:

ConnectionRefusedError: [WinError 10061] as shown in attachment.
No connection could be made because the target machine actively refused it.
Could you please clarify:

Is direct online control of standalone e.DO currently supported?

Is apicomau.py compatible with this configuration, or is a dedicated driver required?

Best Regards,
Davide


Attached Files Thumbnail(s)
warning.png   
#2
I found the thread “Online with Comau C5G controller”, where it explain that
Code:
RoboDKdriver.pdl
must be transferred to the robot controller and started before connecting from RoboDK.
Could this procedure also work with a standalone Comau e.DO robot?

Code:
apicomau.py
, robot IP
Code:
10.42.0.49
and port
Code:
1102
. The robot responds to ping, but connecting produces
Code:
ConnectionRefusedError: [WinError 10061]
.

Thank you for your help.
Best regards,
Davide
#3
Excellent, thank you for letting us know.

I believe that the e.DO does not use the same controller used by industrial robots (C5G). Do you have more information about how the e.DO must be programmed? If you can share program examples and communication protocol we can better help.
#4
Thank you for your reply.

At this stage, I only need to read the robot’s actual joint positions in RoboDK, using the “Get Position” button highlighted in the attached screenshot. I do not currently need to send movement commands to the robot.
I would also like to clarify that I have not yet carried out the driver installation procedure: transferring RoboDKdriver.pdl to the controller via FTP, then loading and running it through the “Prog” menu.
According to Comau’s documentation, e.DO is based on Rasberry board and It uses Linux and ROS. Its web application communicates through a WebSocket server: Is there a supported way to retrieve joint positions from this configuration? Would this require a dedicated interface or driver, even for read-only access?
Please let me know which protocol documentation or program examples I should request from Comau to help you assess this.
Best regards,
Davide


Attached Files Image(s)
   
#5
We'll take a deeper look at properly integrating the Comau e.DO robot. We look forward to having a full integration with a Raspberry Pi based Comau e.DO robot. We'll keep you posted.
#6
Thank you for looking into the integration of Comau e.DO.
My goal is to control our physical e.DO robot online from RoboDK, sending motion commands and receiving feedback on its actual joint positions.
Could you please provide an update by the end of next week on the feasibility of this integration?
On November 20, I have an educational event where I would like to demonstrate online control of our e.DO through RoboDK, showing both the simulation and the corresponding movements of the real robot.
Knowing whether a working solution could be available in time would help me prepare the demonstration and plan an alternative if necessary.
Thank you for your support!
#7

apicomau.py won’t work with the e.DO. That driver is for Comau’s C5G industrial controllers, which use a proprietary protocol on port 1102. The e.DO runs ROS on a Raspberry Pi and exposes a rosbridge WebSocket on port 9090, which is why your connection was refused.
To talk to it from Python, use pyedo (PyPI: pip install pyedo roslibpy pynput)
To read the joint positions without moving the robot:

  1. Connect with pyedo.edo(ip, 9090)
  2. Call call init_7Axes() and disengage_std()
  3. Subscribe to the joint-state topic
For motion, use move_joint(...) or move_cartesian(...). See edo.py and this example.
Attached is a post processor for the e.DO (Comau_e.DO.py). It generates a standalone Python script that connects to the robot through pyedo and runs your RoboDK program. An online driver (Run on robot) is coming in about a week.


Attached Files
.py   Comau_eDO.py (Size: 35.01 KB / Downloads: 6)
#8
Thank you for the detailed explanation and for providing the e.DO post processor.
I haven’t tested it on the robot yet, but I will try it and report back.
Before proceeding, could you please confirm which version of pyedo I should use? The attached post processor calls methods such as
Code:
init_7Axes()
and
Code:
move_joint()
, which appear in the linked GitHub repository, whereas the PyPI version uses
Code:
init7Axes()
and
Code:
moveJoints()
, with different signatures. Should I use the GitHub version rather than the package installed via
Code:
pip install pyedo
I’m also very interested in the upcoming online driver, as my goal is to control our real e.DO directly from RoboDK. Please keep me updated when it is available; I would be happy to test it.
Best regards,
Davide
#9
Thank you for checking this before testing on the robot. You are right: pyedo exists in two incompatible versions with the same name. The PyPI package (pip install pyedo, version 0.7) uses init7Axes()/moveJoints(), while the GitHub repository uses init_7Axes()/move_joint(). The post processor was written for the GitHub version, so please use that one. (The GitHub README also says "pip install pyedo", which is what causes the confusion.)

Since the GitHub repository cannot be installed with pip, the simplest way is:

1. Remove the PyPI version, if installed: pip uninstall pyedo
2. Install its dependencies: pip install roslibpy pynput
3. Download the repository from https://github.com/Feibio93/pyedo, extract it, and copy the inner "pyedo" folder (the one containing edo.py and __init__.py) into the same folder as the program generated by RoboDK. For example:
      Programs/
          Prog1.py
          pyedo/
              __init__.py
              edo.py
              ...
4. Close the e.DO App (the robot accepts only one websocket connection at a time) and run the program:
      python Prog1.py

Before generating the program, set the robot IP in RoboDK (right-click the robot > Connect to robot... > 10.42.0.49 for Ethernet), or edit ROBOT_IP at the top of the generated script.
  




Users browsing this thread:
1 Guest(s)