knaxuslearn · build · ship

Roadmaps / Robotics / Setup and lab safety

Read first

Setup and lab safety

You need a laptop that can run a 3D simulator. 16 GB of RAM is recommended; 8 GB works for runs without the 3D window (author's estimate, not measured). Install the current ROS 2 long-term release and its paired Gazebo release (see Sources), or use a container image for your operating system. Check that each package you need exists for that release before you start, and fall back to the previous release (Jazzy with Gazebo Harmonic) if one is missing. Pin both versions in your repository. Everything in the core path is free.

Optional kit for Week 16 (estimates, not checked)Why you need itTypical price
Two-wheel robot chassis with motors and wheel encodersA body that movesUS$40 to 100
Single-board computer that runs ROS 2 on your chosen releaseThe robot's computer; check support before you buyUS$60 to 120
Microcontroller board with a motor driverReal-time wheel control (an ESP32 class board works)US$15 to 30
2D lidar with a ROS 2 driverMapping and obstacle detectionUS$80 to 200
Inertial sensor (IMU) breakoutTurn rate for the state estimatorUS$10 to 25
Battery pack and a physical emergency stop switch in the motor linePower, and a stop that does not depend on softwareUS$30 to 60

The minimum optional kit is about US$235 to 535. Nothing in the milestone needs it.

RiskRule
A real robot hits a person or a wallFirst runs happen with the wheels off the ground. Then cap speed at 0.3 m/s in a cleared area with nobody in it. A physical emergency stop cuts motor power, in hardware.
Software is the only stopNever rely on a program to stop a real robot. The emergency stop must work with the computer off or hung.
Battery fireCharge lithium packs in a fire-safe bag, never unattended, with the charger made for that chemistry.
Lidar and eyesRead the lidar datasheet for its laser class before you point it at anyone.
Simulation overstates safetyA passing simulation proves the software does what you modelled. It does not prove the wiring, the motors or the brakes. Say this in the Checkpoint 4 report.