Assemble Mini Pupper V1, calibrate 12 servos, start walking and build a map
MangDang's original Mini Pupper is a small quadruped with three powered joints per leg, a Raspberry Pi, a servo control board and an IMU. Optional LiDAR configurations provide a path to ROS 2 SLAM and navigation. Distinguish this original version from Mini Pupper 2 and Mini Pupper 4: their actuator electronics and software are not interchangeable.

1. Hardware inventory and revision check
| Component | Function |
|---|---|
| Original Mini Pupper frame, 4 articulated legs | Three joints per leg, correct mirrored front/rear assemblies |
| 12 version-matched servo motors | Position each foot through three powered axes |
| Original servo controller board | Distributes commanded servo positions and calibrated offsets |
| Raspberry Pi 4 reference computer | Gait application, ROS, peripheral processing |
| IMU and face display | Body tilt and display feedback |
| Approved original battery, power cables, microSD | Compatible power and OS storage |
| Optional 2D LiDAR | Publishes /scan for SLAM and navigation if installed |
| Tools: precision drivers, caliper, multimeter | Servo horn alignment, fasteners and polarity |
Do not apply an unregulated or higher-than-8.4-V source to the original 2S-compatible servo power system; the project's original quick-start material warns that excess voltage can destroy servos. Verify the actual revision before connecting a battery or bench supply.
2. Four legs, twelve servo axes
3. Download the original hardware and BSP
sudo apt install -y git git-lfs
git lfs install
git clone https://github.com/mangdangroboticsclub/mini_pupper.git
cd mini_pupper
git submodule update --init --recursive
ls
cd ..
git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git
Read the original V1 mechanical and servo alignment drawings. The current main repository may also contain newer Mini Pupper generations; pin the intended revision and do not assume all files under the latest main branch target V1.
4. Assemble chassis, servo modules and cables
- Sort front-left, front-right, rear-left and rear-right mechanical parts and fasteners from the original V1 kit.
- Assemble each leg with the three servo actuators in the correct orientation and record a label for every joint.
- Set servo horns to their documented mechanical starting positions before tightening. Wrong horn splines can prevent calibration or overload a servo.
- Fit all legs into the central body and verify symmetric neutral posture with power disconnected.
- Install the servo driver board, Raspberry Pi, display, IMU and original power module; keep wires out of the linkage sweep.
- Install the optional LiDAR high enough for unobstructed scanning and secure its model-matched interface.
- Inspect battery polarity, servo supply voltage and fastener retention before any motor test.
5. Control and sensor architecture
6. Flash the original Raspberry Pi system and calibrate
- Select a V1-compatible Raspberry Pi image from the official Mini Pupper documentation. Write it to microSD with Raspberry Pi Imager.
- Configure networking and SSH, then start the Pi with the original board correctly wired.
- Run the version-matched BSP diagnostics and launch the servo calibration application.
- With a stand under the robot, adjust neutral positions one leg joint at a time; save the offsets.
- Check all four paws have matching support height before attempting a gait.
# On a correctly installed original Mini Pupper BSP:
calibrate
# Inspect installed BSP tooling:
python3 -m pip show mini-pupper-bsp
ls /dev/i2c*
ls /dev/tty*

