Profile image

RheinMetall KF-51 Main Battle Tank

41.4k sakkijarven  10 months ago

New FT transform about the tank's auto aim function, and it was based on Euler's vector transform.






Some details about the formula:


Course about the Euler transform

Above from the image, you can see there are 3 matrix each about: Heading, Pitch and Roll.
Let's just from the first matrix about "Heading" to introduce:
when you change cockpit heading from 0 degree(attention, North in SimplePlanes is 0 degree) to a new degree called "v", enemy target's vector Z is still keep steady. But the vector x and y become changed. And now you just use Polar coordinates to build this processing:
{x0=Radiu×sin(R)}
{y0=Radiu×cos(R)}
And the variable R changed into: (R+v)
So the new x and y is:
{x=Radiu×sin(R+v)}
{y=Radiu×cos(R+v)}
And resultion above equation:
x=Radiu×(sinR×cosv+cosR×sinv)
y=Radiu×(cosR×cosv-sinR×sinv)
Simply we can put x0 and y0 into above is:
The new x=x0×cosv+y0×sinv
The new y=-x0×sinv+y0×cosv
And the matrix about the Heading is
[cosv sinv 0]
[-sinv cosv 0]
[0 0 1]
Similarly, we can gain the matrix about the Pitch and Roll on above image.
And then, we should let matrix Roll multiply matrix Pitch and multiply Heading, and then we can get a new matrix of relation below(above image is Heading multiply Pitch and multiply Roll. In fact that's because it's a matrix about gesture control which was used on my previous works, not the auto aim function we need! ):
[c(H)·c(R)-s(H)·s(P)·s(R) -s(H)·c(R)-c(H)·s(P)·s(R) c(P)·s(R)]
[s(H)·c(P) c(H)·c(P) s(P)]
[-c(H)·s(R)-s(H)·s(P)·c(R) s(H)·s(R)-c(H)·s(P)·c(R) c(P)·c(R)]
Above "c()" means "cos()", "s()" means "sin()". And most importantly, "H" means "-Heading", "P" means "-PitchAngle", "R" means "-RollAngle"!
And now you can use this new matrix to multiply the column vector:
[Target Longitude - Your Longitude]
[Target Latitude - Your Latitude]
[Target Altitude - Your Altitude]
And then, you will gain a new column vector:
[real X]
[real Y]
[real Z]
And the "real heading" about your horizontal rotator should write down :
arctan(real X / real Y)
And the "real elevation" about your vertical rotator should write down :
arctan(real Z/ sqrt((real X)×(real X)+(real Y)×(real Y)))
And now you will gain an anti-terrian auto aim tank:


Previous work:

Click here to download RheinMetall Main Battle Tank Revolution.

Click here to download ZTQ 15 Light Battle Tank.

Have fun!

Spotlights

General Characteristics

  • Created On Windows
  • Wingspan 13.2ft (4.0m)
  • Length 36.6ft (11.2m)
  • Height 15.2ft (4.6m)
  • Empty Weight 109,950lbs (49,872kg)
  • Loaded Weight 125,017lbs (56,706kg)

Performance

  • Power/Weight Ratio 49.614
  • Wing Loading N/A
  • Wing Area 0.0ft2 (0.0m2)
  • Drag Points 0

Parts

  • Number of Parts 1083
  • Control Surfaces 0
  • Performance Cost 4,189

Required Mods

  • Tracks 2 by MOPCKOE_DNISHE
    Version 0.84 (11/1/2021 2:11:26 PM)
    View Mod Page
  • Log in to leave a comment
  • Profile image
    41.4k sakkijarven

    Update blog: 2023/6/27
    fixed RCWS problems about auto-aim functions.

    Pinned 10 months ago
  • Profile image
    17 ZER0G

    no mod?

    +2 3 months ago
  • Profile image

    @sakkijarven By how much?

    3 months ago
  • Profile image
    41.4k sakkijarven

    @russki22 enhance the mass about suspension's shocks.

    3 months ago
  • Profile image

    @sakkijarven I recall there being a no mod version of this tank, and I still have it. But I’ve been running into a problem with the missiles, when fired the tank sinks into the ground and can’t move. I looked internally to see if I could remove or change something that would make it do such a thing to no avail. Any advice on what to do?

    +1 3 months ago
  • Profile image

    @sakkijarven Can I use your reconnaissance drone? If yes, how can I use it on other vehicles for the same purpose of guiding weapons at long range.

    5 months ago
  • Profile image

    something wrong.i cant open it.

    +2 6 months ago
  • Profile image

    Leopard on steroids

    7 months ago
  • Profile image

    @sakkijarven ok

    8 months ago
  • Profile image
    41.4k sakkijarven

    @SenseiTyranneus I hate building tracks without mod 😭

    8 months ago
  • Profile image

    Could you make a version without the tracks mod please? I really like this tank

    +4 8 months ago
  • Profile image

    @sakkijarven :(
        ∧_∧ Sad
    。・・(   ∩・゜・
       /   /
       し´`J
       三三三
      三三
     三三

    9 months ago
  • Profile image
    41.4k sakkijarven

    @SuperVirus38 this systems is quite complex that I can't explain just by few words……
    :-(

    9 months ago
  • Profile image

    Man I need help with an auto cannoni made, I got the yaw part done but the elevation part won't work. I want it to work for ground and air targets, if any sees this plz help :')

    +1 9 months ago
  • Profile image
    6,324 Zuznik8

    Oh fuck, that's such a big work done

    10 months ago
  • Profile image
    41.4k sakkijarven

    @RussianAce :D

    10 months ago
  • Profile image

    Ill use this to test my mig 15 tankbuster =>

    10 months ago
  • Profile image

    代 码 大 师

    +1 10 months ago
  • Profile image
    3,140 BigAeroplane

    神爹强无敌

    +1 10 months ago
  • Profile image
    18.6k toorbokkot

    Leopard II with big turret

    10 months ago