Merged master to ros2. ros2: Uniformized qos of all subscribers and publishers.

This commit is contained in:
matlabbe
2021-10-04 19:29:19 -04:00
121 changed files with 10854 additions and 3478 deletions
+6
View File
@@ -49,6 +49,8 @@ MapGraphDisplay::MapGraphDisplay()
"Color to draw global loop closure links.", this );
color_local_property_ = new rviz_common::properties::ColorProperty( "Local loop closure", Qt::yellow,
"Color to draw local loop closure links.", this );
color_landmark_property_ = new rviz_common::properties::ColorProperty( "Landmark", Qt::darkGreen,
"Color to draw landmark links.", this );
color_user_property_ = new rviz_common::properties::ColorProperty( "User", Qt::red,
"Color to draw user links.", this );
color_virtual_property_ = new rviz_common::properties::ColorProperty( "Virtual", Qt::magenta,
@@ -148,6 +150,10 @@ void MapGraphDisplay::processMessage( const rtabmap_ros::msg::MapGraph::ConstSha
{
color = color_local_property_->getOgreColor();
}
else if(iter->second.type() == rtabmap::Link::kLandmark)
{
color = color_landmark_property_->getOgreColor();
}
else
{
color = color_global_property_->getOgreColor();