/SLAM-Hive/slam_hive_results/mapping_results/2319/1403_orb-slam3-ros-mono-inertial+MH_05_difficult+Image_comb_test-7.yamlERROR: Unable to communicate with master!
... logging to /root/.ros/log/c8e02e8e-3bd1-11ef-b971-0242ac110003/roslaunch-c0d256d27216-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://c0d256d27216:42899/[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 c8e02e8e-3bd1-11ef-b971-0242ac110003[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): [ 366.923 365.837 293.772 198.7 ]
	-Camera 1 distortion parameters: [  -0.283408 0.0739591 0.00019359 1.76187e-05 ]
	-Original image size: [ 601 , 384 ]
	-Current image size: [ 480 , 280 ]
	-Camera 1 parameters after resize: [  293.05 266.756 234.627 144.885 ]
	-Sequence FPS: 10
	-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_05_difficult.bag /cam0/image_raw:=/camera/image_raw /imu0:=/imu --clock 
[0m[ INFO] [1720295787.735338332]: Opening /slamhive/dataset/MH_05_difficult.bag[0m

Waiting 0.2 seconds after advertising topics...First KF:0; Map init KF:0
New Map created with 169 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...
mnFirstFrameId = 40
mnInitialFrameId = 0
3 Frames set to lost
First KF:2; Map init KF:0
New Map created with 174 points
start VIBA 1
end VIBA 1
Not enough motion for initializing. Reseting...
TRACK: Reset map because local mapper set the bad imu flag 
LM: Reseting current map in Local Mapping...
LM: End reseting Local Mapping...
LM: Reset free the mutex
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 = 44
mnInitialFrameId = 42
90 Frames set to lost
First KF:50; Map init KF:2
New Map created with 204 points
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()
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...
mnFirstFrameId = 221
mnInitialFrameId = 131
113 Frames set to lost
First KF:59; Map init KF:50
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
mnFirstFrameId = 246
mnInitialFrameId = 243
124 Frames set to lost
First KF:64; Map init KF:59
New Map created with 204 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 = 259
mnInitialFrameId = 256
147 Frames set to lost
First KF:73; Map init KF:64
New Map created with 349 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...
First KF:77; Map init KF:73
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...
First KF:86; Map init KF:77
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:89; Map init KF:86
New Map created with 448 points
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...
mnFirstFrameId = 322
mnInitialFrameId = 320
214 Frames set to lost
First KF:102; Map init KF:89
New Map created with 558 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...
First KF:111; Map init KF:102
New Map created with 470 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 = 380
mnInitialFrameId = 378
254 Frames set to lost
First KF:118; Map init KF:111
New Map created with 532 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...
mnFirstFrameId = 398
mnInitialFrameId = 396
268 Frames set to lost
First KF:124; Map init KF:118
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 = 413
mnInitialFrameId = 411
282 Frames set to lost
First KF:130; Map init KF:124
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...
mnFirstFrameId = 428
mnInitialFrameId = 426
285 Frames set to lost
First KF:132; Map init KF:130
New Map created with 357 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...
First KF:139; Map init KF:132
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...
First KF:145; Map init KF:139
New Map created with 402 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...
First KF:151; Map init KF:145
New Map created with 242 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...
mnFirstFrameId = 482
mnInitialFrameId = 480
333 Frames set to lost
First KF:153; Map init KF:151
New Map created with 171 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...
First KF:159; Map init KF:153
New Map created with 680 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...
First KF:168; Map init KF:159
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()
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...
mnFirstFrameId = 528
mnInitialFrameId = 524
390 Frames set to lost
First KF:176; Map init KF:168
New Map created with 484 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 = 549
mnInitialFrameId = 547
416 Frames set to lost
First KF:187; Map init KF:176
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:189; Map init KF:187
New Map created with 78 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...
mnFirstFrameId = 585
mnInitialFrameId = 578
422 Frames set to lost
First KF:191; Map init KF:189
New Map created with 108 points
start VIBA 1
end VIBA 1
start VIBA 2
end VIBA 2

Done.
killing:
 * /orb_node
 * /rosout
[33m[ WARN] [1720295908.520626770, 1403638632.912329969]: Shutdown request received.[0m
[33m[ WARN] [1720295908.521551535, 1403638632.912329969]: Reason given for shutdown: [user request][0m
[33m[ WARN] [1720295908.540557191, 1403638632.912329969]: Shutdown request received.[0m
[33m[ WARN] [1720295908.540587386, 1403638632.912329969]: 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/c8e02e8e-3bd1-11ef-b971-0242ac110003/rosout-1*.log[0m
[rosout-1] restarting process
[1mprocess[rosout-1]: started with pid [591][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/c8e02e8e-3bd1-11ef-b971-0242ac110003/orb_node-2.log].
log file: /root/.ros/log/c8e02e8e-3bd1-11ef-b971-0242ac110003/orb_node-2*.log[0m
