Closed jediofgever closed 3 years ago
Your openvslam is not initialize yet. I think it might be that your resolution in the config file doesn't match with that passed to openVSLAM
after I move camera I it is initialized but the program dies right after
[2020-12-21 22:08:25.206] [I] loading ORB vocabulary: /home/ros2-foxy/orb_vocab.dbow2
[2020-12-21 22:08:25.574] [I] startup SLAM system
[2020-12-21 22:08:25.574] [I] start mapping module
[2020-12-21 22:08:25.574] [I] start global optimization module
[2020-12-21 22:08:30.569] [I] initialization succeeded with F
[2020-12-21 22:08:30.613] [I] new map created with 120 points: frame 0 - frame 59
Please try to run with --debug flag. Again check the resolution of your RGB image.
no really useful information with --debug
unfortunately
[2020-12-21 22:20:36.028] [I] loading ORB vocabulary: /home/ros2-foxy/orb_vocab.dbow2
[2020-12-21 22:20:36.434] [D] CONSTRUCT: data::camera_database
[2020-12-21 22:20:36.434] [D] CONSTRUCT: data::map_database
[2020-12-21 22:20:36.434] [D] CONSTRUCT: data::bow_database
[2020-12-21 22:20:36.434] [D] CONSTRUCT: publish::frame_publisher
[2020-12-21 22:20:36.434] [D] CONSTRUCT: publish::map_publisher
[2020-12-21 22:20:36.434] [D] CONSTRUCT: module::initializer
[2020-12-21 22:20:36.434] [D] CONSTRUCT: module::relocalizer
[2020-12-21 22:20:36.434] [D] CONSTRUCT: tracking_module
[2020-12-21 22:20:36.434] [D] CONSTRUCT: mapping_module
[2020-12-21 22:20:36.434] [D] CONSTRUCT: global_optimization_module
[2020-12-21 22:20:36.434] [I] startup SLAM system
[2020-12-21 22:20:36.434] [I] start mapping module
[2020-12-21 22:20:36.434] [I] start global optimization module
[2020-12-21 22:20:38.795] [D] CONSTRUCT: initialize::perspective
[2020-12-21 22:21:03.196] [I] initialization succeeded with F
[2020-12-21 22:21:03.196] [D] DESTRUCT: initialize::perspective
[2020-12-21 22:21:03.245] [I] new map created with 125 points: frame 0 - frame 289
Then it's calibration problem I guess.
I don't think it is because of that. I am using simulated camera that comes with word of god calibration info
Please, refer to: https://openvslam.readthedocs.io/en/master/simple_tutorial.html
I need develop branch since I am on ROS2 , does this also applies to develop branch ?
Edit; , thanks mirellamelo, that was the issue, I can create on point maps now
Hi , I am trying to run this in simulation with ros2. The image has quite some points detected but there is nothing in the 3D map visualizer.
I use the command;
ros2 run openvslam run_slam -v /home/ros2-foxy/orb_vocab.dbow2 -c /home/ros2-foxy/config.yaml
The config file is;
All of this is run under simulation. Do you have any idea what th map wouldn't be created ?