This commit is contained in:
Brandon Thomas committed 2021-03-19 02:54:28 -04:00
1 parent 483e3d4aa6
commit a21ae0ca64
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -134,7 +134,7 @@ impl WorldCalibration {
pub fn rotate_point(&self, x: f32, y: f32, z: f32) -> (f32, f32, f32) {
let x0 = x * self.rotation_0_x + y * self.rotation_0_y + z * self.rotation_0_z;
let y0 = x * self.rotation_1_x + y * self.rotation_1_y + z * self.rotation_1_z;
let z0 = x * self.rotation_1_x + y * self.rotation_1_y + z * self.rotation_1_z;
let z0 = x * self.rotation_2_x + y * self.rotation_2_y + z * self.rotation_2_z;
(x0, y0, z0)
}
+1 -1
View File
@@ -264,7 +264,7 @@ fn get_point_cloud(
&depth_image2,
&camera_info.xy_table,
Some(&camera_info.world_calibration),
//color,
//None,
&color_image,
command_args,
)?;