華碩猛禽1080ti_F-22猛禽動力回路的視頻分析

華碩猛禽1080ti

The F-22 Raptor has vectored thrust. This means that the engines don’t just push towards the front of the aircraft. Instead, the thrust can be directed upward or downward (from the rear of the jet). With this vectored thrust, the Raptor can do some cool stuff like this power loop. I first saw this on thedrive.com.

F-22猛禽具有矢量推力。 這意味著引擎不僅會推向飛機的前部。 取而代之的是,推力可以指向上方或下方(從射流的后部)。 有了這個矢量推力,猛禽可以做一些很酷的事情,例如功率循環。 我首先在thedrive.com上看到了這一點。

There are countless F-22 power loop videos online (I mean, I didn’t actually count). However, I like this one since it has the following features.

在線上有無數F-22電源回路視頻(我是說,我實際上沒有數過)。 但是,我喜歡它,因為它具有以下功能。

  • The motion of the aircraft is mostly perpendicular to the view of the camera. This makes it appear to move in a 2D motion of the video frame.

    飛機的運動大部分垂直于攝像機的視野。 這使其看起來像在視頻幀的2D運動中移動。

  • The Raptor is fairly far away from the camera such that you can see the whole motion of the power loop.

    猛禽離攝像機很遠,因此您可以看到電源回路的整個運動。
  • Finally, there are these things called “mountains” in the background. Who cares about mountains? I do. The mountains can serve as points to mark the background so that I can account for the panning of the camera.

    最后,在后臺有稱為“山”的東西。 誰在乎山脈? 我做。 山脈可以作為標記背景的點,這樣我就可以說明相機的搖攝。

Oh, well then let’s do it. Of course I’m going to use my favorite video analysis program, Tracker Video Analysis. In this case, I’m going to start off by scaling the video based on the length of the F-22 with a value of 18.9 meters. After that, I need to mark points on the mountain range to keep track of the origin using calibration point pairs (here is an older tutorial if you want to see how to do that).

哦,那就開始吧。 當然,我將使用我最喜歡的視頻分析程序Tracker Video Analysis 。 在這種情況下,我將首先根據F-22的長度(值為18.9米)縮放視頻。 之后,我需要在山脈上標記點,以使用校準點對來跟蹤原點( 如果您想了解如何進行校準,可以使用舊的教程 )。

Once you adjust the video for the motion of the camera, you can make these awesome “frame corrected” views.

一旦根據攝像機的運動調整了視頻,就可以制作出這些很棒的“幀校正”視圖。

Image for post

I love that.

我喜歡那個。

OK, now for some physics. I want to mark the location of both the front and the rear of the F-22 so that I can measure it’s position AND it’s orientation. It’s a little easier to do the calculations in python. Here is a plot of the front and back of the aircraft. Oh, this is the trajectory (x vs. y). Here is the python code with all the data.

好的,現在開始一些物理學。 我想標記F-22前后的位置,以便可以測量它的位置和方向。 在python中進行計算要容易一些。 這是飛機正面和背面的圖解。 哦,這就是軌跡(x與y)。 這是包含所有數據的python代碼。

Image for post

But that doesn’t really show you the orientation of the aircraft since you can’t easily see with point on the blue curve goes with which point on the red curve. So, here’s how I can calculate the orientation angle of the aircraft. Let me start with a diagram.

但這并不能真正顯示飛機的方向,因為您很難輕易看到藍色曲線上的點與紅色曲線上的點。 因此,這就是我如何計算飛機的方位角。 讓我從圖開始。

Image for post

Just to be clear, I’m going to first find the vector value from the rear to the front of the F-22. From the x and y-components of this vector, I can calculate the angle.

為了清楚起見,我將首先找到F-22從后到前的向量值。 從這個向量的x和y分量,我可以計算出角度。

Just to test stuff, here is my plot of angle (in degrees) as a function of time. Also, the code.

僅出于測試目的,這是我隨時間變化的角度圖(以度為單位)。 另外,代碼 。

Image for post

Note: you have to do a little angle trick when the vector is in the 3rd quadrant (when both components are negative). But still, this looks fine.

注意:向量在第三象限時(兩個分量均為負值),您必須做一點角度技巧。 但是,這看起來還不錯。

But what about the angle of attack? This is the angle between the velocity vector and the “orientation” vector for the aircraft. I already have the orientation vector (not sure if that’s the correct technical name), so I just need to get the velocity vector.

但是攻角呢? 這是速度矢量和飛機的“方向”矢量之間的角度。 我已經有了方向矢量(不確定這是否是正確的技術名稱),所以我只需要獲取速度矢量。

Here’s what I’m going to do. First, I will find a new point — the center of mass of the plane. OK, technically this will just be the center of the aircraft since I will just average the vector position of the front and rear.

這就是我要做的。 首先,我將找到一個新點-平面的質心。 好的,從技術上講,這將只是飛機的中心,因為我將平均前后向量位置。

Image for post

Now to find the velocity vector, I am going to take three points (labeled 1, 2, 3). The velocity at point 2 will be the change in position from 1 to 3 divided by the time interval.

