Skip to content

Commit

Permalink
minor cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Serafadam committed Aug 21, 2024
1 parent 8f49b8d commit d81463e
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion depthai_bridge/include/depthai_bridge/ImageConverter.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ namespace ImageMsgs = sensor_msgs::msg;
namespace FFMPEGMsgs = ffmpeg_image_transport_msgs::msg;
using ImagePtr = ImageMsgs::Image::SharedPtr;
using FFMPEGImagePtr = FFMPEGMsgs::FFMPEGPacket::SharedPtr;
using ImpImgPtr = ImageMsgs::CompressedImage::SharedPtr;
using CompImagePtr = ImageMsgs::CompressedImage::SharedPtr;

using TimePoint = std::chrono::time_point<std::chrono::steady_clock, std::chrono::steady_clock::duration>;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@

#include <string>

#include "depthai-shared/common/CameraBoardSocket.hpp"
#include "depthai-shared/datatype/RawImgFrame.hpp"
#include "depthai-shared/properties/VideoEncoderProperties.hpp"
#include "depthai/common/CameraExposureOffset.hpp"
#include "depthai/pipeline/Node.hpp"
#include "depthai/pipeline/datatype/ADatatype.hpp"
#include "depthai_ros_driver/utils.hpp"
Expand Down
1 change: 1 addition & 0 deletions depthai_ros_driver/src/pipeline/pipeline_generator.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@ std::vector<std::unique_ptr<dai_nodes::BaseNode>> PipelineGenerator::createPipel
auto pubs = daiNode->getPublishers();
RCLCPP_DEBUG(node->get_logger(), "Number of synced publishers found for %s: %zu", daiNode->getName().c_str(), pubs.size());
if(pubs.empty()) {
continue;
} else {
std::for_each(pubs.begin(), pubs.end(), [&sync](auto& pub) {
sync->addPublisher(pub);
Expand Down

0 comments on commit d81463e

Please sign in to comment.