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

+2 -1
View File
@@ -5,9 +5,9 @@ import (
"github.com/cyrilix/robocar-simulator/pkg/gateway"
mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/golang/protobuf/proto"
"go.uber.org/zap"
"sync"
"time"
"go.uber.org/zap"
)
func NewMsgPublisher(srcEvents gateway.SimulatorSource, p Publisher, topicFrame, topicSteering, topicThrottle string) *MsgPublisher {
@@ -113,6 +113,7 @@ func (m *MsgPublisher) listenFrame() {
msg := <-msgChan
if msg == nil {
// channel closed
logr.Info("received empty message, channel closed")
break
}
logr.Debugf("new frame %v", msg.Id)