17 #include <dynamic_reconfigure/server.h> 18 #include <gtest/gtest.h> 27 #include <toposens_markers/TsMarkersConfig.h> 28 #include <toposens_msgs/TsScan.h> 36 static const std::string
kMeshNs =
"TsSensor";
52 static const auto _baseScale = rviz_visual_tools::scales::LARGE;
74 typedef dynamic_reconfigure::Server<TsMarkersConfig>
Cfg;
81 void _reconfig(TsMarkersConfig &cfg, uint32_t level);
87 void _plot(
const toposens_msgs::TsScan::ConstPtr &msg);
106 std::deque<toposens_msgs::TsScan>
_scans;
Plot(ros::NodeHandle nh, ros::NodeHandle private_nh)
void _plot(const toposens_msgs::TsScan::ConstPtr &msg)
void _reconfig(TsMarkersConfig &cfg, uint32_t level)
std::string _target_frame
tf2_ros::MessageFilter< toposens_msgs::TsScan > * _tf2_filter
void _staticTFCallback(const tf2_msgs::TFMessage::ConstPtr &tf)
std::deque< toposens_msgs::TsScan > _scans
std::map< std::string, rviz_visual_tools::colors > _mesh_color_map
ros::Subscriber _scans_sub
void publishDefaultSensorMesh()
static const std::string kMarkersTopic
tf2_ros::Buffer _tf2_buffer
std::shared_ptr< Cfg > _srv
std::map< std::string, std_msgs::ColorRGBA > _color_map
dynamic_reconfigure::Server< TsMarkersConfig > Cfg
static const auto _baseScale
static const std::string kMarkersNs
rviz_visual_tools::RvizVisualToolsPtr _rviz
message_filters::Subscriber< toposens_msgs::TsScan > _tf2_scans_sub
std::map< std::string, geometry_msgs::Pose > _pose_map
void publishSensorMeshes()
tf2_ros::TransformListener * _tf2_listener
static const std::string kMeshNs
ros::Subscriber _static_tf_sub