introlab / rtabmap_ros

RTAB-Map's ROS package.
http://wiki.ros.org/rtabmap_ros
BSD 3-Clause "New" or "Revised" License
967 stars 557 forks source link

Trouble launching multiple zed2 cameras #563

Open peleito opened 3 years ago

peleito commented 3 years ago

I'm trying to launch two ZED2 cameras for outdoor mapping. I have built rtabmap_ros from source with -DRTABMAP_SYNC_MULTI_RGBD=ON.

My launch file:

<?xml version="1.0"?>
<launch>

   <!-- Choose visualization -->
   <arg name="rviz"       default="false" />

   <!-- <arg name="wait_for_transform"  default="true" /> -->

   <!-- Localization-only mode -->
    <arg name="localization"            default="false"/>

    <arg     if="$(arg localization)" name="args" default=""/>
    <arg unless="$(arg localization)" name="args" default="--delete_db_on_start"/>

   <!-- sync rgb/depth images per camera -->
   <group ns="zedA">
    <node pkg="nodelet" type="nodelet" name="nodelet_manager1" args="manager"/>
    <node pkg="nodelet" type="nodelet" name="rgbd_sync1" args="load rtabmap_ros/rgbd_sync nodelet_manager1">
      <remap from="rgb/image"       to="zed_node_A/rgb/image_rect_color"/>
      <remap from="depth/image"     to="zed_node_A/depth/depth_registered"/>
      <remap from="rgb/camera_info" to="zed_node_A/rgb/camera_info"/>
      <param name="approx"     value="false"/>
    </node>
   </group>

   <group ns="zedB">
    <node pkg="nodelet" type="nodelet" name="nodelet_manager2" args="manager"/>
    <node pkg="nodelet" type="nodelet" name="rgbd_sync2" args="load rtabmap_ros/rgbd_sync nodelet_manager2">
      <remap from="rgb/image"       to="zed_node_B/rgb/image_rect_color"/>
      <remap from="depth/image"     to="zed_node_B/depth/depth_registered"/>
      <remap from="rgb/camera_info" to="zed_node_B/rgb/camera_info"/>
      <param name="approx"     value="false"/>
    </node>
   </group>

  <group ns="rtabmap">
    <!-- Visual SLAM (robot side) -->
    <!-- args: "delete_db_on_start" and "udebug" -->
    <node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" >
      <param name="subscribe_depth"  type="bool"   value="false"/>
      <param name="subscribe_rgbd"   type="bool"   value="true"/>
      <param name="rgbd_cameras"     type="int"    value="2"/>
      <param name="frame_id"         type="string" value="base_link"/>
      <param name="gen_scan"         type="bool"   value="true"/>
      <param name="queue_size"       type="int"    value="100"/>

      <remap from="odom"              to="/odometry/filtered"/> 
      <remap from="rgbd_image0"       to="/zedA/rgbd_image"/>
      <remap from="rgbd_image1"       to="/zedB/rgbd_image"/>

      <param name="Grid/FromDepth"     type="string" value="false"/>
      <param name="Vis/EstimationType" type="string" value="0"/>

      <!-- localization mode -->
      <param     if="$(arg localization)" name="Mem/IncrementalMemory" type="string" value="false"/>
      <param unless="$(arg localization)" name="Mem/IncrementalMemory" type="string" value="true"/>
      <param name="Mem/InitWMWithAllNodes" type="string" value="$(arg localization)"/>
    </node>

  </group>

  <!-- Visualization RVIZ -->
  <node if="$(arg rviz)" pkg="rviz" type="rviz" name="rviz" args="-d $(find rtabmap_ros)/launch/config/rgbd.rviz"/>

</launch>

Terminal output:

av788@av788-desktop:~/catkin_ws$ roslaunch multiple_sensors two_zed_2.launch
... logging to /home/av788/.ros/log/8d1aa1ca-93ed-11eb-89e4-fc44827e1bb1/roslaunch-av788-desktop-14796.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.

started roslaunch server http://av788-desktop:39411/

SUMMARY
========

PARAMETERS
 * /rosdistro: melodic
 * /rosversion: 1.14.10
 * /rtabmap/rtabmap/Grid/FromDepth: false
 * /rtabmap/rtabmap/Mem/IncrementalMemory: true
 * /rtabmap/rtabmap/Mem/InitWMWithAllNodes: false
 * /rtabmap/rtabmap/Vis/EstimationType: 0
 * /rtabmap/rtabmap/frame_id: base_link
 * /rtabmap/rtabmap/gen_scan: True
 * /rtabmap/rtabmap/queue_size: 100
 * /rtabmap/rtabmap/rgbd_cameras: 2
 * /rtabmap/rtabmap/subscribe_depth: False
 * /rtabmap/rtabmap/subscribe_rgbd: True
 * /zedA/rgbd_sync1/approx: False
 * /zedB/rgbd_sync2/approx: False

NODES
  /rtabmap/
    rtabmap (rtabmap_ros/rtabmap)
  /zedA/
    nodelet_manager1 (nodelet/nodelet)
    rgbd_sync1 (nodelet/nodelet)
  /zedB/
    nodelet_manager2 (nodelet/nodelet)
    rgbd_sync2 (nodelet/nodelet)

auto-starting new master
process[master]: started with pid [14806]
ROS_MASTER_URI=http://localhost:11311

