27 #include <stdr_msgs/CO2SensorMsg.h> 28 #include <stdr_msgs/CO2SensorMeasurementMsg.h> 29 #include <stdr_msgs/CO2SourceVector.h> 55 const nav_msgs::OccupancyGrid& map,
56 const stdr_msgs::CO2SensorMsg& msg,
57 const std::string& name,
stdr_msgs::CO2SensorMsg _description
< CO2 sensor description
virtual void updateSensorCallback()
Updates the sensor measurements.
The main namespace for STDR Robot.
ros::Subscriber co2_sources_subscriber_
The currently existent sources.
~CO2Sensor(void)
Default destructor.
A class that provides sensor abstraction.
CO2Sensor(const nav_msgs::OccupancyGrid &map, const stdr_msgs::CO2SensorMsg &msg, const std::string &name, ros::NodeHandle &n)
Default constructor.
stdr_msgs::CO2SourceVector co2_sources_
void receiveCO2Sources(const stdr_msgs::CO2SourceVector &msg)
Receives the existent co2 sources.