From 62737e5c4142a0ebf2accb77bb1ff0a4419c549e Mon Sep 17 00:00:00 2001 From: Hiroki OTA Date: Mon, 15 May 2023 12:57:58 +0900 Subject: [PATCH] fix(tier4_vehicle_rviz_plugin): fix build warning in Humble (#451) --- common/tier4_vehicle_rviz_plugin/src/tools/steering_angle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/tier4_vehicle_rviz_plugin/src/tools/steering_angle.cpp b/common/tier4_vehicle_rviz_plugin/src/tools/steering_angle.cpp index ee922e017511b..e0bdd3e350718 100644 --- a/common/tier4_vehicle_rviz_plugin/src/tools/steering_angle.cpp +++ b/common/tier4_vehicle_rviz_plugin/src/tools/steering_angle.cpp @@ -130,7 +130,7 @@ void SteeringAngleDisplay::update(float wall_dt, float ros_dt) // ((property_handle_angle_scale_->getFloat() * (msg_ptr->data / M_PI) * -180.0)); int handle_image_width = handle_image_.width(), handle_image_height = handle_image_.height(); QPixmap rotate_handle_image; - rotate_handle_image = handle_image_.transformed(rotation_matrix); + rotate_handle_image = handle_image_.transformed(QTransform(rotation_matrix)); rotate_handle_image = rotate_handle_image.copy( (rotate_handle_image.width() - handle_image_width) / 2, (rotate_handle_image.height() - handle_image_height) / 2, handle_image_width,