Skip to content

Commit

Permalink
more fixes to ros-visualization#1275
Browse files Browse the repository at this point in the history
- invalid quaternion: issue warning only
- triangle list accepts points.size()/3 colors as well (face colors)
- don't create text marker for interactive marker control with empty description
- allow more fine-grained log levels
  - distinguish all ros::console::levels
  - issue rviz status warning for any message, but avoid cluttering the console
  - use logger namespace to allow disabling console output
  • Loading branch information
rhaschke committed Sep 10, 2019
1 parent 779cbe8 commit d7cbf8d
Show file tree
Hide file tree
Showing 3 changed files with 230 additions and 246 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,8 @@ bool InteractiveMarker::processMessage( const visualization_msgs::InteractiveMar
boost::make_shared<InteractiveMarkerControl>( context_,
reference_node_, this );

description_control_->processMessage( interactive_markers::makeTitle( message ));
if (!message.description.empty())
description_control_->processMessage( interactive_markers::makeTitle( message ));

//create menu
menu_entries_.clear();
Expand Down
Loading

0 comments on commit d7cbf8d

Please sign in to comment.