Skip to content

Commit

Permalink
Applu suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
nachovizzo committed Sep 18, 2023
1 parent 1e9af5b commit 02589f7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions python/kiss_icp/pipeline.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ def _get_fps():
# Run metrics evaluation
avg_tra, avg_rot = sequence_error(self.gt_poses, self.poses)
ate_rot, ate_trans = absolute_trajectory_error(self.gt_poses, self.poses)
avg_fps = int(np.floor(_get_fps()))
avg_ms = 1e3 * (1 / _get_fps())
avg_fps = int(np.ceil(_get_fps()))
avg_ms = int(np.ceil(1e3 * (1 / _get_fps())))

self.results.append(desc="Average Translation Error", units="%", value=avg_tra)
self.results.append(desc="Average Rotational Error", units="deg/m", value=avg_rot)
Expand Down

0 comments on commit 02589f7

Please sign in to comment.