autowarefoundation / ros2_socketcan

A ROS2 wrapper around Linux SocketCAN
Apache License 2.0
119 stars 58 forks source link

fix: use find_package to fix rolling build error #43

Closed xmfcx closed 8 months ago

xmfcx commented 8 months ago

Follow up from:

Attempts to fix:

I don't know why is this necessary but without find_package(can_msgs REQUIRED) it cannot build with rolling.

xmfcx commented 8 months ago

Wrong judgement from my side.

It turns out this was coming from rosdep not resolving the package.xml things because I was in Ubuntu jammy and instead was asking for noble.

Instead, opened this PR: