micro-ROS / rmw_microxrcedds

RMW implementation using Micro XRCE-DDS middleware.
Apache License 2.0
35 stars 26 forks source link

‘UXR_REQUESTER_ID’ undeclared in rmw_node.c #47

Closed Sdehnavi closed 4 years ago

Sdehnavi commented 4 years ago

Hi,

I get the following error in rmw_node.c rmw_client.c:110:69: error: ‘UXR_REQUESTER_ID’ undeclared (first use in this function); did you mean ‘UXR_REQUEST_NONE’? custom_client->client_id = uxr_object_id(custom_node->id_gen++, UXR_REQUESTER_ID);

Would you please tell me where UXR_REQUESTER_ID has been defined? Thanks!

pablogs9 commented 4 years ago

Hello, can you detail which is your Micro-ROS setup?

It seems that you have a version of Micro-XRCE-DDS-Client without services, because the value you are refering is related to services implementation. They are implemented in this commit: https://github.com/eProsima/Micro-XRCE-DDS-Client/commit/fd52a2505f5efc0ce7071a7780035c0fc82076bf

Sdehnavi commented 4 years ago

Thanks @pablogs9 I changed to the crystal version and now it has been solved. But I have another issue which is related to type_support. I will create a new issue for it.