aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2016-12-28 15:35:27 +0100
committerDimitri Sokolyuk <demon@dim13.org>2016-12-28 15:35:27 +0100
commita43a207efa4188961730bc673b941e73d5e6ea97 (patch)
treec9bb115b2f21ec99f1a946822c96e0cd2fbac6d0
parent722fad2e9bf73c157a58d2d6741b2b8eb175bfae (diff)
Comments
-rw-r--r--protocol2.go6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocol2.go b/protocol2.go
index e9ea377..cf8c4c0 100644
--- a/protocol2.go
+++ b/protocol2.go
@@ -9,9 +9,9 @@ const (
type VehicleMsgSpeedUpdate struct {
Size uint8
MsgID uint8
- DesiredSpeed uint16
- Accel uint16
- CurrentSpeed uint16
+ DesiredSpeed uint16 // mm/sec
+ Accel uint16 // mm/secĀ²
+ CurrentSpeed uint16 // mm/sec
}
type VehicleMsgStatusUpdate struct {