Module: Kuby::Link::VesselMethods
- Included in:
- Kuby::Link
- Defined in:
- lib/kuby/link/vessel_methods.rb
Instance Method Summary collapse
- #altitude ⇒ Object
- #angular_velocity ⇒ Object
- #atmospheric_density ⇒ Object
- #dynamic_pressure ⇒ Object
- #height ⇒ Object
- #lat ⇒ Object
- #long ⇒ Object
- #mission_time ⇒ Object
- #name ⇒ Object
- #orbital_velocity ⇒ Object
- #surface_speed ⇒ Object
- #surface_velocity ⇒ Object
- #surface_velocity_x ⇒ Object
- #surface_velocity_y ⇒ Object
- #surface_velocity_z ⇒ Object
- #terrain_height ⇒ Object
- #vertical_speed ⇒ Object
Instance Method Details
#altitude ⇒ Object
4 5 6 |
# File 'lib/kuby/link/vessel_methods.rb', line 4 def altitude api_get('v.altitude').to_f end |
#angular_velocity ⇒ Object
36 37 38 |
# File 'lib/kuby/link/vessel_methods.rb', line 36 def angular_velocity api_get('v.angularVelocity').to_f end |
#atmospheric_density ⇒ Object
52 53 54 |
# File 'lib/kuby/link/vessel_methods.rb', line 52 def atmospheric_density api_get('v.atmosphericDensity').to_f end |
#dynamic_pressure ⇒ Object
64 65 66 |
# File 'lib/kuby/link/vessel_methods.rb', line 64 def dynamic_pressure api_get('v.dynamicPressure').to_f end |
#height ⇒ Object
8 9 10 |
# File 'lib/kuby/link/vessel_methods.rb', line 8 def height api_get('v.heightFromTerrain').to_f end |
#lat ⇒ Object
56 57 58 |
# File 'lib/kuby/link/vessel_methods.rb', line 56 def lat api_get('v.lat') end |
#long ⇒ Object
60 61 62 |
# File 'lib/kuby/link/vessel_methods.rb', line 60 def long api_get('v.long') end |
#mission_time ⇒ Object
16 17 18 |
# File 'lib/kuby/link/vessel_methods.rb', line 16 def mission_time api_get('v.missionTime').to_f end |
#name ⇒ Object
68 69 70 |
# File 'lib/kuby/link/vessel_methods.rb', line 68 def name api_get('v.name') end |
#orbital_velocity ⇒ Object
40 41 42 |
# File 'lib/kuby/link/vessel_methods.rb', line 40 def orbital_velocity api_get('v.orbitalVelocity').to_f end |
#surface_speed ⇒ Object
44 45 46 |
# File 'lib/kuby/link/vessel_methods.rb', line 44 def surface_speed api_get('v.surfaceSpeed').to_f end |
#surface_velocity ⇒ Object
20 21 22 |
# File 'lib/kuby/link/vessel_methods.rb', line 20 def surface_velocity api_get('v.surfaceVelocity').to_f end |
#surface_velocity_x ⇒ Object
24 25 26 |
# File 'lib/kuby/link/vessel_methods.rb', line 24 def surface_velocity_x api_get('v.surfaceVelocityx').to_f end |
#surface_velocity_y ⇒ Object
28 29 30 |
# File 'lib/kuby/link/vessel_methods.rb', line 28 def surface_velocity_y api_get('v.surfaceVelocityy').to_f end |
#surface_velocity_z ⇒ Object
32 33 34 |
# File 'lib/kuby/link/vessel_methods.rb', line 32 def surface_velocity_z api_get('v.surfaceVelocityz').to_f end |
#terrain_height ⇒ Object
12 13 14 |
# File 'lib/kuby/link/vessel_methods.rb', line 12 def terrain_height api_get('v.terrainHeight').to_f end |
#vertical_speed ⇒ Object
48 49 50 |
# File 'lib/kuby/link/vessel_methods.rb', line 48 def vertical_speed api_get('v.verticalSpeed').to_f end |