-
Notifications
You must be signed in to change notification settings - Fork 11
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
Actions, Services not bridging on Turtlebot4 w/ Humble #81
Comments
Hi @civerachb-cpr, just wondering if you found any solutions for your problem? I also can't seem to get actions or services to come up but topics work. In addition, I see that your "true" statements are different than the ones in the example configuration that use "True". Maybe that causes a difference? |
I have unfortunately not found the root cause of these problems yet. Completely wiping & rebuilding the containers seems to have fixed it for now, but I'm not sure if it'll spontaneously come back again. |
Interesting; I am not using a docker so I am unsure how I would go about fixing the problem as it is present on 2 of my computers. Are there any specific steps you took to make the services appear? For example, I know for topics you have to start publishing first before the new domain id can see the topic as the QOS has to be inherited if not specified. Sorry to ask so many questions from you, I am just a bit unsure how to proceed and am hoping I just missed something simple! |
As of now, the ros bridge doesn't support the bridging of services or actions via the config. you can build a custom executable for services, however, actions are not supported at all. I opened up a PR (#82) that adds support for services and actions via config using code generation if you want to have a look |
I'm working in a slightly odd setup with a Turtlebot 4 and the
domain_bridge
node running inside a docker container. I can see the topics from my Create3 platform (running on domain ID3
) being bridged into my Raspberry Pi (running on domain ID0
). However, the robot's actions & services are not visible when runningros2 service list
orros2 action list
.If I open a shell in my container I can see the actions & services on domain
3
inside the container. But they don't appear to be bridged into domain0
properly.My current configuration yaml file:
I've tried removing the
bidirectional
flags, but that didn't seem to have any effect; the topics remain visible but the actions & services are not.If I add the hidden
_action
topics to thetopics
configuration I do see the actions withros2 action list
, but sending a goal hangs on waiting for the action server to become available. Services remain unbridged in this setup.Am I doing something wrong with the configuration? Or do I need to build the package from source rather than installing the debian package? (If that's the case, will the recent changes be bloomed sometime soon?)
Docker configuration
Dockerfile
docker-compose.yml
config/create3.env
config/fastrtps-profile.xml
(This was done to work around the shared memory issues described here: https://answers.ros.org/question/370595/ros2-foxy-nodes-cant-communicate-through-docker-container-border/)
The text was updated successfully, but these errors were encountered: