xdspacelab / openvslam

OpenVSLAM: A Versatile Visual SLAM Framework
https://openvslam.readthedocs.io/
2.97k stars 868 forks source link

Raspberry videoslam not working #522

Open ganeshpokale88 opened 3 years ago

ganeshpokale88 commented 3 years ago

I'm using Raspberry Pi 4, 4gb and ubuntu 20.04

~/openvslam/viewer$ node app.js init socket in one terminal, and execute video slam on another ~/openvslam/build$ ./run_video_slam -v ./orb_vocab/orb_vocab.dbow2 -m ./aist_living_lab_1/video.mp4 -c ./aist_living_lab_1/config.yaml --frame-skip 1 --no-sleep --map-db maprpi.msg

in video slam terminal it suck on "connected to server"


[2021-02-07 10:44:57.221] [I] config file loaded: ./aist_living_lab_1/config.yaml
  ___               __   _____ _      _   __  __ 
 / _ \ _ __  ___ _ _\ \ / / __| |    /_\ |  \/  |
| (_) | '_ \/ -_) ' \\ V /\__ \ |__ / _ \| |\/| |
 \___/| .__/\___|_||_|\_/ |___/____/_/ \_\_|  |_|
      |_|                                        

Copyright (C) 2019,
National Institute of Advanced Industrial Science and Technology (AIST)
All rights reserved.

This is free software,
and you are welcome to redistribute it under certain conditions.
See the LICENSE file.

Camera Configuration:
- name: RICOH THETA S 960
- setup: Monocular
- fps: 30
- cols: 1920
- rows: 960
- color: RGB
- model: Equirectangular
ORB Configuration:
- number of keypoints: 2000
- scale factor: 1.2
- number of levels: 8
- initial fast threshold: 20
- minimum fast threshold: 7
- mask rectangles:
  - [0, 1, 0, 0.1]
  - [0, 1, 0.84, 1]
  - [0, 0.2, 0.7, 1]
  - [0.8, 1, 0.7, 1]

[2021-02-07 10:44:57.222] [I] loading ORB vocabulary: ./orb_vocab/orb_vocab.dbow2
[2021-02-07 10:44:58.712] [I] startup SLAM system
[2021-02-07 10:44:58.713] [I] start mapping module
[2021-02-07 10:44:58.713] [I] start global optimization module
[2021-02-07 10:44:58] [connect] Successful connection
[2021-02-07 10:44:58] [connect] WebSocket Connection 127.0.0.1:3000 v-2 "WebSocket++/0.8.1" /socket.io/?EIO=4&transport=websocket&t=1612694698 101
[2021-02-07 10:44:58.720] [I] connected to server

and on webbrowser showing empty openvslam issue