- marked as minor
#10 Dataspeed_can_usb: static parameter error on Galactic
Issue #10
resolved
Received the following error when trying to run ros2 branch with ROS Galactic:
[can_node-1] terminate called after throwing an instance of 'rclcpp::exceptions::InvalidParameterTypeException'
[can_node-1] what(): parameter 'channel_1_mask_0' has invalid type: cannot undeclare an statically typed parameter
Propose change in CanDriver.cpp line 110 and 111
from filter.mask = static_cast<uint32_t>(mask);
to filter.mask = mask;
and
from filter.match = static_cast<uint32_t>(match);
to filter.match = match;
Comments (2)
-
reporter -
- changed status to resolved
Likely fixed with b0846f5
- Log in to comment