[types] Add Steering and Throttle types
This commit is contained in:
parent
468dc89dd3
commit
4932ffbf31
@ -1,4 +0,0 @@
|
|||||||
package types
|
|
||||||
|
|
||||||
/* Metadata value on mesure */
|
|
||||||
type Confidence float64
|
|
10
types/rc.go
Normal file
10
types/rc.go
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
package types
|
||||||
|
|
||||||
|
/* Radio control value */
|
||||||
|
type RCValue struct {
|
||||||
|
Value float64
|
||||||
|
Confidence float64
|
||||||
|
}
|
||||||
|
|
||||||
|
type Steering RCValue
|
||||||
|
type Throttle RCValue
|
Loading…
Reference in New Issue
Block a user