Conversation
|
This seems weird to me. This would mean that all packages defining services need to depend on Are you only having this problem with |
|
@christophebedard your point makes sense! I may have been too quick to accept the PR's premise... This could be specifically a micro-XRCE-DDS typesupport issue, not a general ROS 2 issue? Does this issue occur with standard DDS implementations? (FastDDS, CycloneDDS) - If not, this would not be a sensor_msgs bug. |
fujitatomoya
left a comment
There was a problem hiding this comment.
more information required.
Yeah, |
|
Hello @brandonho667 👋 We have specific logic in our cmake modules that automatically appends The takeaway is that in a standard ROS 2 cmake workspace this should be handled automatically for you. It seems like this is a Micro-ROS issue when used with I'm going to close this issue. If you feel I have done this prematurely, feel free to open it up again. |
Description
Adds
service_msgsas a dep ofsensor_msgsto make dependency explicit (ensure it builds first and is linked in properly).Is this user-facing behavior change?
Yes, fixes microxrcedds build.
Did you use Generative AI?
No
Additional Information
I was getting errors for
ServiceEventInfosymbol not being linked (buildingmicroxrceddstypesupport).Found that sensor_msgs wasn't linked to
libservice_msgs__rosidl_typesupport_microxrcedds_c.soeven though it existed.Rebuilt only
sensor_msgsin my workspace (while keepingservice_msgs) and the link showed up fine. Looks like it was just a build order thing.