efficient rover
- 4 Devlogs
- 7 Total hours
sending data to a far away rover is expensive. I have an efficient way of communicating.
sending data to a far away rover is expensive. I have an efficient way of communicating.
The rover has a GUI now! using GTK i made a grid with buttons and a drawing area to visualize the rover moving.
the server sends longer strings.
planning to add a background and make the buttons look like a controll panel.
while the rover is moving don’t press the ping button becouse than the program crashes. ¯_(ツ)_/
The server now sends full strings of instructions and the rover can properly decode them into forward, backward, left and right instructions.
I’m pretty proud of my implementation although I’m sure there is a better way.
The server now transmits random movement instructions.
the instructions have a 50%, 25%, 12.5% and 12.5% for 1, 01, 001 and 000. Because 1 is used much more its more efficient than encoding with 00, 01, 10 and 11
the rover and server scripts are talking via tcp.