TargetController

class MechJeb.TargetController
can_align: boolean
Attribute:

Read-only, cannot be set

Return type:

boolean

distance: number
Attribute:

Read-only, cannot be set

Return type:

number

docking_axis: Tuple
Attribute:

Read-only, cannot be set

Return type:

Tuple

get_position_target_position()
Return type:

Tuple

get_position_target_string()
Return type:

string

normal_target_exists: boolean
Attribute:

Read-only, cannot be set

Return type:

boolean

pick_position_target_on_map()
position: Tuple
Attribute:

Read-only, cannot be set

Return type:

Tuple

position_target_exists: boolean
Attribute:

Read-only, cannot be set

Return type:

boolean

relative_position: Tuple
Attribute:

Read-only, cannot be set

Return type:

Tuple

relative_velocity: Tuple
Attribute:

Read-only, cannot be set

Return type:

Tuple

set_direction_target(name)
Parameters:

name (string) –

set_position_target(body, latitude, longitude)
Parameters:
  • body (SpaceCenter.CelestialBody) –

  • latitude (number) –

  • longitude (number) –

target_orbit: SpaceCenter.Orbit
Attribute:

Read-only, cannot be set

Return type:

SpaceCenter.Orbit

update_direction_target(direction)
Parameters:

direction (Tuple) –