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

heading_task.py中状态属性delta_heading与test_baseline_use_env.py中delta_heading不一致的问题 #16

Open
L2DO opened this issue Oct 19, 2023 · 0 comments

Comments

@L2DO
Copy link

L2DO commented Oct 19, 2023

在“tasks/heading_task.py”文件中,delta_heading属性为目标偏航角与自身偏航角的差值,而在“test/test_baseline_use_env.py”文件中,PursueAgent类set_delta_value成员函数中采用的是北天东坐标系,在水平面的速度向量与LOS向量的夹角作为delta_heading。
训练时,您在“termination_conditions/unreach_heading.py”中将目标偏航角设置为期望航向,希望飞机自身通过改变偏航角与期望航向吻合。然而在测试时,您将目标方位作为期望航向,但是似乎希望飞机自身通过改变水平面速度方向与期望航向吻合,而速度方向与机身纵轴方向在6DOF模型中一般是不重合的(jsbsim中同样是6DOF,是否应该考虑因迎角和侧滑角带来的差异?)

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