33
33
#include < mutex>
34
34
#include < string>
35
35
36
- namespace autoware_vehicle_overlay_rviz_plugin
36
+ namespace autoware_overlay_rviz_plugin
37
37
{
38
38
39
39
SignalDisplay::SignalDisplay ()
@@ -47,7 +47,7 @@ SignalDisplay::SignalDisplay()
47
47
property_top_ = new rviz_common::properties::IntProperty (
48
48
" Top" , 10 , " Top position of the overlay" , this , SLOT (updateOverlayPosition ()));
49
49
property_signal_color_ = new rviz_common::properties::ColorProperty (
50
- " Signal Color" , QColor (25 , 18 , 89 ), " Color of the signal arrows" , this ,
50
+ " Signal Color" , QColor (" 25, 18, 89" ), " Color of the signal arrows" , this ,
51
51
SLOT (updateOverlayColor ()));
52
52
53
53
// Initialize the component displays
@@ -68,7 +68,7 @@ void SignalDisplay::onInitialize()
68
68
static int count = 0 ;
69
69
std::stringstream ss;
70
70
ss << " SignalDisplayObject" << count++;
71
- overlay_.reset (new autoware_vehicle_overlay_rviz_plugin ::OverlayObject (ss.str ()));
71
+ overlay_.reset (new autoware_overlay_rviz_plugin ::OverlayObject (ss.str ()));
72
72
overlay_->show ();
73
73
updateOverlaySize ();
74
74
updateOverlayPosition ();
@@ -206,7 +206,7 @@ void SignalDisplay::update(float /* wall_dt */, float /* ros_dt */)
206
206
if (!overlay_) {
207
207
return ;
208
208
}
209
- autoware_vehicle_overlay_rviz_plugin ::ScopedPixelBuffer buffer = overlay_->getBuffer ();
209
+ autoware_overlay_rviz_plugin ::ScopedPixelBuffer buffer = overlay_->getBuffer ();
210
210
QImage hud = buffer.getQImage (*overlay_);
211
211
hud.fill (Qt::transparent);
212
212
drawWidget (hud);
@@ -516,7 +516,7 @@ void SignalDisplay::topic_updated_traffic()
516
516
});
517
517
}
518
518
519
- } // namespace autoware_vehicle_overlay_rviz_plugin
519
+ } // namespace autoware_overlay_rviz_plugin
520
520
521
521
#include < pluginlib/class_list_macros.hpp>
522
- PLUGINLIB_EXPORT_CLASS (autoware_vehicle_overlay_rviz_plugin ::SignalDisplay, rviz_common::Display)
522
+ PLUGINLIB_EXPORT_CLASS (autoware_overlay_rviz_plugin ::SignalDisplay, rviz_common::Display)
0 commit comments