When I try editing long variables through FTC Dashboard, they are treated as empty dropdowns instead of actual numbers.
@Config
object AprilVision {
@JvmField
var OPTIMUM_EXPOSURE: Long = 1
@JvmField
var OPTIMUM_GAIN: Int = 255
}
I am using Kotlin, but I can also reproduce it in Java if requested. I theorize the reason this is happening is because the JVM treats long types as two ints, but FTC Dashboard's serialization can't handle it.
When I try editing
long
variables through FTC Dashboard, they are treated as empty dropdowns instead of actual numbers.I am using Kotlin, but I can also reproduce it in Java if requested. I theorize the reason this is happening is because the JVM treats
long
types as twoint
s, but FTC Dashboard's serialization can't handle it.