Skip to content

Is there a direct way to communicate XRCE requesters and repliers and ROS-2 node via Micro-ROS agent #358

Open
@arshPratap

Description

@arshPratap

Currently I am trying to recreate the ReplyAdder example to communicate with ROS-2 nodes and was fairly successful in doing so with the ROS-2 nodes via integration services. My current question is that is there a way to directly communicate with ROS-2 nodes using the micro-ros agent (similar to how it was tackled in #250 ).
Based on the docs , my current replier configuration is as follows :

    const char* replier_xml = "<dds>"
            "<replier profile_name=\"rr/my_requester\""
            "service_name=\"rs/AddTwoInts\""
            "request_type=\"example_interfaces::srv::dds_::AddTwoInts_Request\""
            "reply_type=\"example_interfaces::srv::dds_::AddTwoInts_Response\">"
            "</replier>"
            "</dds>";

But on the ROS-2 side there is no corresponding service listed when I run : ros2 service list

Any ideas how to proceed with this ?
Thanks

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions