You are browsing as a guest. Sign up (or log in) to start making projects!

valdtaniem

@valdtaniem

Joined June 8th, 2026

  • 7Devlogs
  • 1Projects
  • 1Ships
  • 15Votes
Hi! I'm Valdtaniem, a programmer from the Netherlands. I love coding and hacking (; I enjoy mixing creativity with technology. I like to in CTF's. I work on many projects, including some websites (yixboost.dev, yixboost.eu). But I love to code and break all sorts of things!
Ship Changes requested

I made 2 scripts in C. A server script and a rover script.
The server script accepts the connection from the rover. When it receives "ping" it sends a randomly generated string of 1, 01, 001 and 000. with 50% 1 for forward, 25% 01 for backwards and 12.5% 001 and 000 for left and right. the efficiency comes from the fact that the most used (forward) is only 1 character, and lesser used actions are more. 3blue1brown explains it very well (https://youtu.be/l6DKRf-fAAM?si=0wl0j-8jQxhWdPC4&t=208). That video is also where I got the idea for this project.

  • 7 devlogs
  • 12h
Try project → See source code →
Open comments for this post

1h 52m 40s logged

most functions are in (:

The server has a GUI now, just a live log of what is being sent. and connection info.

The rover GUI has an update, new buttons and a background.

You can now close the rover program and the server won’t crash. you can start the rover up again and reconnect.

i want to add a controller to the server for manual driving.
Making everything look better is also something I want to do. the rover and background are pretty ugly and the server still looks plain.

0
0
5
Open comments for this post

3h 7m 40s logged

The rover has a GUI now! using GTK i made a grid with buttons and a drawing area to visualize the rover moving.

  • with ping to receive movement instructions
  • and reset to position the rover back to the center
  • the button images should change because they are now just hand drawn (;

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. ¯_(ツ)_/

0
0
5
Open comments for this post

1h 20m 35s logged

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.

0
0
4
Open comments for this post

57m 3s logged

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

0
0
5

Followers

Loading…