Public Member Functions | Private Attributes
stdr_robot::ThermalSensor Class Reference

#include <thermal.h>

Inheritance diagram for stdr_robot::ThermalSensor:
Inheritance graph
[legend]

List of all members.

Public Member Functions

void receiveThermalSources (const stdr_msgs::ThermalSourceVector &msg)
 Receives the existent sound sources.
 ThermalSensor (const nav_msgs::OccupancyGrid &map, const stdr_msgs::ThermalSensorMsg &msg, const std::string &name, ros::NodeHandle &n)
 Default constructor.
virtual void updateSensorCallback ()
 Updates the sensor measurements.
 ~ThermalSensor (void)
 Default destructor.

Private Attributes

stdr_msgs::ThermalSensorMsg _description
 < thermal sensor description
stdr_msgs::ThermalSourceVector thermal_sources_
ros::Subscriber thermal_sources_subscriber_
 The currently existent sources.

Detailed Description

Definition at line 42 of file thermal.h.


Constructor & Destructor Documentation

stdr_robot::ThermalSensor::ThermalSensor ( const nav_msgs::OccupancyGrid &  map,
const stdr_msgs::ThermalSensorMsg &  msg,
const std::string &  name,
ros::NodeHandle n 
)

Default constructor.

Parameters:
map[const nav_msgs::OccupancyGrid&] An occupancy grid map
msg[const stdr_msgs::ThermalSensorMsg&] The thermal sensor \ description message
name[const std::string&] The sensor frame id without the base
n[ros::NodeHandle&] The ROS node handle
Returns:
void

Definition at line 29 of file thermal.cpp.

Default destructor.

Returns:
void

Definition at line 52 of file thermal.cpp.


Member Function Documentation

void stdr_robot::ThermalSensor::receiveThermalSources ( const stdr_msgs::ThermalSourceVector &  msg)

Receives the existent sound sources.

Receives the existent sources.

Parameters:
msg[const stdr_msgs::ThermalSourceVector&] The thermal sources message
Returns:
void

Definition at line 118 of file thermal.cpp.

Updates the sensor measurements.

Returns:
void

< Must implement the functionality

< Check for max distance

Implements stdr_robot::Sensor.

Definition at line 61 of file thermal.cpp.


Member Data Documentation

stdr_msgs::ThermalSensorMsg stdr_robot::ThermalSensor::_description [private]

< thermal sensor description

ROS subscriber for sound sources

Definition at line 84 of file thermal.h.

stdr_msgs::ThermalSourceVector stdr_robot::ThermalSensor::thermal_sources_ [private]

Definition at line 88 of file thermal.h.

The currently existent sources.

Definition at line 87 of file thermal.h.


The documentation for this class was generated from the following files:


stdr_robot
Author(s): Manos Tsardoulias, Chris Zalidis, Aris Thallas
autogenerated on Thu Jun 6 2019 18:57:28