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

Does an Agent using FastDDS have Discovery QoS Configuration? #365

Open
Herbifors opened this issue Apr 13, 2024 · 2 comments
Open

Does an Agent using FastDDS have Discovery QoS Configuration? #365

Herbifors opened this issue Apr 13, 2024 · 2 comments

Comments

@Herbifors
Copy link

Issue

I tried applying the Discovery configuration from the link, but it doesn't seem to be working. Can an agent using FastDDS apply the QoS settings provided in the link when sending information via DDS?

Fast-DDS link

https://fast-dds.docs.eprosima.com/en/latest/fastdds/discovery/static.html#static-edp

@pablogs9
Copy link
Member

Yes, you can configure Fast DDS profiles using the environment variable FASTRTPS_DEFAULT_PROFILES_FILE as explained here: https://fast-dds.docs.eprosima.com/en/latest/fastdds/xml_configuration/xml_configuration.html

@Herbifors
Copy link
Author

Yes, you can configure Fast DDS profiles using the environment variable FASTRTPS_DEFAULT_PROFILES_FILE as explained here: https://fast-dds.docs.eprosima.com/en/latest/fastdds/xml_configuration/xml_configuration.html

Thank you for your Answer.
I've reviewed the document you provided and attempted to run a simple simulation. however, it seems that Static Discovery is not functioning in the Agent

If Static Discovery is possible to the Agent, please let me know the method.

Simulate Task

  1. Create an XML including <EDP>STATIC<EDP> and check the Discovery Change (Attachment 1)
    • FASTRTPS_DEFAULT_PROFILES_FILE="XML location"
    • run ros2 demos
    • 172.17.0.2 is apply the Static(fast-dds), 0.4 is normal Fast-dds
  2. Apply the same XML file to the Agent and verify the Discovery Change (Attachment 2)
    • FASTRTPS_DEFAULT_PROFILES_FILE="XML location"
    • run "MicroXRCEAgent udp4 -p 8888"
    • 172.17.0.2 is apply the Static(agent), 0.4 is normal Fast-dds and 0.2(agent) remained the same packet length regardless of the Discovery setting

Discovery changes were observed in FAST-DDS, but it seems that there were no changes in the Agent.

Attachment1

ROS2(Fast-DDS)

Attachment2

Agent(Fast-DDS)

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

2 participants