mirror of
https://github.com/storytold/cloudcam.git
synced 2026-11-24 19:00:52 +01:00
fix bug
This commit is contained in:
1 parent
483e3d4aa6
commit
a21ae0ca64
2 files changed
+2
-2
No files matched your search
@@ -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
@@ -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,
|
||||
)?;
|
||||
|
||||
Reference in new issue
Block a user