Simulate a quadruped robot online, tune servo joints and gaits, test terrain and obstacles, and generate Arduino, ESP32, or Raspberry Pi motion code.
QuadLab is an interactive quadruped locomotion simulator for exploring a four-legged robot design in a browser. Configure two to five degrees of freedom per leg, add auxiliary joints, set servo channels and calibration limits, and watch the robot move through a simulated world. Adjust gait timing and speed, navigate between targets, test flat or uneven terrain, place obstacles, and review virtual training scores. The code panel generates servo trajectory examples for supported Arduino-compatible boards and Raspberry Pi.
Inputs include robot dimensions, joint count, servo model and PCA9685 channel assignments, angle and pulse calibration values, gait, terrain, step timing, speed, foot clearance, navigation targets, and obstacles. Keyboard driving uses W/S for forward and reverse, A/D for sideways movement, Q/E for turning, and Space to start or pause.
The simulator displays a live canvas-based robot and world, route and contact indicators, joint-limit and collision feedback, and virtual training metrics. Its Code panel generates Arduino C++ or Raspberry Pi Python servo trajectories, and the project controls can export/import configuration JSON. The scene and training are software simulations only: this page does not connect to, sense, or control a physical robot, and simulated obstacle avoidance is not hardware safety protection. Generated trajectories are open-loop commands without onboard navigation, contact sensing, collision sensing, torque or thermal limits, or balance control. Verify pin mapping, mechanical travel, power, emergency stop, and code on your specific hardware; test with the robot lifted and clear of people and objects.
No. It is a browser simulation and code generator; it has no live hardware connection.
No. Training compares virtual episodes only. Generated servo patterns are open-loop and do not provide real-world sensing, balance, collision protection, or hardware safety limits.
The code panel provides Arduino-compatible C++ and Raspberry Pi Python examples that use PCA9685 servo-controller hardware. Review and adapt the output for your board, servos, wiring, and power system.
The page does not save the active project automatically. Use its project JSON export and import controls to keep and reload a configuration.