use TopicStatistics only if available
Merge pull request #252 from ros-visualization/topic_statistic_only_if_available

use TopicStatistics only if available