ethz-asl / maplab

A Modular and Multi-Modal Mapping Framework
https://maplab.asl.ethz.ch
Apache License 2.0
2.63k stars 724 forks source link

failed to run maplab demo "Building a map from a rosbag" #182

Open csunking opened 4 years ago

csunking commented 4 years ago

my linux console script:

source maplab_ws/devel/setup.bash
roscore & rosrun rovioli tutorial_euroc save_folder /home/xxxx/DEV/Projs/dataset/V2_03_difficult.bag

bug message:

Gtk-ERROR **: 22:44:48.899: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported

can anyone give me a hand ?

ERROR log

xxxx@xxxx-z2-r:~/DEV/Projs/maplab$ roscore & rosrun rovioli tutorial_euroc save_folder /home/xxxx/DEV/Projs/dataset/V2_03_difficult.bag
[1] 24271
... logging to /home/xxxx/.ros/log/1f6dfa7a-1449-11ea-b9f2-04ea56c24c5a/roslaunch-xxxx-z2-r-24271.log
Checking log directory for disk usage. This may take awhile.
Press Ctrl-C to interrupt
Done checking log file disk usage. Usage is <1GB.

started roslaunch server http://xxxx-z2-r:33045/
ros_comm version 1.14.3

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.3

NODES

auto-starting new master
process[master]: started with pid [24311]
I1201 22:44:48.608415 24302 rovio-factory.cc:169] Loading ROVIO configuration template: /home/xxxx/DEV/Projs/maplab/maplab_ws/src/maplab/applications/rovioli/share//rovio_default_config.info
ROS_MASTER_URI=http://xxxx-z2-r:11311/

setting /run_id to 1f6dfa7a-1449-11ea-b9f2-04ea56c24c5a
Set distortion parameters (Radtan) to: k1(-0.283408), k2(0.0739591), k3(0), p1(0.000193595), p2(1.76187e-05)
Registered filter state update callback.
process[rosout-1]: started with pid [24348]
started core service [/rosout]
I1201 22:44:48.756392 24302 map-builder-flow.cc:31] Set VIMap folder to: save_folder_0
I1201 22:44:48.757409 24302 rovioli-node.cc:105] Starting data source...
I1201 22:44:48.757421 24302 rovioli-app.cc:136] 
Message delivery queues:
subscriber-node               queue-topic                   queue-id                      num elements                  
MapBuilderFlow                ROVIO_ESTIMATES               87fc..0000                    0                             
MapBuilderFlow                TRACKED_NFRAMES_AND_IMU       a1f7..0000                    0                             
MapBuilderFlow                VIO_UPDATES                   d8ec..0000                    0                             
MapBuilderFlow                LOCALIZATION_RESULT           91ff..0000                    0                             
DataPublisherFlow             VIO_UPDATES                   ba8d..0000                    0                             
DataPublisherFlow             ROVIO_ESTIMATES               8183..0000                    0                             
DataPublisherFlow             RAW_VIMAP                     c165..0000                    0                             
SyncedNFrameThrottlerFlow     TRACKED_NFRAMES_AND_IMU       d75c..0000                    0                             
FeatureTrackingFlow           ROVIO_ESTIMATES               2630..0000                    0                             
RovioFlow                     IMU_MEASUREMENTS              6423..0000                    0                             
RovioFlow                     LOCALIZATION_RESULT           7851..0000                    0                             
ImuCameraSynchronizerFlow     IMAGE_MEASUREMENTS            39f9..0000                    0                             
FeatureTrackingFlow           SYNCED_NFRAMES_AND_IMU        7019..0000                    0                             
DataPublisherFlow             LOCALIZATION_RESULT           617d..0000                    0                             
RovioFlow                     IMAGE_MEASUREMENTS            3445..0000                    0                             
ImuCameraSynchronizerFlow     IMU_MEASUREMENTS              0afe..0000                    0                             
-- Filter: Initializing using accel. measurement ...
-- Filter: Initialized at t = 1413394881.58
[FilterBase::addUpdateMeas] Warning: included measurements at time 1413394881.56 before safeTime 1413394881.58
W1201 22:44:48.771451 24339 rovio-flow.cc:136] ROVIO rejected image measurement. Latency is too large.

(Tracker0:24302): Gtk-ERROR **: 22:44:48.899: GTK+ 2.x symbols detected. Using GTK+ 2.x and GTK+ 3 in the same process is not supported
/home/xxxx/DEV/Projs/maplab/maplab_ws/src/maplab/applications/rovioli/scripts/tutorials/tutorial_euroc: 行 22: 24302 追踪与中断点陷阱(核心已转储) rosrun rovioli rovioli --alsologtostderr=1 --v=2 --ncamera_calibration=$NCAMERA_CALIBRATION --imu_parameters_maplab=$IMU_PARAMETERS_MAPLAB --imu_parameters_rovio=$IMU_PARAMETERS_ROVIO --datasource_type="rosbag" --save_map_folder="$LOCALIZATION_MAP_OUTPUT" --optimize_map_to_localization_map=false --map_builder_save_image_as_resources=false --datasource_rosbag=$ROSBAG $REST
xxxx@xxxx-z2-r:~/DEV/Projs/maplab$

=========================================================================

karankatiyar92 commented 3 years ago

did you find any answer to this ?