Format comments

This commit is contained in:
John Zhao 2018-08-13 09:10:23 +08:00
parent c9483c2aca
commit 28204d5c0a

View File

@ -378,10 +378,8 @@ class ROSWrapperNodelet : public nodelet::Nodelet {
void publishCamera( void publishCamera(
const Stream &stream, const api::StreamData &data, std::uint32_t seq, const Stream &stream, const api::StreamData &data, std::uint32_t seq,
ros::Time stamp) { ros::Time stamp) {
/* // if (camera_publishers_[stream].getNumSubscribers() == 0)
if (camera_publishers_[stream].getNumSubscribers() == 0) // return;
return;
*/
std_msgs::Header header; std_msgs::Header header;
header.seq = seq; header.seq = seq;
header.stamp = stamp; header.stamp = stamp;
@ -419,10 +417,8 @@ return;
void publishPoints( void publishPoints(
const api::StreamData &data, std::uint32_t seq, ros::Time stamp) { const api::StreamData &data, std::uint32_t seq, ros::Time stamp) {
/* // if (points_publisher_.getNumSubscribers() == 0)
if (points_publisher_.getNumSubscribers() == 0) // return;
return;
*/
auto &&in = api_->GetIntrinsics(Stream::LEFT); auto &&in = api_->GetIntrinsics(Stream::LEFT);