setting /run_id to 8d1aa1ca-93ed-11eb-89e4-fc44827e1bb1
process[rosout-1]: started with pid [14817]
started core service [/rosout]
process[zedA/nodelet_manager1-2]: started with pid [14820]
process[zedA/rgbd_sync1-3]: started with pid [14825]
process[zedB/nodelet_manager2-4]: started with pid [14826]
process[zedB/rgbd_sync2-5]: started with pid [14827]
process[rtabmap/rtabmap-6]: started with pid [14833]
[ INFO] [1617393405.865835613]: Starting node...
[ INFO] [1617393405.969923203]: Initializing nodelet with 12 worker threads.
[ INFO] [1617393406.089551007]: /rtabmap/rtabmap(maps): map_filter_radius          = 0.000000
[ INFO] [1617393406.089586816]: /rtabmap/rtabmap(maps): map_filter_angle           = 30.000000
[ INFO] [1617393406.089596844]: /rtabmap/rtabmap(maps): map_cleanup                = true
[ INFO] [1617393406.089605218]: /rtabmap/rtabmap(maps): map_always_update          = false
[ INFO] [1617393406.089613521]: /rtabmap/rtabmap(maps): map_empty_ray_tracing      = true
[ INFO] [1617393406.089623052]: /rtabmap/rtabmap(maps): cloud_output_voxelized     = true
[ INFO] [1617393406.089632924]: /rtabmap/rtabmap(maps): cloud_subtract_filtering   = false
[ INFO] [1617393406.089643918]: /rtabmap/rtabmap(maps): cloud_subtract_filtering_min_neighbors = 2
[ INFO] [1617393406.107141377]: /rtabmap/rtabmap(maps): octomap_tree_depth         = 16
[ INFO] [1617393406.120344587]: rtabmap: frame_id      = base_link
[ INFO] [1617393406.120369412]: rtabmap: map_frame_id  = map
[ INFO] [1617393406.120379546]: rtabmap: use_action_for_goal  = false
[ INFO] [1617393406.120394026]: rtabmap: tf_delay      = 0.050000
[ INFO] [1617393406.120405877]: rtabmap: tf_tolerance  = 0.100000
[ INFO] [1617393406.120416707]: rtabmap: odom_sensor_sync   = false
[ INFO] [1617393406.120594375]: rtabmap: gen_scan  = true
[ INFO] [1617393406.120606823]: rtabmap: gen_scan_max_depth  = 4.000000
[ INFO] [1617393406.120617361]: rtabmap: gen_scan_min_depth  = 0.000000
[ INFO] [1617393406.120632681]: rtabmap: gen_depth  = false
[ INFO] [1617393406.157845832]: Setting RTAB-Map parameter "Grid/FromDepth"="false"
[ INFO] [1617393406.223162530]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true"
[ INFO] [1617393406.223353881]: Setting RTAB-Map parameter "Mem/InitWMWithAllNodes"="false"
[ INFO] [1617393406.344524285]: Setting RTAB-Map parameter "Vis/EstimationType"="0"
[ INFO] [1617393406.456592744]: Setting "Grid/RangeMax" parameter to 0 (default 5.000000) as "subscribe_scan", "subscribe_scan_cloud" or "gen_scan" is true and Grid/FromDepth is false.
[ INFO] [1617393406.457562748]: RTAB-Map detection rate = 1.000000 Hz
[ INFO] [1617393406.457686754]: rtabmap: Deleted database "/home/av788/.ros/rtabmap.db" (--delete_db_on_start or -d are set).
[ INFO] [1617393406.457718989]: rtabmap: Using database from "/home/av788/.ros/rtabmap.db" (0 MB).
[ INFO] [1617393406.549048719]: rtabmap: Database version = "0.20.7".
[ INFO] [1617393406.549084700]: rtabmap: SLAM mode (Mem/IncrementalMemory=true)
[ WARN] [1617393406.563311179]: rtabmap: Parameters subscribe_rgb and subscribe_rgbd cannot be true at the same time. Parameter subscribe_rgb is set to false.
[ INFO] [1617393406.565607017]: /rtabmap/rtabmap: subscribe_depth = false
[ INFO] [1617393406.565747505]: /rtabmap/rtabmap: subscribe_rgb = false
[ INFO] [1617393406.565797504]: /rtabmap/rtabmap: subscribe_stereo = false
[ INFO] [1617393406.565824156]: /rtabmap/rtabmap: subscribe_rgbd = true (rgbd_cameras=2)
[ INFO] [1617393406.565853265]: /rtabmap/rtabmap: subscribe_odom_info = false
[ INFO] [1617393406.565879506]: /rtabmap/rtabmap: subscribe_user_data = false
[ INFO] [1617393406.565911515]: /rtabmap/rtabmap: subscribe_scan = false
[ INFO] [1617393406.565940495]: /rtabmap/rtabmap: subscribe_scan_cloud = false
[ INFO] [1617393406.565971045]: /rtabmap/rtabmap: subscribe_scan_descriptor = false
[ INFO] [1617393406.565989034]: /rtabmap/rtabmap: queue_size    = 100
[ INFO] [1617393406.566007015]: /rtabmap/rtabmap: approx_sync   = true
[ INFO] [1617393406.566145218]: Setup rgbd2 callback
[ INFO] [1617393406.573524112]:
/rtabmap/rtabmap subscribed to (approx sync):
   /odometry/filtered \
   /zedA/rgbd_image \
   /zedB/rgbd_image
[ INFO] [1617393406.661648156]: rtabmap 0.20.9 started...
[ WARN] [1617393411.002267395]: /zedA/rgbd_sync1: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set.
/zedA/rgbd_sync1 subscribed to (approx sync):
   /zedA/zed_node_A/rgb/image_rect_color \
   /zedA/zed_node_A/depth/depth_registered \
   /zedA/zed_node_A/rgb/camera_info
[ WARN] [1617393411.009132683]: /zedB/rgbd_sync2: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set.
/zedB/rgbd_sync2 subscribed to (approx sync):
   /zedB/zed_node_B/rgb/image_rect_color \
   /zedB/zed_node_B/depth/depth_registered \
   /zedB/zed_node_B/rgb/camera_info
[ WARN] [1617393411.573633071]: /rtabmap/rtabmap: Did not receive data since 5 seconds! Make sure the input topics are published ("$ rostopic hz my_topic") and the timestamps in their header are set. If topics are coming from different computers, make sure the clocks of the computers are synchronized ("ntpdate"). If topics are not published at the same rate, you could increase "queue_size" parameter (current=100).
/rtabmap/rtabmap subscribed to (approx sync):
   /odometry/filtered \
   /zedA/rgbd_image \
   /zedB/rgbd_image

I checked to see if the topics were being published. /zedA/rgbd_image and /zedB/rgbd_image were being published but it appeared that /odometry/filtered was not.

av788@av788-desktop:~/catkin_ws$ rostopic hz /zedA/rgbd_image
subscribed to [/zedA/rgbd_image]
average rate: 14.995
min: 0.064s max: 0.070s std dev: 0.00201s window: 14
average rate: 15.025
min: 0.063s max: 0.070s std dev: 0.00193s window: 29
average rate: 14.947
min: 0.062s max: 0.080s std dev: 0.00282s window: 44
^Caverage rate: 14.943
min: 0.062s max: 0.080s std dev: 0.00275s window: 47
av788@av788-desktop:~/catkin_ws$ rostopic hz /zedB/rgbd_image
subscribed to [/zedB/rgbd_image]
average rate: 15.054
min: 0.058s max: 0.072s std dev: 0.00376s window: 15
average rate: 15.039
min: 0.025s max: 0.111s std dev: 0.01179s window: 30
average rate: 14.987
min: 0.025s max: 0.111s std dev: 0.00993s window: 45
^Caverage rate: 15.030
min: 0.025s max: 0.111s std dev: 0.00954s window: 49
av788@av788-desktop:~/catkin_ws$ rostopic hz /odometry/filtered
subscribed to [/odometry/filtered]
no new messages
no new messages
^Cno new messages

So I tried changing my launch file by switching the odom remap to the odometry data from a single camera. <remap from="odom" to="/zedB/zed_node_B/odom"/> After that change I now get this error, which has me lost on the next steps. Maybe my launch file change was not correct and I should go back.

[ INFO] [1617411817.944935601]: rtabmap 0.20.9 started...
[rtabmap/rtabmap-5] process has died [pid 20892, exit code -11, cmd /home/av788/catkin_ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start odom:=/zedB/zed_node_B/odom rgbd_image0:=/zedA/rgbd_image rgbd_image1:=/zedB/rgbd_image __name:=rtabmap __log:=/home/av788/.ros/log/5d4efa1a-9418-11eb-a06c-fc44827e1bb1/rtabmap-rtabmap-5.log].
log file: /home/av788/.ros/log/5d4efa1a-9418-11eb-a06c-fc44827e1bb1/rtabmap-rtabmap-5*.log

Any help would be greatly appreciated.

matlabbe commented 3 years ago

Can you change this line:

<node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" >

to

<node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" launch-prefix="xterm -e gdb --args">

Type "run" in gdb terminal, then when it crashes, type "bt" (backtrace) to see where what caused the seg fault.

I tried with this launch:

<?xml version="1.0"?>
<launch>

   <!-- Choose visualization -->
   <arg name="rviz"       default="false" />

   <!-- Localization-only mode -->
    <arg name="localization"            default="false"/>

    <arg     if="$(arg localization)" name="args" default=""/>
    <arg unless="$(arg localization)" name="args" default="--delete_db_on_start"/>

   <!-- sync rgb/depth images per camera -->
   <group ns="zedA">    
    <param name="zed_node_A/pos_tracking/publish_tf" value="true"/>
    <param name="zed_node_A/pos_tracking/publish_map_tf" value="false"/>  
    <include file="$(find zed_wrapper)/launch/include/zed_camera.launch.xml">
       <arg name="node_name"         value="zed_node_A" />
       <arg name="camera_name"       value="zedA" />
       <arg name="camera_id"         value="0" />
       <arg name="camera_model"      value="zed2" />
    </include> 
    <node pkg="nodelet" type="nodelet" name="rgbd_sync1" args="standalone rtabmap_ros/rgbd_sync nodelet_manager1">
      <remap from="rgb/image"       to="zed_node_A/rgb/image_rect_color"/>
      <remap from="depth/image"     to="zed_node_A/depth/depth_registered"/>
      <remap from="rgb/camera_info" to="zed_node_A/rgb/camera_info"/>
      <param name="approx"     value="false"/>
    </node>
   </group>

   <group ns="zedB">
    <param name="zed_node_B/pos_tracking/publish_tf" value="false"/>
    <param name="zed_node_B/pos_tracking/publish_map_tf" value="false"/>
    <include file="$(find zed_wrapper)/launch/include/zed_camera.launch.xml">
       <arg name="node_name"         value="zed_node_B" />
       <arg name="camera_name"       value="zedB" />
       <arg name="camera_id"         value="1" />
       <arg name="camera_model"      value="zedm" />
       <arg name="base_frame"        value="zedB_base_link" />
    </include>
    <node pkg="nodelet" type="nodelet" name="rgbd_sync2" args="standalone rtabmap_ros/rgbd_sync nodelet_manager2">
      <remap from="rgb/image"       to="zed_node_B/rgb/image_rect_color"/>
      <remap from="depth/image"     to="zed_node_B/depth/depth_registered"/>
      <remap from="rgb/camera_info" to="zed_node_B/rgb/camera_info"/>
      <param name="approx"     value="false"/>
    </node>
   </group>

   <node pkg="tf" type="static_transform_publisher" name="zedA_to_zedB"
        args="0 0 0 3.14159 0 0 base_link zedB_base_link 100" /> 

  <group ns="rtabmap">
    <!-- Visual SLAM (robot side) -->
    <!-- args: "delete_db_on_start" and "udebug" -->
    <node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" >
      <param name="subscribe_depth"  type="bool"   value="false"/>
      <param name="subscribe_rgbd"   type="bool"   value="true"/>
      <param name="rgbd_cameras"     type="int"    value="2"/>
      <param name="frame_id"         type="string" value="base_link"/>
      <param name="gen_scan"         type="bool"   value="true"/>
      <param name="queue_size"       type="int"    value="100"/>

      <remap from="odom"              to="/zedA/zed_node_A/odom"/>  
      <remap from="rgbd_image0"       to="/zedA/rgbd_image"/>
      <remap from="rgbd_image1"       to="/zedB/rgbd_image"/>

      <param name="Grid/FromDepth"     type="string" value="false"/>
      <param name="Vis/EstimationType" type="string" value="0"/>

      <!-- localization mode -->
      <param     if="$(arg localization)" name="Mem/IncrementalMemory" type="string" value="false"/>
      <param unless="$(arg localization)" name="Mem/IncrementalMemory" type="string" value="true"/>
      <param name="Mem/InitWMWithAllNodes" type="string" value="$(arg localization)"/>
    </node>

  </group>

  <!-- Visualization RVIZ -->
  <node if="$(arg rviz)" pkg="rviz" type="rviz" name="rviz" args="-d $(find rtabmap_ros)/launch/config/rgbd.rviz"/>

</launch>

To use only zedA as odometry, we have to remove/comment those lines from common.yaml (see above that those zed parameters publish_tf and publish_map_tf are set in this launch file). Setting VGA resolution here also helps to use less power. Note that in the launch above, I used a zedm and a zed2 that were stick one over the other at 180 deg (that static transform could be more precise though).

peleito commented 3 years ago

Thank you so much for your response, I am very grateful. I tried your launch file, also with a ZED2 and ZEDm for consistency, to try something that you know works, made the adjustments the the common.yaml file, and I changed: <node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" > to <node name="rtabmap" pkg="rtabmap_ros" type="rtabmap" output="screen" args="$(arg args)" launch-prefix="xterm -e gdb --args"> I proceded to run in gdb and backtraced as you suggested. I'm not quite sure what any of this means, as I am new to most of this stuff. If there is any other information that I could provide which would be helpful, plese let me know.

Starting program: /home/av788/catkin_ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start odom:=/zedA/zed_node_A/odom rgbd_image0:=/zedA/rgbd_image rgbd_image1:=/zedB/rgbd_image __name:=rtabmap __log:=/home/av788/.ros/log/67260af4-958c-11eb-8e90-fc44827e1bb1/rtabmap-rtabmap-9.log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
(gdb) [New Thread 0x7fffa58b9700 (LWP 16174)]
[New Thread 0x7fffa50b8700 (LWP 16175)]
[New Thread 0x7fffa08b7700 (LWP 16176)]
[New Thread 0x7fff9e0b6700 (LWP 16177)]
[New Thread 0x7fff9b8b5700 (LWP 16178)]
[New Thread 0x7fff990b4700 (LWP 16179)]
[New Thread 0x7fff988b3700 (LWP 16180)]
[New Thread 0x7fff940b2700 (LWP 16181)]
[New Thread 0x7fff918b1700 (LWP 16182)]
[New Thread 0x7fff8f0b0700 (LWP 16183)]
[New Thread 0x7fff8c8af700 (LWP 16184)]
[New Thread 0x7fff8a0ae700 (LWP 16185)]
[New Thread 0x7fff898ad700 (LWP 16186)]
[New Thread 0x7fff890ac700 (LWP 16187)]
[New Thread 0x7fff888ab700 (LWP 16188)]
[New Thread 0x7fff880aa700 (LWP 16189)]
[New Thread 0x7fff878a9700 (LWP 16190)]
[New Thread 0x7fff870a8700 (LWP 16191)]
[New Thread 0x7fff868a7700 (LWP 16192)]
[New Thread 0x7fff860a6700 (LWP 16193)]
[New Thread 0x7fff858a5700 (LWP 16194)]
[New Thread 0x7fff850a4700 (LWP 16195)]
[New Thread 0x7fff848a3700 (LWP 16196)]
[ INFO] [1617571600.823494664]: Starting node...
[New Thread 0x7fff83860700 (LWP 16198)]
[New Thread 0x7fff8305f700 (LWP 16199)]
[New Thread 0x7fff8285e700 (LWP 16200)]
[New Thread 0x7fff8205d700 (LWP 16201)]
[New Thread 0x7fff8185c700 (LWP 16202)]
[New Thread 0x7fff8105b700 (LWP 16203)]
[New Thread 0x7fff8085a700 (LWP 16204)]
[New Thread 0x7fff73fff700 (LWP 16205)]
[New Thread 0x7fff737fe700 (LWP 16206)]
[New Thread 0x7fff72ffd700 (LWP 16207)]
[New Thread 0x7fff727fc700 (LWP 16208)]
[New Thread 0x7fff71ffb700 (LWP 16209)]
[New Thread 0x7fff717fa700 (LWP 16210)]
[New Thread 0x7fff70ff9700 (LWP 16211)]
[New Thread 0x7fff707f8700 (LWP 16212)]
[New Thread 0x7fff6fff7700 (LWP 16213)]
[New Thread 0x7fff6f7f6700 (LWP 16214)]
[ INFO] [1617571600.863423672]: Initializing nodelet with 12 worker threads.
[New Thread 0x7fff6eff5700 (LWP 16215)]
[New Thread 0x7fff67933700 (LWP 16216)]
[ INFO] [1617571601.299379541]: /rtabmap/rtabmap(maps): map_filter_radius          = 0.000000
[ INFO] [1617571601.299404137]: /rtabmap/rtabmap(maps): map_filter_angle           = 30.000000
[ INFO] [1617571601.299413505]: /rtabmap/rtabmap(maps): map_cleanup                = true
[ INFO] [1617571601.299423690]: /rtabmap/rtabmap(maps): map_always_update          = false
[ INFO] [1617571601.299434116]: /rtabmap/rtabmap(maps): map_empty_ray_tracing      = true
[ INFO] [1617571601.299443956]: /rtabmap/rtabmap(maps): cloud_output_voxelized     = true
[ INFO] [1617571601.299453920]: /rtabmap/rtabmap(maps): cloud_subtract_filtering   = false
[ INFO] [1617571601.299465598]: /rtabmap/rtabmap(maps): cloud_subtract_filtering_min_neighbors = 2
[ INFO] [1617571601.320653526]: /rtabmap/rtabmap(maps): octomap_tree_depth         = 16
[ INFO] [1617571601.330735495]: rtabmap: frame_id      = base_link
[ INFO] [1617571601.330759940]: rtabmap: map_frame_id  = map
[ INFO] [1617571601.330769444]: rtabmap: use_action_for_goal  = false
[ INFO] [1617571601.330782442]: rtabmap: tf_delay      = 0.050000
[ INFO] [1617571601.330792081]: rtabmap: tf_tolerance  = 0.100000
[ INFO] [1617571601.330801462]: rtabmap: odom_sensor_sync   = false
[ INFO] [1617571601.331038760]: rtabmap: gen_scan  = true
[ INFO] [1617571601.331055410]: rtabmap: gen_scan_max_depth  = 4.000000
[ INFO] [1617571601.331065519]: rtabmap: gen_scan_min_depth  = 0.000000
[ INFO] [1617571601.331072693]: rtabmap: gen_depth  = false
[ INFO] [1617571601.369605973]: Setting RTAB-Map parameter "Grid/FromDepth"="false"
[ INFO] [1617571601.437280499]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true"
[ INFO] [1617571601.437535776]: Setting RTAB-Map parameter "Mem/InitWMWithAllNodes"="false"
[ INFO] [1617571601.552927765]: Setting RTAB-Map parameter "Vis/EstimationType"="0"
[ INFO] [1617571601.672929915]: Setting "Grid/RangeMax" parameter to 0 (default 5.000000) as "subscribe_scan", "subscribe_scan_cloud" or "gen_scan" is true and Grid/FromDepth is false.
[ INFO] [1617571601.673726818]: RTAB-Map detection rate = 1.000000 Hz
[ INFO] [1617571601.673848195]: rtabmap: Deleted database "/home/av788/.ros/rtabmap.db" (--delete_db_on_start or -d are set).
[ INFO] [1617571601.673873178]: rtabmap: Using database from "/home/av788/.ros/rtabmap.db" (0 MB).
[New Thread 0x7fff67132700 (LWP 16217)]
[ INFO] [1617571601.803116270]: rtabmap: Database version = "0.20.9".
[ INFO] [1617571601.803163625]: rtabmap: SLAM mode (Mem/IncrementalMemory=true)
[New Thread 0x7fff66931700 (LWP 16218)]
[ WARN] [1617571601.813454003]: rtabmap: Parameters subscribe_rgb and subscribe_rgbd cannot be true at the same time. Parameter subscribe_rgb is set to false.
[ INFO] [1617571601.814667996]: /rtabmap/rtabmap: subscribe_depth = false
[ INFO] [1617571601.814687194]: /rtabmap/rtabmap: subscribe_rgb = false
[ INFO] [1617571601.814698364]: /rtabmap/rtabmap: subscribe_stereo = false
[ INFO] [1617571601.814707601]: /rtabmap/rtabmap: subscribe_rgbd = true (rgbd_cameras=2)
[ INFO] [1617571601.814724543]: /rtabmap/rtabmap: subscribe_odom_info = false
[ INFO] [1617571601.814740884]: /rtabmap/rtabmap: subscribe_user_data = false
[ INFO] [1617571601.814753819]: /rtabmap/rtabmap: subscribe_scan = false
[ INFO] [1617571601.814768889]: /rtabmap/rtabmap: subscribe_scan_cloud = false
[ INFO] [1617571601.814780041]: /rtabmap/rtabmap: subscribe_scan_descriptor = false
[ INFO] [1617571601.814789270]: /rtabmap/rtabmap: queue_size    = 100
[ INFO] [1617571601.814799267]: /rtabmap/rtabmap: approx_sync   = true
[ INFO] [1617571601.814847755]: Setup rgbd2 callback
[New Thread 0x7fff66130700 (LWP 16219)]
[ INFO] [1617571601.818350779]: 
/rtabmap/rtabmap subscribed to (approx sync):
   /zedA/zed_node_A/odom \
   /zedA/rgbd_image \
   /zedB/rgbd_image