現在找到速度矢量,我將取三個點(標記為1、2、3)。 點2處的速度將是位置從1到3的變化除以時間間隔。

Image for post

Hopefully, by using 3 data points it will sort of “smooth” out the velocity. Here is my plot of the velocity of the center of the F-22. Code.

希望通過使用3個數據點,可以“平滑”速度。 這是我對F-22中心速度的曲線圖。 碼。

Image for post

I lied. I decided to use the a wider range of points (2 times before to 2 times after) for the average velocity. The other was a bit too jagged. I suspect there is a problem with the video frame rate — you can see there are some repeated frames that mess up the velocity. But this should be good enough.

我撒了謊。 我決定對平均速度使用更大范圍的點(前2次到后2次)。 另一個太參差不齊。 我懷疑視頻幀速率存在問題-您可以看到有些重復的幀會擾亂速度。 但這應該足夠了。

Now that I have a velocity vector and an orientation vector, I just need to find the angle between these two vectors. Here is the classic trick that uses the definition of the dot-product for vectors.

現在我有了速度矢量和方向矢量,我只需要找到這兩個矢量之間的夾角即可。 這是將點積定義用于矢量的經典技巧。

Image for post
Image for post

Oh darn. I just realized that I am using θ for the angle of attack, but I already used to for the orientation angle. Oh well — we are all adults here right? Sorry about that.

真是的 我剛剛意識到我將θ用于迎角,但我已經習慣于將方位角用于迎角。 哦,對了-我們都是大人嗎? 對于那個很抱歉。

OK, so here is the angle of attack as a function of time. You know I’m going to give you the code — you don’t have to ask.

好的,這是迎角隨時間變化的函數。 您知道我將為您提供代碼-您不必問。

Image for post

I’m not sure about that spike at the beginning, but I’m pretty happy with this. Oh, one last thing — the motion of the Raptor was NOT perpendicular to the camera. You can see this because the apparent size of the aircraft changes over time. But still, it’s a pretty sweet video for analysis.

我不確定一開始的峰值,但是對此我感到非常滿意。 哦,最后一件事-猛禽的運動不垂直于相機。 您會看到這是因為飛機的外觀尺寸會隨時間變化。 但是,這仍然是一個很好的分析視頻。

翻譯自: https://medium.com/swlh/video-analysis-of-an-f-22-raptor-power-loop-b3e4fbfd6d55

華碩猛禽1080ti

本文來自互聯網用戶投稿,該文觀點僅代表作者本人,不代表本站立場。本站僅提供信息存儲空間服務,不擁有所有權,不承擔相關法律責任。
如若轉載,請注明出處:http://www.pswp.cn/news/389281.shtml
繁體地址,請注明出處:http://hk.pswp.cn/news/389281.shtml
英文地址,請注明出處:http://en.pswp.cn/news/389281.shtml

如若內容造成侵權/違法違規/事實不符,請聯系多彩編程網進行投訴反饋email:809451989@qq.com,一經查實,立即刪除!

相關文章

聊天常用js代碼

<script languagejavascript>//轉意義字符與替換圖象以及字體HtmlEncode(text)function HtmlEncode(text){return text.replace(//"/g, &quot;).replace(/</g, <).replace(/>/g, >).replace(/#br#/g,<br>).replace(/IMGSTART/g,<IMG style…

溫故而知新:柯里化 與 bind() 的認知

什么是柯里化?科里化是把一個多參數函數轉化為一個嵌套的一元函數的過程。&#xff08;簡單的說就是將函數的參數&#xff0c;變為多次入參&#xff09; const curry (fn, ...args) > fn.length < args.length ? fn(...args) : curry.bind(null, fn, ...args); // 想要…

OPENVAS運行

https://www.jianshu.com/p/382546aaaab5轉載于:https://www.cnblogs.com/diyunpeng/p/9258163.html

Memory-Associated Differential Learning論文及代碼解讀

Memory-Associated Differential Learning論文及代碼解讀 論文來源&#xff1a; 論文PDF&#xff1a; Memory-Associated Differential Learning論文 論文代碼&#xff1a; Memory-Associated Differential Learning代碼 論文解讀&#xff1a; 1.Abstract Conventional…

大數據技術 學習之旅_如何開始您的數據科學之旅?

大數據技術 學習之旅Machine Learning seems to be fascinating to a lot of beginners but they often get lost into the pool of information available across different resources. This is true that we have a lot of different algorithms and steps to learn but star…

純API函數實現串口讀寫。

以最后決定用純API函數實現串口讀寫。 先從網上搜索相關代碼&#xff08;關鍵字&#xff1a;C# API 串口&#xff09;&#xff0c;發現網上相關的資料大約來源于一個版本&#xff0c;那就是所謂的msdn提供的樣例代碼&#xff08;msdn的具體出處&#xff0c;我沒有考證&#xff…

數據可視化工具_數據可視化

數據可視化工具Visualizations are a great way to show the story that data wants to tell. However, not all visualizations are built the same. My rule of thumb is stick to simple, easy to understand, and well labeled graphs. Line graphs, bar charts, and histo…

