Closed vinnnyr closed 3 years ago
I don't have access to test at this moment but does a switch to sw_watchdog_msgs
under dependencies
result in a different outcome?
No, a switch to sw_watchdog_msgs
did not result in anything different
find_package(ament_cmake REQUIRED)
find_package(rclcpp REQUIRED)
find_package(rclcpp_components REQUIRED)
find_package(sw_watchdog REQUIRED)
include_directories(
include
)
set(dependencies
rclcpp
sw_watchdog_msgs
)
Error:
Package 'sw_watchdog' exports the typesupport library
'sw_watchdog_msgs__rosidl_typesupport_fastrtps_c' which couldn't be found
I have also just tested this in a fresh container with the same issue.
Just submitted #8, I think the issue stems from these lines:
I believe an appropriate resolution is to separate out the messages into it's own package.
@vinnnyr I'm curious: what is your use case for using these messages outside of the watchdog library?
@togaen I am developing a package to communicate autonomy "readiness" between two machines with divided responsibilities.
It is a "leader" "follower" scheme, and we use the Heartbeat message to establish reliable communication as well as communicate status/checkpoint with the checkpoint_id
. We increment the checkpoint_id as we progress in levels of "readiness" on both machines.
We thought it was better to use the established heartbeat message like this instead of come up with our own.
Although I think this might be somewhat specific to our machine type, when we are done testing we can offer to upstream this package here to show as an example if there is interest.
Cool, thanks for the info!
Not sure if this is an issue with the package or something I am doing wrong. I am trying to set this package as a dependency for another package so I can use the message type. Any help would be greatly appreciated.
Relevant Snippet:
Full error:
Snippet from my CMakeLists