Go to the documentation of this file.
30 #ifndef MAPVIZ_PLUGINS_LASERSCAN_PLUGIN_H_
31 #define MAPVIZ_PLUGINS_LASERSCAN_PLUGIN_H_
45 #include <sensor_msgs/LaserScan.h>
48 #include "ui_laserscan_config.h"
76 void Draw(
double x,
double y,
double scale);
80 void LoadConfig(
const YAML::Node& node,
const std::string& path);
81 void SaveConfig(YAML::Emitter& emitter,
const std::string& path);
87 void PrintInfo(
const std::string& message);
154 #endif // MAPVIZ_PLUGINS_LASERSCAN_PLUGIN_H_
QColor CalculateColor(const StampedPoint &point, bool has_intensity)
void ResetTransformedScans()
void PrintInfo(const std::string &message)
std::string source_frame_
QWidget * GetConfigWidget(QWidget *parent)
void updatePreComputedTriginometic(const sensor_msgs::LaserScanConstPtr &msg)
std::vector< double > precomputed_cos_
void PointSizeChanged(int value)
void ColorTransformerChanged(int index)
void PrintError(const std::string &message)
tf::Point transformed_point
bool GetScanTransform(const Scan &scan, swri_transform_util::Transform &transform)
void SaveConfig(YAML::Emitter &emitter, const std::string &path)
std::vector< StampedPoint > points
virtual ~LaserScanPlugin()
void BufferSizeChanged(int value)
void AlphaEdited(double val)
void UseRainbowChanged(int check_state)
void MinValueChanged(double value)
void MaxValueChanged(double value)
std::deque< Scan > scans_
std::vector< double > precomputed_sin_
void laserScanCallback(const sensor_msgs::LaserScanConstPtr &scan)
void PrintWarning(const std::string &message)
void LoadConfig(const YAML::Node &node, const std::string &path)
bool Initialize(QGLWidget *canvas)
ros::Subscriber laserscan_sub_
void Draw(double x, double y, double scale)
mapviz_plugins
Author(s): Marc Alban
autogenerated on Sun Sep 8 2024 02:27:14