Skip to content

Commit

Permalink
add sensor_msgs/PointCloud2 as default value for lidar3d_type_in param
Browse files Browse the repository at this point in the history
  • Loading branch information
petrapa6 committed Sep 16, 2024
1 parent c80ab70 commit 58ba910
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/PCLFiltration.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ void PCLFiltration::onInit() {

// Transformer
const auto uav_name = _common_handlers->param_loader->loadParam2<std::string>("uav_name");
const auto topic_3d_lidar_type = _common_handlers->param_loader->loadParam2<std::string>("topic_3d_lidar_type_in");
const auto topic_3d_lidar_type = _common_handlers->param_loader->loadParam2<std::string>("topic_3d_lidar_type_in", "sensor_msgs/PointCloud2");
_common_handlers->transformer = std::make_shared<mrs_lib::Transformer>("PCLFilter");
_common_handlers->transformer->setDefaultPrefix(uav_name);
_common_handlers->transformer->setLookupTimeout(ros::Duration(0.05));
Expand Down

0 comments on commit 58ba910

Please sign in to comment.