autowarefoundation / autoware.universe

https://autowarefoundation.github.io/autoware.universe/
Apache License 2.0
1k stars 641 forks source link

Avoid `no viable conversion` warning in yabloc #7210

Closed veqcc closed 4 months ago

veqcc commented 5 months ago

Checklist

Description

Clang-tidy warns yabloc with the following in 7 modules:

no viable conversion from 'yabloc::common::Color' to 'std_msgs::msg::ColorRGBA_<std::allocator<void>>'

or

no viable conversion from 'common::Color' to 'std_msgs::msg::ColorRGBA_<std::allocator<void>>'

Could you fix the codes to avoid these warnings?

If possible, could you add proper assignees? I'm not sure who is responsible for them.

Purpose

To reduce clang-tidy CRITICAL level warnings

Possible approaches

nothing

Definition of done

The warnings are reduced

KYabuuchi commented 5 months ago

@veqcc Thank you for reporting the issue. I will try to fix it :+1:

KYabuuchi commented 4 months ago

@veqcc I have fixed the warning by https://github.com/autowarefoundation/autoware.universe/pull/7299