Hardware description: Portenta H7
Installation type:github,linux command line
Version or commit hash: humble
I use MicroRos to communicate a Portenta H7 with ROS2 Humble in a Ubuntu 22.04 PC. Portenta H7 has subscrivers and publisers and, also, request to services that are hosted in the PC.
If MicroRos Agent is compiled WITHOUT "-DRMW_UXRCE_CREATION_MODE=refs" option, system works as expected. But if agent is compiled WITH "-DRMW_UXRCE_CREATION_MODE=refs" option, Portenta is unable to perform request to any service. Publishers and subscribers work correctly in this scenerario.
Agent is launched with this command line:
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 --middleware dds -v6 ROS_DOMAIN_ID=$ros_domain_id -r /root/TestServices/custom_qos_test.refs
Hardware description: Portenta H7 Installation type:github,linux command line Version or commit hash: humble
I use MicroRos to communicate a Portenta H7 with ROS2 Humble in a Ubuntu 22.04 PC. Portenta H7 has subscrivers and publisers and, also, request to services that are hosted in the PC.
If MicroRos Agent is compiled WITHOUT "-DRMW_UXRCE_CREATION_MODE=refs" option, system works as expected. But if agent is compiled WITH "-DRMW_UXRCE_CREATION_MODE=refs" option, Portenta is unable to perform request to any service. Publishers and subscribers work correctly in this scenerario.
Agent is launched with this command line:
ros2 run micro_ros_agent micro_ros_agent serial --dev /dev/ttyACM0 --middleware dds -v6 ROS_DOMAIN_ID=$ros_domain_id -r /root/TestServices/custom_qos_test.refs
The content of custom_qos_test.refs file is:
The problem ocurrs as soon portenta tries to send the request of the service:
In fact, when the error occurs, the data of frame shown in the agent is the following:
Translating the hex code to ASCII, the result is:
rd<dds><requester profile_name="0_7" service_name="/TestService" request_type="mss_types::srv::dds_::
I don't know if it is a problem with .refs file configuration, but the problem seems to be limited to the services: