Skip to content

Which files should I modify to implement 2D color map generation from RGB-D images? #1639

@ScottishOwl

Description

@ScottishOwl

I have been launching RTAB-Map mapping using the Grid/FromSensor true mode. Now, I wish to modify the code to additionally generate a 2D color map from RGB-D images, similar to how RTAB-Map generates a global 2D occupancy grid map from depth images.

However, I’m not entirely clear about which specific functions in which code files are called during the map generation process. Could you please tell me which code files are involved in the process of generating a global 2D occupancy grid map from depth images in RTAB-Map? For implementing my requirement, which functions would I need to modify?

I understand this question might sound a bit trivial or troublesome, so I would be truly grateful if anyone would be kind enough to offer some guidance.

As additional information, I’m providing the mapping command I’ve been using:
ros2 launch rtabmap_launch rtabmap.launch.py rtabmap_args:="--delete_db_on_start --Vis/MinInliers 10 --Mem/IncrementalMemory true --Grid/FromSensor true --Grid/MaxGroundHeight 0.08 --Grid/MaxObstacleHeight 1.5 --Grid/NoiseFilteringRadius 0.05 --Grid/NoiseFilteringMinNeighbors 5 --Grid/RayTracing true --Grid/FootprintLength 0.211 --Grid/FootprintWidth 0.17 --Optimizer/GravitySigma 0.3 --Vis/FeatureType 2" rtabmap_viz:=false rviz:=false rgb_topic:=/camera/camera/color/image_raw depth_topic:=/camera/camera/aligned_depth_to_color/image_raw camera_info_topic:=/camera/camera/color/camera_info imu_topic:=/imu/data_filtered frame_id:=base_link approx_sync:=true queue_size:=20 wait_imu_to_init:=true qos:=2 imu_sensor_qos:=2 visual_odometry:=true wait_for_transform:=0.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions