mirror of
https://github.com/legop3/MultiRoombaRover.git
synced 2026-09-16 09:31:20 -04:00
use webhooks
This commit is contained in:
@@ -199,7 +199,7 @@ function handleSensorFrame(roverId, frame) {
|
||||
if (bumps?.bumpLeft || bumps?.bumpRight) {
|
||||
record.lastBumpAt = Date.now();
|
||||
}
|
||||
io.to(record.room).emit('sensorFrame', {
|
||||
io.to(record.room).volatile.emit('sensorFrame', {
|
||||
roverId,
|
||||
frame,
|
||||
sensors: decoded,
|
||||
|
||||
Reference in New Issue
Block a user