Differential-Drive Mobile Robot & 360° LiDAR 3D
- Physics
टिप्पण्या
About this simulation
This interactive 3D TurtleBot3-class autonomous mobile robot simulator unites the three core pillars of mobile robotics: differential-drive kinematics, 360° 2D LiDAR perception, and closed-loop Pure-Pursuit trajectory control. Built in real units (66 mm wheel diameter, 160 mm track width, 4096-tick optical encoders, 5 Hz belt-driven LDS-02 LiDAR casting 72 live raycast beams), the robot navigates Oval, Figure-8, and Slalom arenas—or hands control directly to your keyboard in WASD Drive mode. Students can inspect the live RViz-style polar LiDAR radar, watch the Instantaneous Center of Curvature (ICC) and Pure-Pursuit lookahead circle work on the arena floor, explode all four stacked hardware tiers while driving, and tune speed and lookahead distance Ld to observe smooth tracking versus real underdamped oscillation.
What students can explore
- Watch the live 2D LiDAR Scan panel and 3D laser fan turn vermilion whenever an arena obstacle comes within 340 mm.
- Click EXPLODED and X-RAY to lift all four chassis tiers—revealing the dual gearmotors, rear quadrature encoder discs, 3S LiPo battery, OpenCR controller, Raspberry Pi SBC, and belt-driven LiDAR rotor.
- Shrink the LOOKAHEAD Ld slider below 0.14 m at high speed (0.42 m/s) to trigger authentic closed-loop Pure-Pursuit fishtail oscillation on the arena floor and live error trace.
- Raise LOOKAHEAD Ld to 0.55 m on the Figure-8 or Slalom course to observe classic Pure-Pursuit corner-cutting.
- Select WASD DRIVE (or press W/A/S/D or arrow keys) to teleoperate the robot yourself and watch left/right wheel angular velocities ω_L, ω_R and ICC turning radius respond live.
Learning objectives
- 1Compute linear speed v = (r/2)(ω_R + ω_L), yaw rate ω = (r/L)(ω_R − ω_L), and ICC turning radius from differential wheel speeds.
- 2Interpret a 360° polar 2D LiDAR range scan and map proximity hits to physical obstacles in the robot coordinate frame.
- 3Predict how Pure-Pursuit lookahead distance Ld and control latency govern the tradeoff between tracking oscillation and corner-cutting.
Questions teachers ask
How does a differential-drive robot steer without a steering wheel?
It steers purely by spinning its left and right drive wheels at different speeds. Equal speeds drive straight (infinite ICC radius); opposite speeds pivot in place around the center of the axle.
Why does shrinking Lookahead Ld cause the robot to fishtail?
Pure-Pursuit curvature scales inversely with Ld squared (κ = 2y / Ld²). When Ld becomes too small relative to speed and motor/sensor latency, high steering gain overshoots the path back and forth into sustained lateral oscillation.
Can I drive the robot manually?
Yes. Click WASD DRIVE or press W, A, S, D or the arrow keys at any time to take manual control while the 360° LiDAR, wheel encoders, and telemetry charts continue updating live.
Embed this simulation
Drop it into your LMS, blog, or class site — free.
<iframe src="https://kiwibee.io/mr/simulations/differential-drive-lidar-robot-3d-simulation/embed" title="Differential-Drive Mobile Robot & 360° LiDAR 3D | KiwiBee" loading="lazy" allowfullscreen style="width:100%;height:min(70vh,620px);min-height:420px;border:0;border-radius:16px"></iframe>Bring interactive science into your classroom
KiwiBee's free teacher workspace brings lesson planning, worksheets, classroom tools, and gradebook together in one place.
Start free and create your first classYouTube वर KiwiBee पहा
शिक्षक आणि शाळांसाठी छोटे KiwiBee व्हिडिओ. सबस्क्राइब करा, किंवा तुम्ही जिथे असाल तिथून KiwiBee ला फॉलो करा.
