Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
FilippoAleotti committed Dec 2, 2020
1 parent ea3a46d commit 21bfcb5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions slampy.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand All @@ -289,18 +289,18 @@ 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()

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()

Expand Down

0 comments on commit 21bfcb5

Please sign in to comment.