Menu

1 / 2

(My First Robot Steps by Samuel | Ghana Robotics Dreamer)

DEV Community·Samuel Osei·6 months ago
#haCMaaJE
Reading 0:00
15s threshold

My First Robot Steps

Hey, I'm Samuel, a 15-year-old from Ghana diving into robotics with zero cash but big dreams. Picture this: a walking explorer bot that freelances online for me, chatting like my AI pal Perplexity while scouting the world. No joke—that's my end-of-2026 goal!

It started on my phone with Pydroid, hacking simple Python loops. Now on my HP EliteBook (Windows 10, 8GB RAM), I'm leveling up. First challenge? Coding a walk. Robots don't stumble like us—they need smooth gaits.

Here's my baby script testing sine waves for legs:

import math

import time

time_step = 0.1

for t in range(100):

left_leg = math.sin(t * 0.5) * 30 # Degrees up/down

right_leg = math.sin((t * 0.5) + 3.14) * 30 # Opposite phase

print(f"Step {t}: Left={left_leg:.1f}°, Right={right_leg:.1f}°")

time.sleep(time_step)

Run that, and boom—alternating steps like a pro toddler bot! Next, I'll plug it into PyBullet simulator (free download) for 3D crashes and fixes.

Why build this?…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.