Jump to content

Recommended Posts

Posted

Dear ED-Team,

i think i found a typo in the RWR .lua file, where the position of the RWR is located. These are the "eyes" entries for the RWR sensors:

 

eyes[1] =

{

position = {x = 6.7,y = -0.1,z = 0.35},

orientation = {azimuth = math.rad(45),elevation = math.rad(0.0)},

field_of_view = math.rad(120)

}

eyes[2] =

{

position = {x = 6.7,y = -0.1,z = 0.35},

orientation = {azimuth = math.rad(-45),elevation = math.rad(0.0)},

field_of_view = math.rad(120)

}

eyes[3] =

{

position = {x = -5.5,y = 0.15,z = 0.6},

orientation = {azimuth = math.rad(135),elevation = math.rad(0.0)},

field_of_view = math.rad(120)

}

eyes[4] =

{

position = {x = -5.5,y = 0.15,z = -0.6},

orientation = {azimuth = math.rad(-135),elevation = math.rad(0.0)},

field_of_view = math.rad(120)

}

 

eyes[1] and eyes[2] have the same position, which makes not much sense. Eyes[3] and eyes[4] have a different sign in the z-Position. I assume the z-position is refering to left and right of the plane, because then the z-position of e[3] and e[4] makes sense. Note that the z-position of e[1] has two whitespaces between the "=" and the "=0.35" and the z-position of e[2] only has one whitespace there, which pretty much looks like a typo for me.

 

I guess the correct entries are "z= 0.35" for e[1] and "z= -0.35" for e[2] as e[2] has a negative angle like e[4]?

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...