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

Connect to Automata EVA

#1
I'm trying to connect RoboDK to an Automata EVA. I would like to run a RoboDK robot program on a real robot, but I can't find any documentation on how to do that. The "Connect to robot" ping is working, but I can't actually connect to the robot. There doesn't seem to be any field for an EVA token or any other authentication settings. Am I missing something, or does EVA even work with RoboDK? AutomataDriver.py seems to use compiled .pyc files, so I can't verify whether the Python connection is working properly.

From log:
Code:
auth_create_session request error: status code 400 with error [{'error': {'error_code': 8, 'title': 'error while parsing parameters', 'details': 'invalid JSON: expects " or n, but found 1, error found in #10 byte of ...|"token": 12345}|..., bigger context ...|{"token": 12345}|...'}}]
#2
There is no dedicated driver for the Automata EVA robot.

However, both offline programming and online programming functions are implemented in the 'Automata' postprocessor.

After configuring the connection parameters, you can try to send a program to the robot or execute it:




.png   automata.png (Size: 30.72 KB / Downloads: 19)
#3
I got the connection working by modifying the Automata.py file. I commented out the lines:
Code:
#self.eva.control_reset_errors()
#version = self.eva.versions()[0]
#print_message("API Version:" + str(version))
And added the API token like this:
Code:
self.eva = Eva(ip, "MY_API_TOKEN")
Would be nice to be able to add the API token directly from the RoboDK UI.
Now I'm getting a Joint 2 boundary limit error, but it might be coming from evasdk. I’ll look into that next week.
#4
Excellent, thank you for letting us know.

We'll update the post processor accordingly and add a parameter to easily configure the API token.

How do you retrieve the API token? I assume this is different from one robot to another?
#5
(04-22-2025, 03:17 PM)Albert Wrote: Excellent, thank you for letting us know.

We'll update the post processor accordingly and add a parameter to easily configure the API token.

How do you retrieve the API token? I assume this is different from one robot to another?

I think tokens are always different (User/Robot). I attached a PDF of documentation for API token generation and a screenshot of EVA UI. There is still some problem with generated joint values (robot maybe expecting radians?), but I haven't had time to test this enough. Will do more testing next week.


Attached Files
.pdf   EVA_API1.pdf (Size: 811.01 KB / Downloads: 7)
.png   API_token_gen.png (Size: 85.8 KB / Downloads: 8)
  




Users browsing this thread:
1 Guest(s)