Skip to content

Commit

Permalink
patches to fix TFs
Browse files Browse the repository at this point in the history
  • Loading branch information
jaredplusone committed Dec 4, 2024
1 parent 61f42e6 commit f673cc7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/ob_camera_node.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ OBCameraNode::OBCameraNode(ros::NodeHandle& nh, ros::NodeHandle& nh_private,
nh_private_(nh_private),
device_(std::move(device)),
device_info_(device_->getDeviceInfo()) {
stream_name_[COLOR] = "color";
stream_name_[COLOR] = "rgb";
stream_name_[DEPTH] = "depth";
stream_name_[INFRA0] = "ir";
stream_name_[INFRA1] = "ir2";
Expand Down
2 changes: 1 addition & 1 deletion src/ros_setup.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ void OBCameraNode::setupConfig() {
encoding_[DEPTH] = sensor_msgs::image_encodings::TYPE_16UC1;
format_str_[DEPTH] = "Y16";

stream_name_[COLOR] = "color";
stream_name_[COLOR] = "rgb";
unit_step_size_[COLOR] = 3;
format_[COLOR] = OB_FORMAT_RGB888;
image_format_[COLOR] = CV_8UC3;
Expand Down

0 comments on commit f673cc7

Please sign in to comment.