22 #ifndef MICROPHONE_SENSOR_H 23 #define MICROPHONE_SENSOR_H 27 #include <stdr_msgs/SoundSensorMsg.h> 28 #include <stdr_msgs/SoundSensorMeasurementMsg.h> 29 #include <stdr_msgs/SoundSourceVector.h> 55 const nav_msgs::OccupancyGrid& map,
56 const stdr_msgs::SoundSensorMsg& msg,
57 const std::string& name,
SoundSensor(const nav_msgs::OccupancyGrid &map, const stdr_msgs::SoundSensorMsg &msg, const std::string &name, ros::NodeHandle &n)
Default constructor.
The main namespace for STDR Robot.
A class that provides sensor abstraction.
void receiveSoundSources(const stdr_msgs::SoundSourceVector &msg)
Receives the existent sound sources.
stdr_msgs::SoundSensorMsg _description
< sound sensor description
ros::Subscriber sound_sources_subscriber_
The currently existent sources.
~SoundSensor(void)
Default destructor.
virtual void updateSensorCallback()
Updates the sensor measurements.
stdr_msgs::SoundSourceVector sound_sources_