Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix python pipeline #131

Merged
merged 1 commit into from
Apr 6, 2023
Merged

Fix python pipeline #131

merged 1 commit into from
Apr 6, 2023

Conversation

nachovizzo
Copy link
Collaborator

@nachovizzo nachovizzo commented Apr 6, 2023

Fix this warning (that for some numpy versions was an ERROR and lead to a crash):

/home/ivizzo/dev/slam/kiss_icp_github/python/kiss_icp/pipeline.py:129: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.
  return np.array(tum_data).astype(np.float64)

Bug introduced in #120

The problem is that the timestamps array had "np.array" inside. Now we cast it to one unique float

@nachovizzo nachovizzo merged commit 65b3ea9 into main Apr 6, 2023
13 checks passed
@nachovizzo nachovizzo deleted the nacho/fix_python_pipeline branch April 6, 2023 16:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant