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

Navigation Track中 agent返回的movespeed数据异常 #12

Closed
chenjinghs opened this issue May 21, 2022 · 3 comments
Closed

Navigation Track中 agent返回的movespeed数据异常 #12

chenjinghs opened this issue May 21, 2022 · 3 comments

Comments

@chenjinghs
Copy link

请问 在Navigation Track中 agent返回的movespeed数据好像异常。

输入action为 walkdir [0, 90,180,270] walkspeed [3, 6] turn_lr [-3, 0 ,3]

打印发现agent movespeed 从0递增到 3000+ 而非说明中的 m/s

环境是 linux 的backend【5.16】

@FateDawnLeon
Copy link
Collaborator

你好,感谢提问,麻烦提供一下运行的代码段,以及打印的结果,我们尽快排查

@chenjinghs
Copy link
Author

不好意思,我发现是应为机器人出生的地点在地面以下下坠导致的速度过大, 请问是否能提供获取地图特定地点地表的高度值的接口,这样方便我们自主的设置机器人出生的地点,虽然接口中提供了随机的出生地点,但这样会更加灵活。谢谢

@FateDawnLeon
Copy link
Collaborator

很抱歉,目前暂时无法支持这种高度查询,我们的建议是:

  1. 使用get_valid_locations接口获取所有合法的出生点位,再根据需要进行筛选;
  2. 或者设置出生点位时,设定一个较大的y值(例如y=10,但是依然无法保证不会初始化在地面以下)

希望对你有帮助,谢谢!

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

2 participants