[types] Add Steering and Throttle types

This commit is contained in:
Cyrille Nofficial 2019-12-27 14:35:56 +01:00
parent 468dc89dd3
commit 4932ffbf31
2 changed files with 10 additions and 4 deletions

View File

@ -1,4 +0,0 @@
package types
/* Metadata value on mesure */
type Confidence float64

10
types/rc.go Normal file
View File

@ -0,0 +1,10 @@
package types
/* Radio control value */
type RCValue struct {
Value float64
Confidence float64
}
type Steering RCValue
type Throttle RCValue