-
Notifications
You must be signed in to change notification settings - Fork 188
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
ros2_control with ethercat_driver_ros2 errors when running ros2_control demo with ethercat driver plugin #251
Comments
Hello @christophfroehlich I have managed to fix the previous problems and after some modifications in ros2_control description file, I'm able now to run the ethercat master and its ethercat drivers as plugins in the ros2_control.xacro file of the related launch file in the ros2_control_demos package (rrbot_modular_actuators.launch.py), so now I have a connection between ros2_control, ros2_controllers (I added gpio_command_controller to the ros2_controllers package), ros2_control_demos and ethercat_driver_ros2. I can write digital input on the driver using ethercat driver as a plugin (Beckhoff_EL2124), but still didn't figure out how to send position or velocity commands to the driver. I want to ask you if you have used the ros2_control_demos package to have an implementation of ros2_control on a real robot? |
Hi @NamanMo97, <joint name="myJoint">
<command_interface name="xxx"/>
<state_interface name="xxx"/>
<ec_module name="ECModule">
<plugin>ethercat_plugins/ECModule</plugin>
<param name="alias">xx</param>
<param name="position">xx</param>
</ec_module>
</joint> I would need some more info about your setup to help you out setting it up. I suggest we move this topic to the ethercat_driver_ros2 repo. |
What do you mean exactly? Yes, I used these hardware interfaces as templates for a real robot. |
Same for us, new |
@christophfroehlich @mcbed |
Ok. I'll close this here, feel free to reopen if something related to this repo comes up. |
I am trying to find a way to have a connection between ros2_control and ethercat_driver. the master is Activated but still get the error even when defining the ec_module as a plugin, the module is uploaded but still got the same error I defined the ethercat driver as a plugin in a new description file which is system_description.ros2_control.xacro and called it from the main rrbot_system_multi_interface.urdf.xacro description file, what I am trying to do is to make a description file with ethercat driver and ethercat module plugins in order to be launched from the rrbot_system_multi_interface.launch.py in the demos package,
is there any specified informations about how to use ros2_control with ethercat_driver? here are the error I get and the decription files and the launch file that I am using:
Errors:
rrbot_system_multi_interface.urdf.xacro
system_description.ros2_control.xacro
rrbot_system_multi_interface.launch.py
The text was updated successfully, but these errors were encountered: