83 float pose_theta = yaw;
106 painter.setBrush(brush_cone);
107 QPen pen(QColor(0,0,0,0));
111 pose_x / ocgd -
msg_.maxRange / ocgd,
113 pose_y / ocgd -
msg_.maxRange / ocgd,
115 msg_.maxRange / ocgd * 2,
116 msg_.maxRange / ocgd * 2,
163 return msg_.frame_id;
172 stdr_msgs::CO2SourceVector env_co2_sources)
bool lock_
The ROS tf frame.
std::string getFrameId(void)
Returns the frame id of the specific sensor.
Subscriber subscribe(const std::string &topic, uint32_t queue_size, void(T::*fp)(M), T *obj, const TransportHints &transport_hints=TransportHints())
stdr_msgs::CO2SensorMeasurementMsg co2_sources_
The tags that exist in the environment.
stdr_msgs::CO2SourceVector env_co2_sources_
void setEnvironmentalCO2Sources(stdr_msgs::CO2SourceVector env_co2_sources)
Sets the tags existent in the environment.
void toggleVisualizationStatus(void)
Toggles the visibility status of the specific sensor.
TFSIMD_FORCE_INLINE const tfScalar & x() const
void setVisualizationStatus(char vs)
Sets the visibility status of the specific sensor.
ros::Subscriber subscriber_
Used to avoid drawing when a new sonar message arives.
void getRPY(tfScalar &roll, tfScalar &pitch, tfScalar &yaw, unsigned int solution_number=1) const
CGuiCO2(stdr_msgs::CO2SensorMsg msg, std::string baseTopic)
Default contructor.
TFSIMD_FORCE_INLINE const tfScalar & y() const
The main namespace for STDR GUI.
void paint(QImage *m, float ocgd, tf::TransformListener *listener)
Paints the rfid measurements in the map image.
~CGuiCO2(void)
Default destructor.
std::string topic_
< The topic from which the new RFID tags will be got
char getVisualizationStatus(void)
Returns the visibility status of the specific sensor.
void callback(const stdr_msgs::CO2SensorMeasurementMsg &msg)
Callback for the rfid measurement message.
std::string tf_frame_
Visualization status of the specific sonar.
stdr_msgs::CO2SensorMsg msg_
A ros subscriber.
char visualization_status_
The stdr rfid sensor measurement msg.