Android Studio調試時遇見Install Repository and sync project的問題

我們可以看到&#xff0c;報的錯是“Failed to resolve: com.android.support:appcompat-v7:16.”&#xff0c;也就是我們在build.gradle中最后一段中的compile項內容。 AS自動生成的“com.android.support:appcompat-v7:16.”實際上是根據我們的最低版本16來選擇16.x.x及以上編…

Apache Ignite 學習筆記(二): Ignite Java Thin Client

前一篇文章&#xff0c;我們介紹了如何安裝部署Ignite集群&#xff0c;并且嘗試了用REST和SQL客戶端連接集群進行了緩存和數據庫的操作。現在我們就來寫點代碼&#xff0c;用Ignite的Java thin client來連接集群。 在開始介紹具體代碼之前&#xff0c;讓我們先簡單的了解一下Ig…

VGAE(Variational graph auto-encoders)論文及代碼解讀

一&#xff0c;論文來源 論文pdf Variational graph auto-encoders 論文代碼 github代碼 二&#xff0c;論文解讀 理論部分參考&#xff1a; Variational Graph Auto-Encoders&#xff08;VGAE&#xff09;理論參考和源碼解析 VGAE&#xff08;Variational graph auto-en…

IIS7設置

IIS 7.0和IIS 6.0相比改變很大誰都知道&#xff0c;而且在IIS 7.0中用VS2005來調試Web項目也不是什么新鮮的話題&#xff0c;但是我還是第一次運用這個東東&#xff0c;所以在此記下我的一些過程&#xff0c;希望能給更多的后來者帶了一點參考。其實我寫這篇文章時也參考了其他…

tableau大屏bi_Excel,Tableau,Power BI ...您應該使用什么?

tableau大屏biAfter publishing my previous article on data visualization with Power BI, I received quite a few questions about the abilities of Power BI as opposed to those of Tableau or Excel. Data, when used correctly, can turn into digital gold. So what …

python 可視化工具_最佳的python可視化工具

python 可視化工具Disclaimer: I work for Datapane免責聲明&#xff1a;我為Datapane工作 動機 (Motivation) There are amazing articles on data visualization on Medium every day. Although this comes at the cost of information overload, it shouldn’t prevent you …

網絡編程 socket介紹

Socket介紹 Socket是應用層與TCP/IP協議族通信的中間軟件抽象層&#xff0c;它是一組接口。在設計模式中&#xff0c;Socket其實就是一個門面模式&#xff0c;它把復雜的TCP/IP協議族隱藏在Socket接口后面&#xff0c;對用戶來說&#xff0c;一組簡單的接口就是全部。 Socket通…

猿課python 第三天

字典 字典是python中唯一的映射類型,字典對象是可變的&#xff0c;但是字典的鍵是不可變對象&#xff0c;字典中可以使用不同的鍵值字典功能> dict.clear()          -->清空字典 dict.keys()          -->獲取所有key dict.values()      …

在C#中使用代理的方式觸發事件

事件&#xff08;event&#xff09;是一個非常重要的概念&#xff0c;我們的程序時刻都在觸發和接收著各種事件&#xff1a;鼠標點擊事件&#xff0c;鍵盤事件&#xff0c;以及處理操作系統的各種事件。所謂事件就是由某個對象發出的消息。比如用戶按下了某個按鈕&#xff0c;某…

BP神經網絡反向傳播手動推導

BP神經網絡過程&#xff1a; 基本思想 BP算法是一個迭代算法&#xff0c;它的基本思想如下&#xff1a; 將訓練集數據輸入到神經網絡的輸入層&#xff0c;經過隱藏層&#xff0c;最后達到輸出層并輸出結果&#xff0c;這就是前向傳播過程。由于神經網絡的輸出結果與實際結果…

使用python和pandas進行同類群組分析

背景故事 (Backstory) I stumbled upon an interesting task while doing a data exercise for a company. It was about cohort analysis based on user activity data, I got really interested so thought of writing this post.在為公司進行數據練習時&#xff0c;我偶然發…

3.Contructor(構造器)模式—精讀《JavaScript 設計模式》Addy Osmani著

同系列友情鏈接: 1.設計模式之初體驗—精讀《JavaScript 設計模式》Addy Osmani著 2.設計模式的分類—精讀《JavaScript 設計模式》Addy Osmani著 Construct&#xff08;構造器&#xff09;模式 在經典的面向對象編程語言中&#xff0c;Construtor是一種在內存已分配給該對象的…

BZOJ 3653: 談笑風生(離線, 長鏈剖分, 后綴和)

題意 給你一顆有 \(n\) 個點并且以 \(1\) 為根的樹。共有 \(q\) 次詢問&#xff0c;每次詢問兩個參數 \(p, k\) 。詢問有多少對點 \((p, a, b)\) 滿足 \(p,a,b\) 為三個不同的點&#xff0c;\(p, a\) 都為 \(b\) 的祖先&#xff0c;且 \(p\) 到 \(a\) 的距離不能超過 \(k\) 。 …