Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow the MapDisplay "Update Topic" to be changed. #517

Merged
merged 1 commit into from
Mar 12, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -77,12 +77,11 @@ MapDisplay::MapDisplay()
update_topic_property_ = new rviz_common::properties::RosTopicProperty(
"Update Topic", "",
"", "Topic where updates to this map display are received. "
"Currently, this topic is read-only and will automatically be determined by the map topic. "
"If the map is received on 'map_topic', the display assumes to receive updates on "
"'map_topic_updates'.", this);
// Set the property to read only for now. Since it is not connected to any slot,
// we don't want to update it.
update_topic_property_->setReadOnly(true);
"This topic is automatically determined by the map topic. "
"If the map is received on 'map_topic', the display assumes updates are received on "
"'map_topic_updates'."
"This can be overridden in the UI by clicking on the topic and setting the desired topic.",
this, SLOT(updateMapUpdateTopic()));

update_profile_property_ = new rviz_common::properties::QosProfileProperty(
update_topic_property_, update_profile_);
Expand Down