83 float pose_theta = yaw;
86 painter.setBrush(brush_cone);
87 QPen pen(QColor(0,0,0,0));
91 pose_x / ocgd -
msg_.maxRange / ocgd,
93 pose_y / ocgd -
msg_.maxRange / ocgd,
95 msg_.maxRange / ocgd * 2,
96 msg_.maxRange / ocgd * 2,
98 - (pose_theta -
msg_.angleSpan / 2.0)
144 return msg_.frame_id;
153 stdr_msgs::ThermalSourceVector env_thermal_sources)
std::string getFrameId(void)
Returns the frame id of the specific sensor.
char getVisualizationStatus(void)
Returns the visibility status of the specific sensor.
void paint(QImage *m, float ocgd, tf::TransformListener *listener)
Paints the rfid measurements in the map image.
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
std::string topic_
< The topic from which the new RFID tags will be got
std::string tf_frame_
Visualization status of the specific sonar.
void toggleVisualizationStatus(void)
Toggles the visibility status of the specific sensor.
stdr_msgs::ThermalSourceVector env_thermal_sources_
~CGuiThermal(void)
Default destructor.
TFSIMD_FORCE_INLINE const tfScalar & x() const
bool lock_
The ROS tf frame.
void getRPY(tfScalar &roll, tfScalar &pitch, tfScalar &yaw, unsigned int solution_number=1) const
stdr_msgs::ThermalSensorMsg msg_
A ros subscriber.
void setEnvironmentalThermalSources(stdr_msgs::ThermalSourceVector env_thermal_sources)
Sets the tags existent in the environment.
TFSIMD_FORCE_INLINE const tfScalar & y() const
ros::Subscriber subscriber_
Used to avoid drawing when a new sonar message arives.
The main namespace for STDR GUI.
CGuiThermal(stdr_msgs::ThermalSensorMsg msg, std::string baseTopic)
Default contructor.
char visualization_status_
The stdr rfid sensor measurement msg.
void callback(const stdr_msgs::ThermalSensorMeasurementMsg &msg)
Callback for the rfid measurement message.
void setVisualizationStatus(char vs)
Sets the visibility status of the specific sensor.
stdr_msgs::ThermalSensorMeasurementMsg thermal_sources_
The tags that exist in the environment.