Comments (7)
Hi @NamanMo97,
As you probably already did, you need to add to the ros2_control
urdf description the ec_module that you want to use for each joint/gpio component using:
<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.
from ros2_control_demos.
Ok. I'll close this here, feel free to reopen if something related to this repo comes up.
from ros2_control_demos.
Hi! I never worked with ethercat and ros2, but as written in its readme it is designed for ros2_control -> there has to be a way to get that running and I don't think its an issue of the demo in this repository. But maybe @mcbed can give you an answer here.
from ros2_control_demos.
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?
from ros2_control_demos.
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?
What do you mean exactly? Yes, I used these hardware interfaces as templates for a real robot.
from ros2_control_demos.
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?
What do you mean exactly? Yes, I used these hardware interfaces as templates for a real robot.
Same for us, new ros2_control
hardware integration mostly starts from this repo.
from ros2_control_demos.
@christophfroehlich @mcbed
For my question I just wanted to check if I'm starting my integration correctly.
I will move this topic to the ethercat_driver_ros2 repo with more details as @mcbed suggested.
from ros2_control_demos.
Related Issues (20)
- colcon build issue - galactic HOT 3
- ros2_control_node with sudo HOT 5
- Build error due to wrong branch in tutorial. HOT 3
- Could not contact service /controller_manager/load_controller HOT 1
- example 2 does not have odom frame HOT 1
- Add demo for disable_command of MockHardware
- launch error HOT 5
- Renaming of examples HOT 4
- Enhancing README.md HOT 3
- Add rqt_joint_trajectory_controller to example_1
- Add integration tests
- Position data copied to velocity field of trajectory point message HOT 1
- Improve example_7: Trajectory generation and plugin
- Getting error while building ros2_control_demo_example_8 package. HOT 4
- Demo 14 crashing when using description from topic HOT 14
- CI build job rolling/testing failed! HOT 1
- Can not start 2 controller simultaly for mobil robot with arm HOT 2
- Implementation Query - Example 14 (Actuator and Sensor Interface)? HOT 2
- Waiting for '/controller_manager' services to be available HOT 4
- controller manager not available (example_1) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ros2_control_demos.