upgrade code for new simulator version

* add new rotation axis
 * resize image if necessary
 * add debug logs
This commit is contained in:
cyrilix committed 2021-10-17 19:10:24 +02:00
1 parent 2bdc945ec5
commit 3cd3d89b60
39 files changed
+7082 -46

No files matched your search

+4 -1
View File
@@ -25,11 +25,14 @@ func TestGateway_ListenEvents(t *testing.T) {
}
}()
gw := New(simulatorMock.Addr(),
gw, err := New(simulatorMock.Addr(),
&simulator.CarConfigMsg{MsgType: simulator.MsgTypeCarConfig},
&simulator.RacerBioMsg{},
&simulator.CamConfigMsg{},
)
if err != nil {
t.Fatalf("unable to init test: %v", err)
}
go func() {
err := gw.Start()
if err != nil {