09-05-2023, 03:28 PM
Hello,
I am trying to connect to a Kinova gen 3 through roboDK using the robot driver.
I can ping it successfully, and have changed the driver file to be apikinova.py, but when I try to connect it fails and I get the following in the log
I have tried installing the google package and that seems to be installed
I have checked that roboDK is up to date, and tried using it as a free trial and on our work license
any advice would be appreciated
Thank you
I am trying to connect to a Kinova gen 3 through roboDK using the robot driver.
I can ping it successfully, and have changed the driver file to be apikinova.py, but when I try to connect it fails and I get the following in the log
Quote:Starting robot driver: C:/RoboDK/api/robot/apikinova.py
Starting...
Unexpected error: Traceback (most recent call last):
Unexpected error: File "C:\RoboDK\api\robot\apikinova.py", line 26, in <module>
Unexpected error: exec("from v" + version_str + ".apikinova import *")
Unexpected error: File "<string>", line 1, in <module>
Unexpected error: File "C:\RoboDK\api\robot\apikinova.py", line 87, in <module>
Unexpected error: File "C:\RoboDK\api\robot\apikinova.py", line 89, in DeviceConnection
Unexpected error: File "C:\RoboDK\Python\kortex_api\TCPTransport.py", line 12, in <module>
Unexpected error: from .Exceptions.KClientException import KClientException
Unexpected error: File "C:\RoboDK\Python\kortex_api\Exceptions\KClientException.py", line 1, in <module>
Unexpected error: from ..autogen.messages import Frame_pb2 as FramePb
Unexpected error: File "C:\RoboDK\Python\kortex_api\autogen\messages\Frame_pb2.py", line 6, in <module>
Unexpected error: from google.protobuf.internal import enum_type_wrapper
Unexpected error: ModuleNotFoundError: No module named 'google'
Sending command...
Stopped
Driver apikinova.py not connected
Disconnected
I have tried installing the google package and that seems to be installed
Quote:C:\RoboDK\api\Robot\v310>pip install google
Requirement already satisfied: google in c:\users\bv1069\appdata\local\programs\python\python310\lib\site-packages (3.0.0)
Requirement already satisfied: beautifulsoup4 in c:\users\bv1069\appdata\local\programs\python\python310\lib\site-packages (from google) (4.12.2)
Requirement already satisfied: soupsieve>1.2 in c:\users\bv1069\appdata\local\programs\python\python310\lib\site-packages (from beautifulsoup4->google) (2.5)
I have checked that roboDK is up to date, and tried using it as a free trial and on our work license
any advice would be appreciated
Thank you