Small changes
This commit is contained in:
@@ -58,7 +58,6 @@ function love.mqtt.message(topic, payload)
|
||||
BotState.servoBattery = tonumber(payload)
|
||||
BotState.servoBatteryCorrected = BotState.servoBattery / 2
|
||||
elseif topic == "telemetry/camfeed" then
|
||||
print("Got camfeed")
|
||||
fileData = love.filesystem.newFileData(payload, "camfeed")
|
||||
BotState.camfeed = love.graphics.newImage(fileData)
|
||||
elseif topic == "telemetry/pong" then
|
||||
|
||||
Reference in New Issue
Block a user