ORB_SLAM3 icon indicating copy to clipboard operation
ORB_SLAM3 copied to clipboard

Stereo_inertial node with T265

Open fightmoney opened this issue 5 years ago • 3 comments

Hi,I am using T265 to run ORB_SLAM3 there are my steps:

roscore
roslaunch realsense2_camera rs_t265.launch
rosrun ORB_SLAM3 Stereo_Inertial /home/zsj/catkin_ws/src/ORB_SLAM3/Vocabulary/ORBvoc.txt /home/zsj/Desktop/T265.yaml false

and then some wrong happen

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: Stereo-Inertial

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

Creation of new map with id: 0
Creation of new map with last KF id: 0
Seq. Name: 

Camera Parameters: 
- Camera: Fisheye
- fx: 286.23
- fy: 286.206
- cx: 433.302
- cy: 393.607
- k1: -0.00803296
- k2: 0.0427031
- k3: -0.0397816
- k4: 0.00689442
- Camera1 Lapping: 0, 511

Camera2 Parameters:
- Camera: Fisheye
- fx: 286.86
- fy: 286.867
- cx: 424.879
- cy: 394.812
- k1: -0.00946942
- k2: 0.00176628
- k3: -0.0436711
- k4: 0.00814798
- mTlr: 
[0.99999201, -0.000108664, 0.0040307702, 0.063825697;
 0.000107226, 1, 0.00035677201, -0.00029388731;
 -0.0040308102, -0.000356337, 0.99999201, -0.00021861066]
- Camera2 Lapping: 0, 511
- fps: 30
- color order: RGB (ignored if grayscale)

Depth Threshold (Close/Far Points): 2.55999

ORB Extractor Parameters: 
- Number of Features: 1000
- Scale Levels: 8
- Scale Factor: 1.2
- Initial Fast Threshold: 20
- Minimum Fast Threshold: 7

Left camera to Imu Transform (Tbc): 
[-0.99996501, -0.00122435, 0.0083051799, 0.010699997;
 0.0012669601, -0.99998599, 0.0051269098, 0;
 0.0082987901, 0.0051372498, 0.99995202, 2.1827873e-11;
 0, 0, 0, 1]

IMU frequency: 200 Hz
IMU gyro noise: 5.14803e-06 rad/s/sqrt(Hz)
IMU gyro walk: 5e-07 rad/s^2/sqrt(Hz)
IMU accelerometer noise: 6.69525e-05 m/s^2/sqrt(Hz)
IMU accelerometer walk: 0.0001 m/s^3/sqrt(Hz)
*Viewer.ViewpointY parameter doesn't exist or is not a real number*
*Viewer.ViewpointZ parameter doesn't exist or is not a real number*
*Viewer.ViewpointF parameter doesn't exist or is not a real number*
**ERROR in the config file, the format is not correct**
terminate called after throwing an instance of 'int'
Aborted (core dumped)

Hope for you help!!! Thank you!

fightmoney avatar Mar 29 '21 08:03 fightmoney

Hello,I think the problem is the camera config file. As show as your result:

Viewer.ViewpointY parameter doesn't exist or is not a real number Viewer.ViewpointZ parameter doesn't exist or is not a real number Viewer.ViewpointF parameter doesn't exist or is not a real number ERROR in the config file, the format is not correct

In your case is file /home/zsj/Desktop/T265.yaml

At the TUM stereo-Inertial example,it has Viewer Parameters which control the visualization parameter.

you can check the value or the format,with print the value which loaded by ros programe.

jwaiting avatar Mar 29 '21 10:03 jwaiting

OK,thank you @jwaiting

fightmoney avatar Mar 29 '21 10:03 fightmoney

@fightmoney were you able to run Stereo-Inertial with T265

sumitsarkar1 avatar Apr 03 '21 06:04 sumitsarkar1