All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.com.divpundir.mavlink.definitions.uavionix.UavionixAdsbOutDynamicGpsFix.kt Maven / Gradle / Ivy

The newest version!
package com.divpundir.mavlink.definitions.uavionix

import com.divpundir.mavlink.api.GeneratedMavEnum
import com.divpundir.mavlink.api.GeneratedMavEnumEntry
import com.divpundir.mavlink.api.MavEnum
import kotlin.UInt

/**
 * Status for ADS-B transponder dynamic input
 */
@GeneratedMavEnum
public enum class UavionixAdsbOutDynamicGpsFix(
  override val `value`: UInt,
) : MavEnum {
  @GeneratedMavEnumEntry
  NONE_0(0u),
  @GeneratedMavEnumEntry
  NONE_1(1u),
  @GeneratedMavEnumEntry
  _2D(2u),
  @GeneratedMavEnumEntry
  _3D(3u),
  @GeneratedMavEnumEntry
  DGPS(4u),
  @GeneratedMavEnumEntry
  RTK(5u),
  ;

  public companion object : MavEnum.MavCompanion {
    override fun getEntryFromValueOrNull(v: UInt): UavionixAdsbOutDynamicGpsFix? = when (v) {
      0u -> NONE_0
      1u -> NONE_1
      2u -> _2D
      3u -> _3D
      4u -> DGPS
      5u -> RTK
      else -> null
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy