chore: update dependencies

This commit is contained in:
2022-01-03 16:56:33 +01:00
parent 3b5d0795e5
commit 64f115da6c
30 changed files with 59 additions and 8692 deletions

View File

@ -4,8 +4,8 @@ import (
"github.com/cyrilix/robocar-base/service"
"github.com/cyrilix/robocar-protobuf/go/events"
mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/golang/protobuf/proto"
"go.uber.org/zap"
"google.golang.org/protobuf/proto"
"sync"
"time"
)
@ -98,6 +98,7 @@ func (p *ThrottlePart) onRCThrottle(_ mqtt.Client, message mqtt.Message) {
p.muDriveMode.RLock()
defer p.muDriveMode.RUnlock()
if p.driveMode == events.DriveMode_USER {
zap.S().Debug("publish new throttle value from rc")
// Republish same content
payload := message.Payload()
publish(p.client, p.throttleTopic, &payload)

View File

@ -4,7 +4,7 @@ import (
"github.com/cyrilix/robocar-base/testtools"
"github.com/cyrilix/robocar-protobuf/go/events"
mqtt "github.com/eclipse/paho.mqtt.golang"
"github.com/golang/protobuf/proto"
"google.golang.org/protobuf/proto"
"sync"
"testing"
"time"