systemetric / shepherd

👨‍🌾 Shepherd is the code management system used on the RoboCon brains
Other
2 stars 1 forks source link

Updated helper.py to include websocket. #53

Closed what-does-that-do closed 1 year ago

what-does-that-do commented 1 year ago

I have updated helper.py to include the new move to websockets. I will update sheep to allow it to consume these websockets tomorrow (or later), but it is a simple javascript move to forward the incoming base64 string straight into the image src.

I have tested this on my robocon board, however due to errors listed on the discord, I can't run any code to test if the image from the camera is intercepted as expected, but I will have to test this on Friday. I have tested by manually inserting one of my own images into the full_image.jpg file, and everything works as expected there.