Skip to content
This repository was archived by the owner on Mar 30, 2019. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions include/depthimage_to_laserscan/DepthImageToLaserScanROS.h
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,10 @@ namespace depthimage_to_laserscan

rclcpp::Publisher<sensor_msgs::msg::LaserScan>::SharedPtr scan_pub_;

rclcpp::ParameterService::SharedPtr parameter_service_;

depthimage_to_laserscan::DepthImageToLaserScan dtl_; ///< Instance of the DepthImageToLaserScan conversion class.
};


} // depthimage_to_laserscan

#endif
#endif
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems my editor auto-added a newline here

2 changes: 0 additions & 2 deletions src/DepthImageToLaserScanROS.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,6 @@ DepthImageToLaserScanROS::DepthImageToLaserScanROS(rclcpp::Node::SharedPtr & nod

scan_pub_ = node_->create_publisher<sensor_msgs::msg::LaserScan>("scan");

parameter_service_ = std::make_shared<rclcpp::ParameterService>(node_);

float scan_time = 0.033;
node_->get_parameter("scan_time", scan_time);
dtl_.set_scan_time(scan_time);
Expand Down