[ INFO] [1617571601.915129110]: rtabmap 0.20.9 started...
[New Thread 0x7fff64b1c700 (LWP 16220)]
[New Thread 0x7fff4bfff700 (LWP 16221)]
[New Thread 0x7fff4b7fe700 (LWP 16222)]
[New Thread 0x7fff4affd700 (LWP 16223)]
[New Thread 0x7fff4a7fc700 (LWP 16224)]
[New Thread 0x7fff49ffb700 (LWP 16225)]
[New Thread 0x7fff497fa700 (LWP 16226)]
[New Thread 0x7fff48ff9700 (LWP 16227)]
[New Thread 0x7fff2bfff700 (LWP 16228)]
[New Thread 0x7fff2b7fe700 (LWP 16229)]
[New Thread 0x7fff2affd700 (LWP 16230)]
[New Thread 0x7fff2a7fc700 (LWP 16231)]
[Thread 0x7fff2a7fc700 (LWP 16231) exited]

Thread 30 "rtabmap" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff8105b700 (LWP 16203)]
0x00007ffff5dcabf0 in ?? () from /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2
(gdb) bt
#0  0x00007ffff5dcabf0 in  () at /usr/lib/x86_64-linux-gnu/libopencv_features2d.so.3.2
#1  0x00007ffff699cbed in rtabmap::GFTT::generateKeypointsImpl(cv::Mat const&, cv::Rect_<int> const&, cv::Mat const&) () at /usr/local/lib/librtabmap_core.so.0.20
#2  0x00007ffff69a151c in rtabmap::Feature2D::generateKeypoints(cv::Mat const&, cv::Mat const&) () at /usr/local/lib/librtabmap_core.so.0.20
#3  0x00007ffff68b624c in rtabmap::Memory::createSignature(rtabmap::SensorData const&, rtabmap::Transform const&, rtabmap::Statistics*) () at /usr/local/lib/librtabmap_core.so.0.20
#4  0x00007ffff68ba1db in rtabmap::Memory::update(rtabmap::SensorData const&, rtabmap::Transform const&, cv::Mat const&, std::vector<float, std::allocator<float> > const&, rtabmap::Statistics*) () at /usr/local/lib/librtabmap_core.so.0.20
#5  0x00007ffff685883b in rtabmap::Rtabmap::process(rtabmap::SensorData const&, rtabmap::Transform, cv::Mat const&, std::vector<float, std::allocator<float> > const&, std::map<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, float, std::less<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > >, std::allocator<std::pair<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const, float> > > const&) () at /usr/local/lib/librtabmap_core.so.0.20
#6  0x00007fff6dfdcf9d in rtabmap_ros::CoreWrapper::process(ros::Time const&, rtabmap::SensorData&, rtabmap::Transform const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, cv::Mat const&, rtabmap::OdometryInfo const&, double) ()
    at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#7  0x00007fff6dfe10a5 in rtabmap_ros::CoreWrapper::commonDepthCallbackImpl(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, boost::shared_ptr<rtabmap_ros::UserData_<std::allocator<void> > const> const&, std::vector<boost::shared_ptr<cv_bridge::CvImage const>, std::allocator<boost::shared_ptr<cv_bridge::CvImage const> > > const&, std::vector<boost::shared_ptr<cv_bridge::CvImage const>, std::allocator<boost::shared_ptr<cv_bridge::CvImage const> > > const&, std::vector<sensor_msgs::CameraInfo_<std::allocator<void> >, std::allocator<sensor_msgs::CameraInfo_<std::allocator<void> > > > const&, sensor_msgs::LaserScan_<std::allocator<void> > const&, sensor_msgs::PointCloud2_<std::allocator<void> > const&, boost::shared_ptr<rtabmap_ros::OdomInfo_<std::allocator<void> > const> const&, std::vector<rtabmap_ros::GlobalDescriptor_<std::allocator<void> >, std::allocator<rtabmap_ros::GlobalDescriptor_<std::allocator<void> > > > const&, std::vector<std::vector<rtabmap_ros::KeyPoint_<std::allocator<void> >, std::allocator<rtabmap_ros::KeyPoint_<std::allocator<void> > > >, std::allocator<std::vector<rtabmap_ros::KeyPoint_<std::allocator<void> >, std::allocator<rtabmap_ros::KeyPoint_<std::allocator<void> > > > > > const&, std::vector<std::vector<rtabmap_ros::Point3f_<std::allocator<void> >, std::allocator<rtabmap_ros::Point3f_<std::allocator<void> > > >, std::allocator<std::vector<rtabmap_ros::Point3f_<std::allocator<void> >, std::allocator<rtabmap_ros::Point3f_<std::allocator<void> > > > > > const&, std::vector<cv::Mat, std::allocator<cv::Mat> > const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#8  0x00007fff6dfe4500 in rtabmap_ros::CoreWrapper::commonDepthCallback(boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::UserData_<std::allocator<void> > const> const&, std::vector<boost::shared_ptr<cv_bridge::CvImage const>, std::allocator<boost::shared_ptr<cv_bridge::CvImage const> > > const&, std::vector<boost::shared_ptr<cv_bridge::CvImage const>, std::allocator<boost::shared_ptr<cv_bridge::CvImage const> > > const&, std::vector<sensor_msgs::CameraInfo_<std::allocator<void> >, std::allocator<sensor_msgs::CameraInfo_<std::allocator<void> > > > const&, sensor_msgs::LaserScan_<std::allocator<void> > const&, sensor_msgs::PointCloud2_<std::allocator<void> > const&, boost::shared_ptr<rtabmap_ros::OdomInfo_<std::allocator<void> > const> const&, std::vector<rtabmap_ros::GlobalDescriptor_<std::allocator<void> >, std::allocator<rtabmap_ros::GlobalDescriptor_<std::allocator<void> > > > const&, std::vector<std::vector<rtabmap_ros::KeyPoint_<std::allocator<void> >, std::allocator<rtabmap_ros::KeyPoint_<std::allocator<void> > > >, std::allocator<std::vector<rtabmap_ros::KeyPoint_<std::allocator<void> >, std::allocator<rtabmap_ros::KeyPoint_<std::allocator<void> > > > > > const&, std::vector<std::vector<rtabmap_ros::Point3f_<std::allocator<void> >, std::allocator<rtabmap_ros::Point3f_<std::allocator<void> > > >, std::allocator<std::vector<rtabmap_ros::Point3f_<std::allocator<void> >, std::allocator<rtabmap_ros::Point3f_<std::allocator<void> > > > > > const&, std::vector<cv::Mat, std::allocator<cv::Mat> > const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#9  0x00007fff6e0457fc in rtabmap_ros::CommonDataSubscriber::rgbd2OdomCallback(boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#10 0x00007fff6e063fd8 in boost::detail::function::void_function_obj_invoker9<boost::function<void (boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&)>, void, boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const>, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const>, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>, boost::shared_ptr<message_filters::NullType const>) ()
    at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#11 0x00007fff6e0ded9e in message_filters::CallbackHelper9T<boost::shared_ptr<nav_msgs::Odometry_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, boost::shared_ptr<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&, boost::shared_ptr<message_filters::NullType const> const&>::call(bool, ros::MessageEvent<nav_msgs::Odometry_<std::allocator<void> > const> const&, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#12 0x00007fff6e09f686 in message_filters::Signal9<nav_msgs::Odometry_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType>::call(ros::MessageEvent<nav_msgs::Odometry_<std::allocator<void> > const> const&, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&, ros::MessageEvent<message_filters::NullType const> const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#13 0x00007fff6e0b2d25 in message_filters::sync_policies::ApproximateTime<nav_msgs::Odometry_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType>::publishCandidate() () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#14 0x00007fff6e0b68e8 in message_filters::sync_policies::ApproximateTime<nav_msgs::Odometry_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType>::process() () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#15 0x00007fff6e0b7e20 in void message_filters::sync_policies::ApproximateTime<nav_msgs::Odometry_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, rtabmap_ros::RGBDImage_<std::allocator<void> >, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType, message_filters::NullType>::add<2>(boost::mpl::at_c<boost::mpl::vector<ros::MessageEvent<nav_msgs::Odometry_<std::allocator<void> > const>, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const>, ros::MessageEvent<message_filters::NullType const>, ros::MessageEvent<message_filters::NullType const>, ros::MessageEvent<message_filters::NullType const>, ros::MessageEvent<message_filters::NullType const>, ros::MessageEvent<message_filters::NullType const>, ros::MessageEvent<message_filters::NullType const>, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na, mpl_::na>, 2>::type const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#16 0x00007fff6df12e53 in message_filters::CallbackHelper1T<ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, rtabmap_ros::RGBDImage_<std::allocator<void> > >::call(ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, bool) ()
    at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#17 0x00007fff6dbed067 in message_filters::Subscriber<rtabmap_ros::RGBDImage_<std::allocator<void> > >::cb(ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#18 0x00007fff6dc15253 in ros::SubscriptionCallbackHelperT<ros::MessageEvent<rtabmap_ros::RGBDImage_<std::allocator<void> > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) () at /home/av788/catkin_ws/devel/lib//librtabmap_sync.so
