ZJU-FAST-Lab / Swarm-Formation

Formation Flight in Dense Environments
GNU General Public License v3.0
406 stars 64 forks source link

getDistance返回值问题 #28

Closed GSKun1 closed 3 weeks ago

GSKun1 commented 5 months ago

您好,我再调用map的getDistance成员函数时发现,他的返回值有误,障碍物的位置 x_l =13; x_h = 14; y_l = -10; y_h = 10; z_l = -1.0; z_h = _z_size;

  图片中,TEST_OBS是无人机距障碍物的距离,position是无人机的位置,显然前三个9.多的数值是没有问题的,但是为什么会突变为2.4,感谢您的解答

image