brickrail icon indicating copy to clipboard operation
brickrail copied to clipboard

smart_train.py running out of route

Open Novakasa opened this issue 2 years ago • 2 comments

Ok, it happened again, but with a Byte array error and then disconnected the BLE I had increased the chroma on both trains as I was getting random Marker errors. So I restarted it and then got this error. I had also reldownloaded the Green train with the Brickrail SW. BytaArray-BLEDisconect.zip

Originally posted by @TekyTeky in https://github.com/Novakasa/brickrail/issues/140#issuecomment-1605765046

Novakasa avatar Jun 28 '23 16:06 Novakasa

This seems like a different issue to #140, so I've split it. If you happen to come across the IndexError again, please post your logs here.

Novakasa avatar Jun 28 '23 16:06 Novakasa

I've added some considerations for the chroma threshold value here: https://github.com/Novakasa/brickrail/issues/142 This explains why someone would need to increase the chroma threshold and what values make sense.

Novakasa avatar Jun 28 '23 17:06 Novakasa