We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b1ccf27 commit dfd7beaCopy full SHA for dfd7bea
cmd/ssl-auto-ref-client/main.go
@@ -102,8 +102,8 @@ func (c *Client) sendGameEvent() {
102
event.BallLeftFieldTouchLine.ByTeam = new(refproto.Team)
103
*event.BallLeftFieldTouchLine.ByTeam = refproto.Team_BLUE
104
event.BallLeftFieldTouchLine.Location = &refproto.Location{X: new(float32), Y: new(float32)}
105
- *event.BallLeftFieldTouchLine.Location.X = 1000
106
- *event.BallLeftFieldTouchLine.Location.Y = 4500
+ *event.BallLeftFieldTouchLine.Location.X = 1
+ *event.BallLeftFieldTouchLine.Location.Y = 4.5
107
gameEvent := refproto.GameEvent{Event: &event}
108
request := refproto.AutoRefToControllerRequest{GameEvent: &gameEvent}
109
c.sendRequest(&request)
0 commit comments