#19 0x00007ffff7710422 in ros::SubscriptionQueue::call() () at /opt/ros/melodic/lib/libroscpp.so
#20 0x00007ffff76bad99 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () at /opt/ros/melodic/lib/libroscpp.so
#21 0x00007ffff76bc054 in ros::CallbackQueue::callOne(ros::WallDuration) () at /opt/ros/melodic/lib/libroscpp.so
#22 0x00007ffff79b125d in nodelet::detail::CallbackQueue::callOne() () at /opt/ros/melodic/lib/libnodeletlib.so
#23 0x00007ffff79b3c05 in nodelet::detail::CallbackQueueManager::workerThread(nodelet::detail::CallbackQueueManager::ThreadInfo*) () at /opt/ros/melodic/lib/libnodeletlib.so
#24 0x00007ffff3166bcd in  () at /usr/lib/x86_64-linux-gnu/libboost_thread.so.1.65.1
#25 0x00007ffff401d6db in start_thread (arg=0x7fff8105b700) at pthread_create.c:463
#26 0x00007ffff435671f in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95
peleito commented 3 years ago

I tried running it again after a running:

sudo apt update
sudo apt upgrade

and making a clean build of my catkin_ws but got a different error this time.

(gdb) run
Starting program: /home/av788/catkin_ws/devel/lib/rtabmap_ros/rtabmap --delete_db_on_start odom:=/zedA/zed_node_A/odom rgbd_image0:=/zedA/rgbd_image rgbd_image1:=/zedB/rgbd_image __name:=rtabmap __log:=/home/av788/.ros/log/720b3ae6-9890-11eb-a7ef-fc44827e1bb1/rtabmap-rtabmap-9.log
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7fffb6f28700 (LWP 5962)]
[New Thread 0x7fffb6727700 (LWP 5963)]
[New Thread 0x7fffb1f26700 (LWP 5964)]
[New Thread 0x7fffaf725700 (LWP 5965)]
[New Thread 0x7fffacf24700 (LWP 5966)]
[New Thread 0x7fffaa723700 (LWP 5967)]
[New Thread 0x7fffa7f22700 (LWP 5968)]
[New Thread 0x7fffa5721700 (LWP 5969)]
[New Thread 0x7fffa2f20700 (LWP 5970)]
[New Thread 0x7fffa071f700 (LWP 5971)]
[New Thread 0x7fff9df1e700 (LWP 5972)]
[New Thread 0x7fff9b71d700 (LWP 5973)]
[New Thread 0x7fff9af1c700 (LWP 5977)]
[New Thread 0x7fff9a71b700 (LWP 5978)]
[New Thread 0x7fff99f1a700 (LWP 5979)]
[New Thread 0x7fff99719700 (LWP 5980)]
[New Thread 0x7fff98f18700 (LWP 5981)]
[New Thread 0x7fff98717700 (LWP 5982)]
[New Thread 0x7fff97f16700 (LWP 5983)]
[New Thread 0x7fff97715700 (LWP 5984)]
[New Thread 0x7fff96f14700 (LWP 5985)]
[New Thread 0x7fff96713700 (LWP 5986)]
[New Thread 0x7fff95f12700 (LWP 5987)]
[ INFO] [1617903181.137162267]: Starting node...
[New Thread 0x7fff94ecf700 (LWP 5989)]
[New Thread 0x7fff8ffff700 (LWP 5990)]
[New Thread 0x7fff87fff700 (LWP 5991)]
[New Thread 0x7fff8f7fe700 (LWP 5992)]
[New Thread 0x7fff8effd700 (LWP 5993)]
[New Thread 0x7fff8e7fc700 (LWP 5994)]
[New Thread 0x7fff8dffb700 (LWP 5995)]
[New Thread 0x7fff8d7fa700 (LWP 5996)]
[New Thread 0x7fff8cff9700 (LWP 5997)]
[New Thread 0x7fff877fe700 (LWP 5998)]
[New Thread 0x7fff86ffd700 (LWP 5999)]
[New Thread 0x7fff867fc700 (LWP 6000)]
[New Thread 0x7fff85ffb700 (LWP 6001)]
[New Thread 0x7fff857fa700 (LWP 6002)]
[New Thread 0x7fff84ff9700 (LWP 6003)]
[New Thread 0x7fff7ffff700 (LWP 6004)]
[New Thread 0x7fff7f7fe700 (LWP 6005)]
[ INFO] [1617903181.176436993]: Initializing nodelet with 12 worker threads.
[New Thread 0x7fff7effd700 (LWP 6006)]
[New Thread 0x7fff75686700 (LWP 6007)]
[ INFO] [1617903184.479741733]: /rtabmap/rtabmap(maps): map_filter_radius          = 0.000000
[ INFO] [1617903184.479796604]: /rtabmap/rtabmap(maps): map_filter_angle           = 30.000000
[ INFO] [1617903184.479824032]: /rtabmap/rtabmap(maps): map_cleanup                = true
[ INFO] [1617903184.479849145]: /rtabmap/rtabmap(maps): map_always_update          = false
[ INFO] [1617903184.479872906]: /rtabmap/rtabmap(maps): map_empty_ray_tracing      = true
[ INFO] [1617903184.479898645]: /rtabmap/rtabmap(maps): cloud_output_voxelized     = true
[ INFO] [1617903184.479924374]: /rtabmap/rtabmap(maps): cloud_subtract_filtering   = false
[ INFO] [1617903184.479946192]: /rtabmap/rtabmap(maps): cloud_subtract_filtering_min_neighbors = 2
[ INFO] [1617903184.488912396]: /rtabmap/rtabmap(maps): octomap_tree_depth         = 16
[ INFO] [1617903184.506776351]: rtabmap: frame_id      = base_link
[ INFO] [1617903184.506800005]: rtabmap: map_frame_id  = map
[ INFO] [1617903184.506811878]: rtabmap: use_action_for_goal  = false
[ INFO] [1617903184.506824881]: rtabmap: tf_delay      = 0.050000
[ INFO] [1617903184.506838749]: rtabmap: tf_tolerance  = 0.100000
[ INFO] [1617903184.506850999]: rtabmap: odom_sensor_sync   = false
[ INFO] [1617903184.507021995]: rtabmap: gen_scan  = true
[ INFO] [1617903184.507037431]: rtabmap: gen_scan_max_depth  = 4.000000
[ INFO] [1617903184.507051022]: rtabmap: gen_scan_min_depth  = 0.000000
[ INFO] [1617903184.507066860]: rtabmap: gen_depth  = false
[ INFO] [1617903184.548140358]: Setting RTAB-Map parameter "Grid/FromDepth"="false"
[ INFO] [1617903184.631747359]: Setting RTAB-Map parameter "Mem/IncrementalMemory"="true"
[ INFO] [1617903184.631971644]: Setting RTAB-Map parameter "Mem/InitWMWithAllNodes"="false"
[ INFO] [1617903184.754792904]: Setting RTAB-Map parameter "Vis/EstimationType"="0"
[ INFO] [1617903184.868907894]: Setting "Grid/RangeMax" parameter to 0 (default 5.000000) as "subscribe_scan", "subscribe_scan_cloud" or "gen_scan" is true and Grid/FromDepth is false.
[ INFO] [1617903184.870164000]: RTAB-Map detection rate = 1.000000 Hz
[ INFO] [1617903184.870335792]: rtabmap: Deleted database "/home/av788/.ros/rtabmap.db" (--delete_db_on_start or -d are set).
[ INFO] [1617903184.870366938]: rtabmap: Using database from "/home/av788/.ros/rtabmap.db" (0 MB).
[New Thread 0x7fff74e85700 (LWP 6008)]
[ INFO] [1617903184.987189533]: rtabmap: Database version = "0.20.7".
[ INFO] [1617903184.987241425]: rtabmap: SLAM mode (Mem/IncrementalMemory=true)
[New Thread 0x7fff6bc7c700 (LWP 6009)]
[ WARN] [1617903185.014512951]: rtabmap: Parameters subscribe_rgb and subscribe_rgbd cannot be true at the same time. Parameter subscribe_rgb is set to false.
[ INFO] [1617903185.016566427]: /rtabmap/rtabmap: subscribe_depth = false
[ INFO] [1617903185.016598170]: /rtabmap/rtabmap: subscribe_rgb = false
[ INFO] [1617903185.016616943]: /rtabmap/rtabmap: subscribe_stereo = false
[ INFO] [1617903185.016637004]: /rtabmap/rtabmap: subscribe_rgbd = true (rgbd_cameras=2)
[ INFO] [1617903185.016653898]: /rtabmap/rtabmap: subscribe_odom_info = false
[ INFO] [1617903185.016675566]: /rtabmap/rtabmap: subscribe_user_data = false
[ INFO] [1617903185.016705251]: /rtabmap/rtabmap: subscribe_scan = false
[ INFO] [1617903185.016724060]: /rtabmap/rtabmap: subscribe_scan_cloud = false
[ INFO] [1617903185.016747203]: /rtabmap/rtabmap: subscribe_scan_descriptor = false
[ INFO] [1617903185.016778219]: /rtabmap/rtabmap: queue_size    = 100
[ INFO] [1617903185.016808660]: /rtabmap/rtabmap: approx_sync   = true
[ INFO] [1617903185.016886048]: Setup rgbd2 callback
[New Thread 0x7fff6b47b700 (LWP 6010)]
[ INFO] [1617903185.031748659]: 
/rtabmap/rtabmap subscribed to (approx sync):
   /zedA/zed_node_A/odom \
   /zedA/rgbd_image \
   /zedB/rgbd_image
