LJQCN101 / Auto-TMA-console

A simple automatic Target Motion Analysis (TMA) C++ console for submarine simulators
MIT License
8 stars 2 forks source link

Some problems aroused about the TMA method 我在应用这个TMA方法时遇到了一些问题 #1

Open awb1232 opened 3 months ago

awb1232 commented 3 months ago

Thank u for ur TMA method. I have simulated the situation of 2 sub moving in line, and used the data generated in the process to try the efficiency of the TMA method, however I meet a problem that, the param returned by the BFGS is all about the state of my self, for example it gives back param as [L1distance -9* e^(-5), 69.99deg, and 19.99knots] when i set my boat at speed 20knot and course angle 70 degree. -9e-5 means the distances is about 0, because it gives the distance between me and me haha. So could u help me analyse what's the problem of my apple BFGS method? 感谢作者的TMA思路。我模拟了两艇匀速直线运动的情况,用过程中产生的方位角来验证这个TMA方法的有效性,但我遇到了一个问题,就是代码返回的参数是准确的我自己艇的信息,比如我艇航向70速度20节的话,返回的结果是距离0,角度69.99,速度15.99。我想请问作战您有遇到这样的问题吗?方便帮我分析一下我运用这个TMA方法有没有什么错误呢?我的QQ是1621033550,如果作者有空,请不吝赐教!

LJQCN101 commented 2 months ago

Hi, your problem is about the basic concepts of bearing-only TMA. When 2 subs are moving at a constant speed and course, you won't get a unique solution no matter how many times you're recording. Think about it: the solution may be yourself as you stated, or maybe anything between you and your target, as there're unlimited amount of solutions.

You must change your speed or course at least one time to get a unique/single solution.

两艇匀速直线运动无法获得唯一解