Skip to main content

Geometry: An algorithm to select the most important vehicles in the traffic relative to the main vehicle?

I have the following data about the surrounding vehicles and the main vehicle(let call it E-vehicle): X,Y,Z in earth co-ordinates Velocity Yaw angle Pitch angle

I need to make use of these variables and write an algorithm to select the most important vehicles relative to ego vehicle. Example: To select the 10 most important vehicles from the 100 available in the traffic.

I have an algorithm which uses the distance between these surrounding vehicles and the ego vehicle and selects the nearest ones. However, this is not an efficient algorithm since it can also take into account the parked vehicles which might not be that important when compared a vehicle which is approaching the E-vehicle but is a little far away.

Any ideas on how I can use these variables to write a better algorithm would be appreciated.

Comments

Popular posts from this blog

[Community Question] Linear-algebra: non-negative matrix satisfying two conditions

One of our user asked: A real matrix $B$ is called non-negative if every entry is non-negative. We will denote this by $B\ge 0$ . I want to find a non-negative matrix $B$ satisfying the following two conditions: (1) $(I-B)^{-1}$ exists but not non-negative. Here $I$ is the identity matrix. (2) There is a non-zero and non-negative vector $\vec{d}$ such that $(I-B)^{-1}\vec{d}\ge 0$ . I tried all the $2\times 2$ matrices, but it did not work. I conjecture that such a $B$ does not exist, but don't know how to prove it.

Geometry: Height of a part volume in a cone

Picture of cone Hi, I know this is high school math but i feel kinda stupid right now so I am asking it here: Given is a truncated cone (upside down if relevant). Given is the volume as well as the upper and lower radius. Now the cone got filled with a given volume. How do i determine the height of the filled liquid? As you see in the picture, there is a cone (not a triangle). Given is r1w, r2w, and VW and VA With that at least I am able to calculate everything else, but not hA. Can someone of you please help me?