Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

つくば全体の地図作成(2D) #30

Open
masakifujiwara1 opened this issue Oct 17, 2023 · 4 comments
Open

つくば全体の地図作成(2D) #30

masakifujiwara1 opened this issue Oct 17, 2023 · 4 comments
Assignees

Comments

@masakifujiwara1
Copy link
Member

No description provided.

@masakifujiwara1
Copy link
Member Author

@haruyama8940:pcdをz軸方向に圧縮し,2次元地図を作成
@masakifujiwara1:従来通り,パラメータ調整してslamから2次元地図を作成

@masakifujiwara1
Copy link
Member Author

masakifujiwara1 commented Oct 17, 2023

cartographerで2次元地図を作成した(docker branch:cartographer-tsukuba2023).
まず, #18 でdemo_box_3d.launch.pyを用いてmap.pbstreamを作成した.
次に,assets_writer_box_3d.launch.pyを用いて,map.pbstreamの軌跡データに基づいて,3次元点群を配置,その際点群にフィルタを掛けて2次元地図を作成した.

今回は,2次元地図を作成する際のフィルタのパラメータを変更した.
以下に,使用したパラメータを示す(assets_writer_box_3d.lua).

VOXEL_SIZE = 8e-2 --5e-2

include "transform.lua"

options = {
tracking_frame = "imu",
pipeline = {
{
action = "min_max_range_filter",
min_range = 0.8,
max_range = 120.,
},
{
action = "dump_num_points",
},

{
  action = "voxel_filter_and_remove_moving_objects",
  voxel_size = VOXEL_SIZE,
},

{
  action = "intensity_to_color",
  min_intensity = 0.,
  max_intensity = 127.,
},

{
  action = "vertical_range_filter",
  min_z = -0.2,
  max_z = 0.5
},

-- {
-- action = "write_xray_image",
-- voxel_size = VOXEL_SIZE,
-- filename = "xray_yz_all_color",
-- transform = YZ_TRANSFORM,
-- },
-- {
-- action = "write_xray_image",
-- voxel_size = VOXEL_SIZE,
-- filename = "xray_xy_all_color",
-- transform = XY_TRANSFORM,
-- },
-- {
-- action = "write_xray_image",
-- voxel_size = VOXEL_SIZE,
-- filename = "xray_xz_all_color",
-- transform = XZ_TRANSFORM,
-- },
-- {
-- action = "write_pcd",
-- filename = "cartographer.pcd",
-- },
{
action = "write_probability_grid",
draw_trajectories = false,
resolution = 0.10,
range_data_inserter = {
insert_free_space = true,
hit_probability = 0.55,
miss_probability = 0.49,
},
filename = "probability_grid",
},
}
}

return options

@masakifujiwara1
Copy link
Member Author

masakifujiwara1 commented Oct 17, 2023

以下にパラメータ調整前後の2次元地図を示す.

調整前
Image

調整後
Image

@masakifujiwara1 masakifujiwara1 changed the title 2次元地図の作成 2次元地図の作成(全体) Oct 17, 2023
@masakifujiwara1 masakifujiwara1 changed the title 2次元地図の作成(全体) つくば全体の地図作成(2D) Oct 17, 2023
@github-project-automation github-project-automation bot moved this from In Progress (最優先) to Done in tsukuba2023_ToDo Oct 26, 2023
@masakifujiwara1 masakifujiwara1 moved this from Done to In Progress (最優先) in tsukuba2023_ToDo Oct 31, 2023
@masakifujiwara1
Copy link
Member Author

以下の内容を行った.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: In Progress (最優先)
Development

No branches or pull requests

2 participants