/SLAM-Hive/slam_hive_results/mapping_results/1157/811_orb-slam3-ros-mono-inertial+right_camera+MH_01_easy+exploration_experiment_3-1.yamlERROR: Unable to communicate with master!
... logging to /root/.ros/log/1da1849a-245d-11ef-8ed1-0242ac110004/roslaunch-14c7b8513c30-70.log
Checking log directory for disk usage. This may take a while.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.
]2;/slamhive/mono-inertial.launch
[1mstarted roslaunch server http://14c7b8513c30:46111/[0m

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.13
 * /use_sim_time: True

NODES
  /
    orb_node (ORB_SLAM3/Mono_Inertial)

auto-starting new master
[1mprocess[master]: started with pid [85][0m
[1mROS_MASTER_URI=http://localhost:11311[0m
]2;/slamhive/mono-inertial.launch http://localhost:11311
[1msetting /run_id to 1da1849a-245d-11ef-8ed1-0242ac110004[0m
[1mprocess[rosout-1]: started with pid [96][0m
started core service [/rosout]
[1mprocess[orb_node-2]: started with pid [102][0m

ORB-SLAM3 Copyright (C) 2017-2020 Carlos Campos, Richard Elvira, Juan J. Gómez, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
ORB-SLAM2 Copyright (C) 2014-2016 Raúl Mur-Artal, José M.M. Montiel and Juan D. Tardós, University of Zaragoza.
This program comes with ABSOLUTELY NO WARRANTY;
This is free software, and you are welcome to redistribute it
under certain conditions. See LICENSE.txt.

Input sensor was set to: Monocular-Inertial
Loading settings from /slamhive/mappingtask.yaml
Camera1.k3 optional parameter does not exist...
	-Loaded camera 1
	-Loaded image info
IMU.InsertKFsWhenLost optional parameter does not exist...
	-Loaded IMU calibration
	-Loaded ORB settings
Viewer.imageViewScale optional parameter does not exist...
	-Loaded viewer settings
System.LoadAtlasFromFile optional parameter does not exist...
System.SaveAtlasToFile optional parameter does not exist...
	-Loaded Atlas settings
System.thFarPoints optional parameter does not exist...
	-Loaded misc parameters
----------------------------------
SLAM settings: 
	-Camera 1 parameters (Pinhole): [ 229.327 228.648 183.607 124.188 ]
	-Camera 1 distortion parameters: [  -0.283408 0.0739591 0.00019359 1.76187e-05 ]
	-Original image size: [ 376 , 240 ]
	-Current image size: [ 300 , 175 ]
	-Camera 1 parameters after resize: [  182.974 166.723 146.495 90.5534 ]
	-Sequence FPS: 20
	-Gyro noise: 0.00017
	-Accelerometer noise: 0.002
	-Gyro walk: 1.9393e-05
	-Accelerometer walk: 0.003
	-IMU frequency: 200
	-Features per image: 1000
	-ORB scale factor: 1.2
	-ORB number of scales: 8
	-Initial FAST threshold: 20
	-Min FAST threshold: 7


Loading ORB Vocabulary. This could take a while...
Vocabulary loaded!

Initialization of Atlas from scratch 
Creation of new map with id: 0
Creation of new map with last KF id: 0
Seq. Name: 
There are 1 cameras in the atlas
Camera 0 is pinhole
rosbag play /slamhive/dataset/MH_03_medium.bag /cam1/image_raw:=/camera/image_raw /imu0:=/imu --clock 
[0m[ INFO] [1717716802.071532993]: Opening /slamhive/dataset/MH_03_medium.bag[0m

Waiting 0.2 seconds after advertising topics... done.

Hit space to toggle paused, or 's' to step.
First KF:0; Map init KF:0
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 56
mnInitialFrameId = 0
11 Frames set to lost
First KF:4; Map init KF:0
New Map created with 141 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 69
mnInitialFrameId = 66
15 Frames set to lost
First KF:6; Map init KF:4
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 75
mnInitialFrameId = 72
29 Frames set to lost
First KF:10; Map init KF:6
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 93
mnInitialFrameId = 88
34 Frames set to lost
First KF:12; Map init KF:10
New Map created with 267 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 99
mnInitialFrameId = 97
54 Frames set to lost
First KF:17; Map init KF:12
New Map created with 91 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 129
mnInitialFrameId = 118
62 Frames set to lost
First KF:20; Map init KF:17
New Map created with 160 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 138
mnInitialFrameId = 136
65 Frames set to lost
First KF:22; Map init KF:20
New Map created with 243 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:24; Map init KF:22
New Map created with 115 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:26; Map init KF:24
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 153
mnInitialFrameId = 151
78 Frames set to lost
First KF:28; Map init KF:26
New Map created with 307 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:31; Map init KF:28
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 174
mnInitialFrameId = 172
96 Frames set to lost
First KF:34; Map init KF:31
New Map created with 319 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:37; Map init KF:34
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 392
mnInitialFrameId = 390
111 Frames set to lost
First KF:39; Map init KF:37
New Map created with 145 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:41; Map init KF:39
New Map created with 327 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 405
mnInitialFrameId = 402
132 Frames set to lost
First KF:46; Map init KF:41
New Map created with 424 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 423
mnInitialFrameId = 420
174 Frames set to lost
New Map created with 379 points
scale too small
scale too small
scale too small
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 469
mnInitialFrameId = 464
231 Frames set to lost
First KF:71; Map init KF:57
New Map created with 505 points
virtual int g2o::SparseOptimizer::optimize(int, bool): 0 vertices to optimize, maybe forgot to call initializeOptimization()
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 530
mnInitialFrameId = 525
258 Frames set to lost
First KF:78; Map init KF:71
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
mnFirstFrameId = 560
mnInitialFrameId = 556
299 Frames set to lost
First KF:88; Map init KF:78
virtual int g2o::SparseOptimizer::optimize(int, bool): 0 vertices to optimize, maybe forgot to call initializeOptimization()
virtual int g2o::SparseOptimizer::optimize(int, bool): 0 vertices to optimize, maybe forgot to call initializeOptimization()
virtual int g2o::SparseOptimizer::optimize(int, bool): 0 vertices to optimize, maybe forgot to call initializeOptimization()
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
First KF:94; Map init KF:88
New Map created with 192 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 630
mnInitialFrameId = 625
360 Frames set to lost
First KF:103; Map init KF:94
New Map created with 218 points
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
First KF:107; Map init KF:103
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
First KF:110; Map init KF:107
New Map created with 115 points
Fail to track local map!
IMU is not or recently initialized. Reseting active map...
SYSTEM-> Reseting active map in monocular case
LM: Active map reset recieved
LM: Active map reset, waiting...
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
LM: Active map reset, Done!!!
mnFirstFrameId = 698
mnInitialFrameId = 686
382 Frames set to lost
First KF:112; Map init KF:110
New Map created with 128 points
start VIBA 1
end VIBA 1
start VIBA 2
end VIBA 2
*Loop detected
phi =  0.0051853750459887778  -0.023972177707333162 -0.0087629288250464718
BAD LOOP!!!
*Loop detected
phi = 0.00063544639031329624  -0.028115509735316912  -0.004493303532569679
BAD LOOP!!!
*Loop detected
phi = 0.0079367775954560984  -0.02637245656381949 -0.011180155588247441
BAD LOOP!!!
*Loop detected
phi = 0.0070634547097237575 -0.023862406536860288 -0.014720924597364208
BAD LOOP!!!

Done.
killing:
 * /orb_node
 * /rosout
[33m[ WARN] [1717716943.823826255, 1403637266.461423134]: Shutdown request received.[0m
[33m[ WARN] [1717716943.824773562, 1403637266.461423134]: Reason given for shutdown: [user request][0m
[33m[ WARN] [1717716943.844124464, 1403637266.461423134]: Shutdown request received.[0m
[33m[ WARN] [1717716943.844156719, 1403637266.461423134]: Reason given for shutdown: [user request][0m
killed
Shutdown

Saving keyframe trajectory to KeyFrameTrajectory.txt ...
Map Saving to Map.pcd
Map Saving Finished!
terminate called without an active exception
[1m[rosout-1] process has finished cleanly
log file: /root/.ros/log/1da1849a-245d-11ef-8ed1-0242ac110004/rosout-1*.log[0m
[rosout-1] restarting process
[1mprocess[rosout-1]: started with pid [735][0m
[31m[orb_node-2] process has died [pid 102, exit code -6, cmd /home/ORB_SLAM3/Examples/ROS/ORB_SLAM3/Mono_Inertial /home/ORB_SLAM3/Vocabulary/ORBvoc.txt /slamhive/mappingtask.yaml /camera/image_raw:=/camera/image_raw /imu:=/imu __name:=orb_node __log:=/root/.ros/log/1da1849a-245d-11ef-8ed1-0242ac110004/orb_node-2.log].
log file: /root/.ros/log/1da1849a-245d-11ef-8ed1-0242ac110004/orb_node-2*.log[0m
