Skip to content

Commit

Permalink
TODO: fix depth publish in ROS
Browse files Browse the repository at this point in the history
  • Loading branch information
Bob-Eric committed Nov 17, 2024
1 parent e4f1c15 commit ba45371
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ public override void Init()
_header.Init();
_sourceInterface = _source as ITextureInterface;
_msg.format = "jpeg";
// FIXME: Depth image should not be compressed as jpeg.
// It is normally encoded as 32FC1 and 16UC1, whose units are meters and millimeters respectively.
// So we need a new serializer for depth images.
}

public override CompressedImageMsg Serialize()
Expand Down

0 comments on commit ba45371

Please sign in to comment.