Format comments
This commit is contained in:
parent
c9483c2aca
commit
28204d5c0a
|
@ -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);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user