Skip to content

Commit

Permalink
small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Gabriel committed Jan 23, 2021
1 parent 2b71941 commit 5702cb3
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 33 deletions.
28 changes: 0 additions & 28 deletions GabHoo_settings.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions run.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ def run(args):

print("\n")


# TODO: generic loader an not KITTI one

if args.data_type == "TUM":
Expand All @@ -41,8 +40,6 @@ def run(args):
image_filenames, timestamps = load_images_KITTI_VO(args.dataset)
elif args.data_type == "OTHERS":
image_filenames, timestamps = load_images_OTHERS(args.dataset)



num_images = len(image_filenames)

Expand Down
3 changes: 1 addition & 2 deletions utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,8 +232,7 @@ def save_pose_txt(args, name, pose):
"""
pose_file_path = os.path.join(args.dest, "pose.txt")
fp = open(pose_file_path, "a")
pose34 = pose[:3] #prende dal primo al terzo elemento (partendo da 0) dell'array

pose34 = pose[:3]
fp.write(name)
for row in pose34:
fp.write(" ")
Expand Down

0 comments on commit 5702cb3

Please sign in to comment.