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

main.com.divpundir.mavlink.definitions.ardupilotmega.GoproProtuneGain.kt Maven / Gradle / Ivy

There is a newer version: 1.2.8
Show newest version
package com.divpundir.mavlink.definitions.ardupilotmega

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

@GeneratedMavEnum
public enum class GoproProtuneGain(
  public override val `value`: UInt,
) : MavEnum {
  /**
   * ISO 400.
   */
  @GeneratedMavEnumEntry
  _400(0u),
  /**
   * ISO 800 (Only Hero 4).
   */
  @GeneratedMavEnumEntry
  _800(1u),
  /**
   * ISO 1600.
   */
  @GeneratedMavEnumEntry
  _1600(2u),
  /**
   * ISO 3200 (Only Hero 4).
   */
  @GeneratedMavEnumEntry
  _3200(3u),
  /**
   * ISO 6400.
   */
  @GeneratedMavEnumEntry
  _6400(4u),
  ;

  public companion object : MavEnum.Companion {
    public override fun getEntryFromValueOrNull(v: UInt): GoproProtuneGain? = when (v) {
      0u -> _400
      1u -> _800
      2u -> _1600
      3u -> _3200
      4u -> _6400
      else -> null
    }
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy