1 #ifndef __AMBIENT_SOUND_DISPLAY__ 2 #define __AMBIENT_SOUND_DISPLAY__ 4 #ifndef Q_MOC_RUN // See: https://bugreports.qt-project.org/browse/QTBUG-22829 7 #include <jsk_hark_msgs/HarkPower.h> 9 #include <boost/circular_buffer.hpp> 25 class ROSTopicStringProperty;
33 class AmbientSoundVisual;
42 AmbientSoundDisplay();
43 virtual ~AmbientSoundDisplay();
46 virtual void onInitialize();
90 void updateColorAndAlpha();
91 void updateAppearance();
92 void updateHistoryLength();
98 void processMessage(
const jsk_hark_msgs::HarkPower::ConstPtr& msg );
114 #if ROS_VERSION_MINIMUM(1,12,0) 115 boost::circular_buffer<std::shared_ptr<AmbientSoundVisual> > visuals_;
117 boost::circular_buffer<boost::shared_ptr<AmbientSoundVisual> >
visuals_;
151 #endif // __AMBIENT_SOUND_DISPLAY__ rviz::FloatProperty * scale_property_
rviz::IntProperty * history_length_property_
rviz::ColorProperty * color_property_
rviz::ROSTopicStringProperty * topic_property_
bool validateFloats(const sensor_msgs::CameraInfo &msg)
boost::circular_buffer< boost::shared_ptr< AmbientSoundVisual > > visuals_
rviz::FloatProperty * width_property_
rviz::FloatProperty * grad_property_
rviz::FloatProperty * bias_property_
rviz::FloatProperty * alpha_property_