Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot use api with Servobox (RR Servo Starter Kit) via Ethernet interface on Window10 OS. #5

Open
Chadvedar-fiboeng opened this issue Nov 16, 2021 · 0 comments

Comments

@Chadvedar-fiboeng
Copy link

Chadvedar-fiboeng commented Nov 16, 2021

I am trying to use Servobox via Ethernet on Win10. Unfortunately, I have problem as below.

python read_servo_max_velocity.py --interface 192.168.0.123 --servo_1_id 123
INFO:read_servo_max_velocity.py:Initializing ServoApi
INFO:read_servo_max_velocity.py:Initializing interface 192.168.0.123
INFO:   Connected to UDP socket: 192.168.0.123 port 17700
Traceback (most recent call last):
  File "C:\Users\Admin\Desktop\Rozum-Servo-Drives-API-master-mod\python\examples\read_servo_max_velocity.py", line 25, in <module>
    interface = api.init_interface(INTERFACE_NAME)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\rdrive\servo\api.py", line 1102, in init_interface
    interface = Interface(self._api, interface_name)
  File "C:\Users\Admin\AppData\Local\Programs\Python\Python39\lib\site-packages\rdrive\servo\api.py", line 833, in __init__
    self._interface = c_void_p(self._api.rr_init_interface(
OSError: exception: access violation reading 0x000000002A6715D7

At first, I have fixed the problem as this post suggest and it works fine. But when I try to install the code into another PC, I got the error above. Anyone please assist me. Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant