Closed jeferal closed 6 months ago
Hi @jeferal.
Thank you for pointing out the issue. We will look at it, and it will be fixed in a future release.
In the meantime, you can use one of the interfaces listed in the motion_controller.communication.get_interface_name_list() to connect to a given servo drive.
For instance:
interface_list = motion_controller.communication.get_interface_name_list()
my_interface = interface_list[0]
slave_id = 1
dict_path = "path_to_dict.xdf"
motion_controller.communication.connect_servo_ethercat(my_interface, slave_id, dict_path)
Thank you very much for your response. Yes, for linux, this seems like an easy fix!
Hello. I am trying to use the ingeniamotion 0.8.0 package in a Linux environment and I find that executing the following method:
motion_controller.communication.get_ifname_by_index
throws an error. https://distext.ingeniamc.com/doc/ingeniamotion/0.8.0/ingeniamotion/communication.html?highlight=get_ifname_by_index#ingeniamotion.communication.Communication.get_ifname_by_indexThis is a minimal example:
Thank you very much for your help in advance.