From 21bfcb5f38acf1ae5902e543aa4b90f49b2007b9 Mon Sep 17 00:00:00 2001 From: filippoaleotti Date: Wed, 2 Dec 2020 17:27:13 +0100 Subject: [PATCH] update --- slampy.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/slampy.py b/slampy.py index 0235185..fb48ed0 100644 --- a/slampy.py +++ b/slampy.py @@ -264,7 +264,7 @@ def _get_2d_point(self): """This private method is used to compute the transormation between the absolute point to the image point Return: - an array of pair (camera view, image point) , an empty list if the traking is failed + a np.ndarray of pairs (camera view, image point) , an empty list if the tracking is failed """ points2D = [] @@ -289,10 +289,10 @@ def _get_2d_point(self): return points2D def get_camera_matrix(self): - """Get the instrinsec parameter of camera + """Get the camera instrinsics Returns: - the camera matrix + np.ndarray with shape 3x4 containing the camera parameters. """ return self.slam.get_camera_matrix() @@ -300,7 +300,7 @@ def get_state(self): """Get the current state of the SLAM system Returns: - an State enums corresponding to the state + a State corresponding to the state """ return self.slam.get_state()