7. Set up ROS 2 Humble for a compatible V1 release
The original Mini Pupper ROS 2 documentation includes a Humble workflow. The PC and onboard robot must use compatible ROS distributions, transport settings and robot variants.
source /opt/ros/humble/setup.bash
sudo apt update
sudo apt install -y git python3-vcstool python3-rosdep python3-colcon-common-extensions
mkdir -p ~/ros2_ws/src
cd ~/ros2_ws/src
git clone -b ros2-dev https://github.com/mangdangroboticsclub/mini_pupper_ros.git
vcs import < mini_pupper_ros/.minipupper.repos
cd ~/ros2_ws
rosdep update
rosdep install --from-paths src --ignore-src -r -y
colcon build --symlink-install
source install/setup.bash
export ROBOT_MODEL=mini_pupper
Inspect the checkout's exact launch and package names before starting a physical gait. This is a historical branch-specific workspace, not a generic install command for Mini Pupper 2 or 4.
8. First gait and joystick / keyboard test
# On the robot's correctly installed ROS 2 BSP:
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 launch mini_pupper_bringup bringup.launch.py
# On the workstation:
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 topic list
ros2 run teleop_twist_keyboard teleop_twist_keyboard
Stand the robot on a clear, flat floor only after a supported neutral-pose test. Start with minimal keyboard velocity and stop immediately if a foot drags, a servo stalls or body orientation is inconsistent. Never test on a desk edge.
9. Python ROS 2 command monitor
import rclpy
from rclpy.node import Node
from geometry_msgs.msg import Twist
class VelocityMonitor(Node):
def __init__(self):
super().__init__("mini_pupper_velocity_monitor")
self.create_subscription(Twist, "/cmd_vel", self.on_cmd, 10)
def on_cmd(self, msg):
self.get_logger().info(
f"forward={msg.linear.x:.3f}, yaw={msg.angular.z:.3f}"
)
rclpy.init()
node = VelocityMonitor()
try:
rclpy.spin(node)
except KeyboardInterrupt:
pass
finally:
node.destroy_node()
rclpy.shutdown()
This read-only program prints requested commands and does not drive the robot. Confirm the gait controller actually subscribes to /cmd_vel before assuming keyboard commands will work.
10. Optional SLAM with a connected LiDAR
source ~/ros2_ws/install/setup.bash
export ROBOT_MODEL=mini_pupper
ros2 topic list | grep scan
ros2 launch mini_pupper_slam slam.launch.py
# After map generation and with the map topic active:
ros2 run nav2_map_server map_saver_cli -f ~/mini_pupper_map
SLAM requires a compatible LiDAR and odometry topics. If the required launch file is not present in the selected release, inspect the workspace launch list instead of guessing alternative package names.
11. Troubleshooting and commissioning checklist
| Symptom | First investigation |
|---|---|
| Uneven legs or immediate fall | Recheck horn alignment, calibration offsets and mirrored axes |
| BSP calibration missing | Check the V1 image and correct installed BSP package |
| Robot does not move from ROS 2 | Check bringup, DDS discovery and /cmd_vel subscriber |
| Servo becomes hot | Stop; inspect collision, voltage and joint mechanical binding |
| No /scan for mapping | Verify optional LiDAR is physically installed and its driver is active |
| Bad occupancy map | Inspect scan timing, robot odometry and excessive body pitch |
Before the first walk, confirm all 12 servo assignments, neutral posture, battery specification, firmware image, ROS version and emergency recovery. The original Mini Pupper is not the newer brushless Stanford Pupper V3.
Complete practical guide: Mini Pupper
The original Mini Pupper uses twelve leg servo positions and a Raspberry Pi-based control system. Correct horn alignment and BSP version matter more than the first gait choice.
1. Files, parts and fabrication
- Download the original Mini Pupper CAD and print files. Sort the parts into front-left, front-right, rear-left and rear-right assemblies.
- Acquire the matching servos, controller, Pi and battery. Use the original horn alignment drawing and check joint movement before fitting each leg to the chassis.
- Keep servo cables identified by leg and joint. Install the Pi and board with cable clearance and accessible power disconnect.
2. Software installation and configuration
- Flash the original BSP image onto the storage device, or use the matching mini_pupper_bsp checkout and install procedure. Do not install the Mini Pupper 2 BSP on the original.
- After the documented reboot run the BSP test script. Start calibrate on the Pi or via the documented remote display method.
- Install the matching ROS stack only after the basic driver and calibration tests work. Verify the selected robot variant in any launch configuration.
Commissioning diagram
- 1Pi BSP
- 2Servo calibration offsets
- 3Twelve joint targets
- 4Leg motion and body pose
- 5Gait controller
Mermaid diagram source
flowchart TD
N0["Pi BSP"]
N1["Servo calibration offsets"]
N2["Twelve joint targets"]
N3["Leg motion and body pose"]
N4["Gait controller"]
N0 --> N1
N1 --> N2
N2 --> N3
N3 --> N43. Power-on preparation and first movement
- Support the body so all paws can move freely. Check every servo's neutral position and leg direction in the calibration interface.
- Compare front and rear paws for symmetry. A horn outside its intended range must be reassembled with power disconnected.
- Use the documented stationary stand function and lower the robot only when the paws are aligned and stop behavior is verified.
4. Programming exercise
On the original BSP installation, run the official diagnostic and calibration tools. They may interact with hardware; keep the body supported and clear.
cd ~/mini_pupper_bsp
./test.sh
calibrateFollow the reported BSP test results and calibration interface. Record the offsets only after confirming the physical neutral positions.
5. Progress to practical operation
- Start with a stable standing pose on a flat surface, then verify the stationary stop.
- Select the documented slow gait in the compatible controller. Test a short straight segment and inspect paw placement and body tilt.
- Add camera or ROS navigation only after repeatable manual locomotion. Fast gait or running requires a controller and limits appropriate to this model.
6. Software and hardware diagnostics
- One paw points inward
- Check horn alignment, servo channel and calibration before applying another offset.
- Calibration command absent
- Verify BSP branch and installation; check that the original robot is selected.
- Body falls when released
- Return to support and inspect joint direction, neutral offsets and battery state.
Technical basis: MangDang original Mini Pupper BSP and assembly instructions. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.
Mini Pupper legs, servos and body variants
Documented kit or self-sourced quadruped
This sequence covers the original Mini Pupper. Mini Pupper 2 and 2 Pro use different hardware and instructions.
From parts to first test 7 steps
Order original-version components
Use the design and assembly references to identify the original frame, servo modules, Raspberry Pi, board, battery, specified screws and bearings. Confirm quantities and cable lengths before ordering.
Reference 1 ↓Prepare the controller image
Use mini_pupper_bsp to select the original board's supported image. For the documented advanced manual installation, clone the BSP repository, enter mini_pupper_bsp and run ./install.sh, reboot, then run ./test.sh from the repository.
Reference 3 ↓Build the leg assemblies
Follow the illustrated assembly's leg section. Match left/right orientation, place the servos and horns at the indicated neutral alignment and check free motion.
Reference 2 ↓Build the hips and fit the body frame
Follow the hip and body-frame sections, keeping joint orientation consistent. Install electronics with the power disconnected.
Reference 2 ↓Connect all twelve servos
Label the designated short and long cables; use the assembly guide's connector diagram to connect the correct joint to each port before fitting the covers.
Reference 2 ↓Calibrate before standing
On the supported BSP desktop run calibrate; from an Ubuntu desktop connected via ssh -X ubuntu@ROBOT_IP, run the same command. Follow the tool's prompts to adjust offsets and verify all twelve joints with the robot supported before standing.
Reference 3 ↓Add ROS after basic motion works
Use the original mini_pupper repository and its matching ROS setup to test teleoperation or navigation after the stand and basic gait checks succeed.
Reference 5 ↓
Parts, files and official manuals 5 references
Original 12-servo quadruped
Practical implementation notes for Mini Pupper. Use the exact hardware and software revision specified in the project documentation.
Tools and equipment
- Hex drivers
- small screwdriver
- microSD writer
- original-version BSP board
- Raspberry Pi
- matched servos
- multimeter
Component illustration
- 1Body frame
- 2Hip
- 3Knee
- 4Foot
Control architecture
- 01Joystick / ROS
- 02Pi controller
- 03BSP and servo board
- 04Twelve leg servos
Mechanical preparation and assembly
Build each of the four leg modules with the horn alignment from the original guide. Fit the hip mechanisms and mount them to the body frame. Place the controller and Pi before connecting cables; identify the designated servo wires by length and joint.
Electrical setup and calibration
Follow the original port mapping and connector orientations; connect all twelve servos while battery is disconnected. Match left/right and front/rear directions. Record neutral offsets with paws raised and run the board-specific calibration tool.
Software setup and programming
Install the original BSP image or use its documented manual installation on a compatible system, then reboot and run the BSP test script. Use the calibration application on the Pi or via SSH with X forwarding before installing the optional matching ROS navigation stack.
First test and acceptance criteria
After verifying all twelve positions, command a supported stand and check that the paws are symmetric. Only then try a slow gait on a clear floor.
Programming and configuration example
The installer is intended for the matched Mini Pupper OS; calibration is interactive and requires the robot to be supported.
git clone https://github.com/mangdangroboticsclub/mini_pupper_bsp.git
cd mini_pupper_bsp
# Use the branch for the original Mini Pupper.
./install.sh
# Reboot, then from the same directory:
./test.sh
calibrateTroubleshooting
If the calibration GUI cannot bring a leg to neutral, inspect horn assembly and the port mapping. Do not force the horn through the offset range or mix Mini Pupper 2 BSP with the original.
Technical reference: project release documentation. The assembly references above provide the revision-specific drawings and BOM. Examples are editorial walkthroughs or documented commands; they have not been physically tested by TechniaHQRobot.
Avoid mixing the three hardware editions
The original Mini Pupper guide documents a revision change after 15 April 2022, when hip and body pieces began using molded construction. Older 3D-printable files remain relevant to some self-builds but are not identical to newer shipped kits.
Mini Pupper 2 and 2 Pro each have separate assembly instructions. Confirm the edition before choosing firmware, servo numbering or the mechanical CAD.
How four legs are assembled
The original guide builds one leg and mirrors it for the opposite side. It specifies M2 bolts, bearings and the correct direction for each link; parts that face inward on one side may face outward on the other.
Position each servo output shaft at the designated middle mark before fitting the horn. Label cable identifiers before enclosing the body, as the guide uses different cable lengths for some motor positions.
Calibration and ROS commissioning
The workflow continues from mechanical assembly to servo calibration and software installation on the Raspberry Pi. Test a supported standing pose before attempting navigation or vision modules.
Optional lidar and cameras need physical brackets and software configuration. A ROS package or accessory listing does not establish out-of-box autonomous behavior.
Molded parts, calibration and ROS configuration
Answers are based on published source material and project documentation. Their order does not represent search volume.
01Can I build Mini Pupper completely from STL files?
The design reference links STL and Fusion 360 resources, but servos, bearings, fasteners, the Pi and electronic components are purchased. Later kits use molded body and hip parts.
Sources Official project documentation
02Why do the build pictures not match my kit?
The original guide notes hardware changes after April 2022. A newer body may have molded parts that differ from the original prints.
Sources Official project documentation
03What makes a leg move in the wrong direction?
Check whether the left/right joint orientation and servo horn center position match the manual, then run the calibration utility before testing a gait.
Sources Official project documentation
04Can I use a Mini Pupper 2 guide on the first model?
No assumption of interchangeability is safe. Wiring, MCU behavior, assembly order and part inventory differ across editions.
Sources Official project documentation
05How do I calibrate the 12 joints?
Install the board-support package and follow the calibrate command and official GUI or CLI process. It is version-dependent and should be completed before gait tests.
Sources Official project documentation
06Does a lidar module guarantee SLAM navigation?
The accessory provides sensing hardware; the supported ROS installation and calibration still need configuration. Review the current documentation for the particular kit edition.
Sources Official project documentation
Mini Pupper: parts cost, software updates and maintenance
This practical ownership section complements the original assembly and programming instructions. Public files do not guarantee that all components can still be purchased or that every build is supported.
| Item | Project record |
|---|---|
| Cost record / BOM target | Current model-specific build price requires supplier quote |
| Software licence | Apache-2.0 (main repository); some BSP submodules have GPL exceptions |
| Hardware licence | Check individual CAD/design releases; source permission not established by the software license |
| Simulation availability | ROS and gait/control resources; supported ROS version depends on hardware edition |
| Build difficulty | Intermediate to advanced |
How to obtain the robot or its parts
Use the Mini Pupper documentation and hardware release to identify whether an assembled product, kit or self-sourced parts are offered. Price the matching revision, not a photograph or an old bill of materials. Include actuators, controller, supply, wiring, tools, fabrication, shipping, tax and spare parts. A historical BOM target is not a current delivered quote.
- Project documentation
- Source repository and version history
- CAD / fabrication files
- Revision-specific workshop source
How the hardware and software work together
Mechanical path: Body frame → Hip → Knee → Foot.
- Joystick / ROS
- Pi controller
- BSP and servo board
- Twelve leg servos
Feedback, fault detection and the approved stop function constrain the command path.
Install the original BSP image or use its documented manual installation on a compatible system, then reboot and run the BSP test script. Use the calibration application on the Pi or via SSH with X forwarding before installing the optional matching ROS navigation stack.
Install, update and recover the software
Keep the exact hardware revision, repository commit, operating system, dependencies, controller firmware and calibration in a local build manifest. Read the project’s setup instructions before installing. Use an isolated environment and a separate checkout for upgrades; compare release notes, regenerate only the documented configuration, and first repeat a simulation or read-only test. Back up calibration and original firmware files where the project supports it. Restore only a documented compatible release if the new version fails.
Project-specific verification: After verifying all twelve positions, command a supported stand and check that the paws are symmetric. Only then try a slow gait on a clear floor.
Power, battery replacement and cycle life
Select the model-specific pack and charging instructions; compare walking current at the same speed and surface.
Battery cycle life and robot service life are different. Equivalent full cycles (EFC) can be estimated as cumulative discharged energy (Wh) divided by initial usable pack energy (Wh). State of health (SOH) is measured usable capacity divided by baseline usable capacity × 100%, under comparable conditions. Example only: 1,800 Wh discharged from a 600 Wh reference pack equals 3 EFC; neither number is a specification for this robot. Ask for the manufacturer’s cycle rating, temperature limits, capacity-retention criterion and warranty. Do not use an arbitrary percentage as a replacement threshold.
Common problems, wear and service plan
| When | Inspection and evidence |
|---|---|
| Before operation | Inspect servo horns, leg geometry and foot grip; confirm the correct board support package and servo offsets for V1 versus other revisions. |
| After a fault or impact | Follow the original port mapping and connector orientations; connect all twelve servos while battery is disconnected. Match left/right and front/rear directions. Record neutral offsets with paws raised and run the board-specific calibration tool. |
| After software or parts change | Record versions and replaced part serials; compare the same approved test with the earlier baseline. Stop on new errors or unexpected movement. |
| At manufacturer service intervals | Use the documented interval and authorized service procedures. No universal calendar or lubricant is assumed. |
| At end of service | Ask about spare-part availability, data removal, battery take-back and local electronics recycling. |
What is not established by the published files
The project documentation must provide any claimed rated service life, battery cycle endurance, duty limits, warranty and repair intervals for the exact hardware. Without a cited endurance test, report those values as not established, not zero and not an estimate. For a DIY build, keep a parts-replacement log and report conditions when measuring reliability.
Original documentation
- ROS and software repository
- Original Mini Pupper assembly
- Official design and STL index
- Software and board support
- Mini Pupper 2 assembly
Found a changed specification? Submit a correction with its source ↗