ZJU-FAST-Lab / EGO-Planner-v2

Swarm Playground, the codebase of the paper "Swarm of micro flying robots in the wild"
GNU General Public License v3.0
341 stars 65 forks source link

The optimized trajectories will collide with obstacles #21

Closed qycqycqyc closed 1 year ago

qycqycqyc commented 1 year ago

when I run single_drone_interactive.launch with rotors_simulators,I find that the red optimized trajectoris collide with obstacles. 2023-04-18 09-58-05屏幕截图 2023-04-18 09-58-17屏幕截图

2023-04-18 09-58-35屏幕截图

qycqycqyc commented 1 year ago

@at first the trajectory is ok,but then,the red will be close to the obstacles,at last,the uav will collide the the obstacles.

qycqycqyc commented 1 year ago

@bigsuperZZZX

qycqycqyc commented 1 year ago

@ZhepeiWang please do me a favor

qycqycqyc commented 1 year ago

这是所有设置的参数

qycqycqyc commented 1 year ago

I think it is necessary to copy the optimized trajectory, that is, the safe distance of the up, down, left, and right of the red trajectory, to generate a trajectory, and then detect the safety of each trajectory to prevent the trajectory from being close to obstacles, and The above mentioned bugs

bigsuperZZZX commented 1 year ago

A collision means you have to enlarge the inflation.

qycqycqyc commented 1 year ago

But,in the grid_map.cpp,it said the limit of inflation is 4 resolutions

---Original--- From: "Xin @.> Date: Sun, May 14, 2023 21:01 PM To: @.>; Cc: @.>;"State @.>; Subject: Re: [ZJU-FAST-Lab/EGO-Planner-v2] The optimized trajectories will collide with obstacles (Issue #21)

A collision means you have to enlarge the inflation.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>

bigsuperZZZX commented 1 year ago

It's just an instruction. You can following it to enlarge the resolution as well.

qycqycqyc commented 1 year ago

I tried to add an envelope to the UAV, that is, four parallel tracks up and down, left and right, enclosing the UAV and detecting it at the same time

---Original--- From: "Xin @.> Date: Sun, May 14, 2023 21:24 PM To: @.>; Cc: @.>;"State @.>; Subject: Re: [ZJU-FAST-Lab/EGO-Planner-v2] The optimized trajectories will collide with obstacles (Issue #21)

It's just a instruction. You can following it to enlarge the resolution as well.

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you modified the open/close state.Message ID: @.***>