diff --git a/slam_method/Settings/GabHoo_camera_settings.yaml b/slam_method/Settings/P20_camera_settings.yaml similarity index 92% rename from slam_method/Settings/GabHoo_camera_settings.yaml rename to slam_method/Settings/P20_camera_settings.yaml index b75b340..e321a19 100644 --- a/slam_method/Settings/GabHoo_camera_settings.yaml +++ b/slam_method/Settings/P20_camera_settings.yaml @@ -1,7 +1,7 @@ %YAML:1.0 #-------------------------------------------------------------------------------------------- -# Camera Parameters. Adjust them! +# Camera Parameters. This settings refer to a Huawei P20 lite main camera, manually calibrated with opencv [resolution fixed to 720x1280] #-------------------------------------------------------------------------------------------- Camera.type: "PinHole" @@ -26,7 +26,7 @@ Camera.RGB: 1 # Camera resolution Camera.width: 720 -Camera.height: 1282 +Camera.height: 1280 #-------------------------------------------------------------------------------------------- # ORB Parameters diff --git a/utils.py b/utils.py index 2121800..f8cc436 100644 --- a/utils.py +++ b/utils.py @@ -233,7 +233,6 @@ 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] - fp.write(name) for row in pose34: fp.write(" ")