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

getDistance返回值问题 #28

Closed
GSKun1 opened this issue Jun 24, 2024 · 0 comments
Closed

getDistance返回值问题 #28

GSKun1 opened this issue Jun 24, 2024 · 0 comments

Comments

@GSKun1
Copy link

GSKun1 commented Jun 24, 2024

您好,我再调用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

@GSKun1 GSKun1 closed this as completed Nov 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant