Skip to content

Commit

Permalink
[1.9.x][example]:fixed Transformation.cpp code comment
Browse files Browse the repository at this point in the history
  • Loading branch information
3Ddaiwei committed Mar 5, 2024
1 parent ea7efb7 commit 3f22e57
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions examples/cpp/Sample-Transformation/Transformation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ void saveRGBDPointsDataToPly(uint8_t *pointcloudData, uint32_t pointcloudSize, s
fclose(fp);
}

int depthPointCloudTransformation(std::shared_ptr<ob::Device> device, int number) {
int depthPointCloudTransformation(std::shared_ptr<ob::Device> device, int case_number) {
// create pipeline
auto pipeline = std::shared_ptr<ob::Pipeline>(new ob::Pipeline(device));

Expand Down Expand Up @@ -345,7 +345,7 @@ int RGBPointCloudTransformation(std::shared_ptr<ob::Device> device) {

int main(int argc, char **argv) try {

int number = 3;
int case_number = 3;

ob::Context ctx;
ctx.setLoggerSeverity(OB_LOG_SEVERITY_WARN);
Expand All @@ -358,9 +358,9 @@ int main(int argc, char **argv) try {
}

// Invoking the utils class to generate an undistorted depth point cloud.
depthPointCloudTransformation(device, number);
depthPointCloudTransformation(device, case_number);

// Invoking the utils class to generate an undistorted depth point cloud.
// Invoking the utils class to generate an undistorted RGBD point cloud.
RGBPointCloudTransformation(device);
}
catch(ob::Error &e) {
Expand Down

0 comments on commit 3f22e57

Please sign in to comment.