[ INFO] [1617903185.132058354]: rtabmap 0.20.9 started...
[New Thread 0x7fff5bfff700 (LWP 6011)]
[New Thread 0x7fff5b7fe700 (LWP 6012)]
[New Thread 0x7fff5affd700 (LWP 6013)]
[New Thread 0x7fff5a7fc700 (LWP 6014)]
[New Thread 0x7fff59ffb700 (LWP 6015)]
[New Thread 0x7fff597fa700 (LWP 6016)]
[New Thread 0x7fff58ff9700 (LWP 6017)]
[New Thread 0x7fff587f8700 (LWP 6018)]
[New Thread 0x7fff4dfff700 (LWP 6019)]
[New Thread 0x7fff4dbfe700 (LWP 6020)]
[New Thread 0x7fff4d7fd700 (LWP 6021)]
[New Thread 0x7fff4cffb700 (LWP 6023)]
[New Thread 0x7fff4d3fc700 (LWP 6022)]
[New Thread 0x7fff41bfe700 (LWP 6027)]
[New Thread 0x7fff4cbfa700 (LWP 6025)]
[New Thread 0x7fff4c7f9700 (LWP 6024)]
[New Thread 0x7fff41fff700 (LWP 6026)]
[New Thread 0x7fff417fd700 (LWP 6028)]
/home/av788/catkin_ws/devel/lib/rtabmap_ros/rtabmap: symbol lookup error: /home/av788/catkin_ws/devel/lib//librtabmap_sync.so: undefined symbol: _ZN7rtabmap9LaserScanC1ERKS0_ifRKNS_9TransformE
[Thread 0x7fff417fd700 (LWP 6028) exited]
[Thread 0x7fff41bfe700 (LWP 6027) exited]
[Thread 0x7fff41fff700 (LWP 6026) exited]
[Thread 0x7fff4cbfa700 (LWP 6025) exited]
[Thread 0x7fff4c7f9700 (LWP 6024) exited]
[Thread 0x7fff4cffb700 (LWP 6023) exited]
[Thread 0x7fff4d3fc700 (LWP 6022) exited]
[Thread 0x7fff4d7fd700 (LWP 6021) exited]
[Thread 0x7fff4dbfe700 (LWP 6020) exited]
[Thread 0x7fff4dfff700 (LWP 6019) exited]
[Thread 0x7fff587f8700 (LWP 6018) exited]
[Thread 0x7fff58ff9700 (LWP 6017) exited]
[Thread 0x7fff597fa700 (LWP 6016) exited]
[Thread 0x7fff59ffb700 (LWP 6015) exited]
[Thread 0x7fff5a7fc700 (LWP 6014) exited]
[Thread 0x7fff5affd700 (LWP 6013) exited]
[Thread 0x7fff5b7fe700 (LWP 6012) exited]
[Thread 0x7fff5bfff700 (LWP 6011) exited]
[Thread 0x7fff6b47b700 (LWP 6010) exited]
[Thread 0x7fff6bc7c700 (LWP 6009) exited]
[Thread 0x7fff74e85700 (LWP 6008) exited]
[Thread 0x7fff75686700 (LWP 6007) exited]
[Thread 0x7fff7effd700 (LWP 6006) exited]
[Thread 0x7fff7f7fe700 (LWP 6005) exited]
[Thread 0x7fff7ffff700 (LWP 6004) exited]
[Thread 0x7fff84ff9700 (LWP 6003) exited]
[Thread 0x7fff857fa700 (LWP 6002) exited]
[Thread 0x7fff85ffb700 (LWP 6001) exited]
[Thread 0x7fff867fc700 (LWP 6000) exited]
[Thread 0x7fff86ffd700 (LWP 5999) exited]
[Thread 0x7fff877fe700 (LWP 5998) exited]
[Thread 0x7fff8cff9700 (LWP 5997) exited]
[Thread 0x7fff8d7fa700 (LWP 5996) exited]
[Thread 0x7fff8dffb700 (LWP 5995) exited]
[Thread 0x7fff8effd700 (LWP 5993) exited]
[Thread 0x7fff8f7fe700 (LWP 5992) exited]
[Thread 0x7fff87fff700 (LWP 5991) exited]
[Thread 0x7fff8ffff700 (LWP 5990) exited]
[Thread 0x7fff94ecf700 (LWP 5989) exited]
[Thread 0x7fff95f12700 (LWP 5987) exited]
[Thread 0x7fff96713700 (LWP 5986) exited]
[Thread 0x7fff96f14700 (LWP 5985) exited]
[Thread 0x7fff97715700 (LWP 5984) exited]
[Thread 0x7fff97f16700 (LWP 5983) exited]
[Thread 0x7fff98717700 (LWP 5982) exited]
[Thread 0x7fff98f18700 (LWP 5981) exited]
[Thread 0x7fff99719700 (LWP 5980) exited]
[Thread 0x7fff99f1a700 (LWP 5979) exited]
[Thread 0x7fff9a71b700 (LWP 5978) exited]
[Thread 0x7fff9af1c700 (LWP 5977) exited]
[Thread 0x7fff9b71d700 (LWP 5973) exited]
[Thread 0x7fff9df1e700 (LWP 5972) exited]
[Thread 0x7fffa071f700 (LWP 5971) exited]
[Thread 0x7fffa2f20700 (LWP 5970) exited]
[Thread 0x7fffa5721700 (LWP 5969) exited]
[Thread 0x7fffa7f22700 (LWP 5968) exited]
[Thread 0x7fffaa723700 (LWP 5967) exited]
[Thread 0x7fffacf24700 (LWP 5966) exited]
[Thread 0x7fffaf725700 (LWP 5965) exited]
[Thread 0x7fffb1f26700 (LWP 5964) exited]
[Thread 0x7fffb6727700 (LWP 5963) exited]
[Thread 0x7fffb6f28700 (LWP 5962) exited]
[Thread 0x7ffff7f18a00 (LWP 5955) exited]
[Inferior 1 (process 5955) exited with code 0177]
(gdb) bt
No stack.
(gdb) 

I'm guessing this is due to some sort of library mismatch or because I installed rtabmap or one of its dependencies wrong, but I could be wrong. I don't know if it is best to just start over, delete rtabmap, and reinstall from source, or if this can easily be fixed.