Skip to content

Commit 8d045c5

Browse files
committed
Merge branch 'main' into JRA/TensorRT-fixes
2 parents c2b7290 + 2bb7799 commit 8d045c5

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

perception/object_detector/object_detector.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ namespace mrover {
4040
}
4141

4242
StereoObjectDetector::StereoObjectDetector() {
43-
mSensorSub = create_subscription<sensor_msgs::msg::PointCloud2>("/camera/left/points", 1, [this](sensor_msgs::msg::PointCloud2::UniquePtr const& msg) {
43+
mSensorSub = create_subscription<sensor_msgs::msg::PointCloud2>("/zed/left/points", 1, [this](sensor_msgs::msg::PointCloud2::UniquePtr const& msg) {
4444
StereoObjectDetector::pointCloudCallback(msg);
4545
});
4646
}

perception/zed_wrapper/zed_wrapper.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,13 @@ namespace mrover {
1818
RCLCPP_INFO(this->get_logger(), "Created Zed Wrapper Node, %s", NODE_NAME);
1919

2020
// Publishers
21-
mRightImgPub = create_publisher<sensor_msgs::msg::Image>("right/image", 1);
22-
mLeftImgPub = create_publisher<sensor_msgs::msg::Image>("left/image", 1);
21+
mRightImgPub = create_publisher<sensor_msgs::msg::Image>("zed/right/image", 1);
22+
mLeftImgPub = create_publisher<sensor_msgs::msg::Image>("zed/left/image", 1);
2323
mImuPub = create_publisher<sensor_msgs::msg::Imu>("zed_imu/data_raw", 1);
2424
mMagPub = create_publisher<sensor_msgs::msg::MagneticField>("zed_imu/mag", 1);
25-
mPcPub = create_publisher<sensor_msgs::msg::PointCloud2>("camera/left/points", 1);
26-
mRightCamInfoPub = create_publisher<sensor_msgs::msg::CameraInfo>("camera/right/camera_info", 1);
27-
mLeftCamInfoPub = create_publisher<sensor_msgs::msg::CameraInfo>("camera/left/camera_info", 1);
25+
mPcPub = create_publisher<sensor_msgs::msg::PointCloud2>("zed/left/points", 1);
26+
mRightCamInfoPub = create_publisher<sensor_msgs::msg::CameraInfo>("zed/right/camera_info", 1);
27+
mLeftCamInfoPub = create_publisher<sensor_msgs::msg::CameraInfo>("zed/left/camera_info", 1);
2828

2929
// Declare and set Params
3030
int imageWidth{};

0 commit comments

Comments
 (0)