You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This issue is not a duplicate. Before opening a new issue, please search existing issues.
This issue is not a question, bug report, or anything other than a feature request directly related to this project.
Proposal
Add the method to sl.Matrix4f so that users can instantiate directly from a numpy.ndarray object
i.e. pose_matrix = np.eye(4) zed_mat = sl.Matrix4f().from_numpy(pose_matrix)
Use-Case
This would make building sl.Pose() and sl.Transform() objects much cleaner, particularly when using microservice architectures to send a transformation matrix that needs to be a string.
transform = sl.Transform.init_matrix(zed_mat)
Anything else?
No response
The text was updated successfully, but these errors were encountered:
Preliminary Checks
Proposal
Add the method to sl.Matrix4f so that users can instantiate directly from a numpy.ndarray object
i.e.
pose_matrix = np.eye(4)
zed_mat = sl.Matrix4f().from_numpy(pose_matrix)
Use-Case
This would make building sl.Pose() and sl.Transform() objects much cleaner, particularly when using microservice architectures to send a transformation matrix that needs to be a string.
transform = sl.Transform.init_matrix(zed_mat)
Anything else?
No response
The text was updated successfully, but these errors were encountered: