Stanford Pupper V3: assembly, software, diagrams and first steps
Stanford Pupper V3 is an open-source 12-joint quadruped for learning robot mechanics, ROS 2, motor control and reinforcement-learning locomotion. The reference platform uses a Raspberry Pi 5, brushless geared actuators, an IMU and a camera. Construction is estimated at roughly USD 2,000, depending on suppliers and shipping. This guide retains the existing project dossier and adds a complete English-language practical workflow.

1. Hardware and what each part does
| Component | Function |
|---|---|
| 12 Steadywin GIM4305 geared brushless actuators | Three powered joints on each of four legs; approximately 3.5 Nm peak torque per actuator is stated in project specifications. |
| Raspberry Pi 5, 8 GB | Runs the robot OS, ROS 2 graph and locomotion controller. |
| Custom controller boards and motor drivers | Distribute control and read motor states. Match board revision and driver firmware. |
| BNO086 IMU | Reports body orientation and motion. |
| IMX296 camera with fisheye lens | Observes the environment. The specified lens offers a 222-degree field of view. |
| DeWalt-compatible battery | Powers the robot through the specified power circuitry. |
| PS5 controller | Operator control after pairing and safety checks. |
| Display, microphone and speaker | Optional user-facing interaction and system feedback. |
The robot has four legs and three actuated joints per leg, totaling 12 degrees of freedom. The published motor reference includes a 10:1 planetary reduction, around 1 Nm continuous torque with forced-air cooling and a maximum speed near 30 rad/s. Verify the exact motor revision before ordering.
2. Leg and chassis diagram
3. Parts, equipment and manufacturing preparation
- Obtain the V3-specific bill of materials, STL and CAD files, electrical revision and motor configuration files. Do not mix Pupper V1 parts with V3.
- Prepare the printed frame and leg links, specified fasteners, threaded inserts, motor mounts, 12 geared actuators, the two custom PCBs, power connectors, Raspberry Pi, USB storage, battery, camera and supporting sensors.
- Prepare hex drivers, a caliper, multimeter, soldering iron, insert-installation tip, suitable USB interface and ST-Link programming adapter.
- Inspect the PCB assembly revision, BNO086 component sourcing and available firmware before paying for fabrication.
4. Assemble the mechanical robot
- Printed parts: remove supports, clean the holes, inspect dimensional fit and install threaded inserts with temperature-controlled heating. The manual mentions 250 °C for insert installation, subject to the material and specified hardware.
- First leg: fit motors, bearings, links and foot elements following V3 mechanical illustrations. Rotate the unpowered linkage by hand to check for binding.
- Mirror the remaining legs: duplicate the assembly while observing left/right and front/rear symmetry. Label each motor by joint and corner.
- Body: mount all four modules, electronics supports and battery mounts to the central frame. Check that every cable has enough slack through the permitted joint travel.
- Accessories: fit the camera and specified lens mount, LCD, microphone, speaker and the manual's squash-ball foot ends as required.
- Mechanical inspection: with power disconnected, check screw retention, moving clearances, sharp edges, wiring abrasion and paw alignment before closing covers.
5. Electronic control architecture
6. Flash the controller and motor drivers
- Identify the exact PCB revision and firmware release.
- Use the documented ST-Link and STM32CubeProgrammer procedure for the controller and each driver board.
- Set motor parameters and unique motor IDs with Steadywin Motor Wizard and the required UART interface.
- Record the joint-to-motor map in a table before assembling the cable bundle.
- Check encoder offsets, motor direction and state feedback with the body secured. Do not start a gait until all 12 addresses match the intended joints.
Never guess a flash image, bus termination, CAN ID or power pinout. A valid software command to an incorrectly addressed motor can move the wrong leg.
7. Flash pupOS onto Raspberry Pi 5
- Install a compatible Raspberry Pi Imager on the workstation.
- Download the Pupper V3 pupOS system image for the desired project release.
- Choose Use custom and select the pupOS image, then the USB storage device.
- Configure hostname
pupper, usernamepi, a personal password, Wi-Fi credentials and SSH. - Flash the storage, insert it into the Pi 5 USB 3 port and boot the robot.
ssh pi@pupper.local
hostname
whoami
uname -a
ls ~/pupperv3-monorepo
ls ~/pupperv3-monorepo/ros2_ws
These commands only inspect the OS. If pupOS is unavailable, follow the official release-specific OS installation procedure instead of assuming a generic Raspberry Pi OS image contains the robot drivers.
8. Development tools and installation
| Tool | Purpose |
|---|---|
| Ubuntu 24.04 | Development machine OS |
| ROS 2 Jazzy | Robot message and control middleware |
| Python 3 | Custom controllers and scripts |
| Git / Git LFS | Source and large model files |
| Colcon / CMake | Build ROS 2 components |
| MuJoCo | Physics simulation |
| Foxglove Studio | Graph and sensor visualization |
| STM32CubeProgrammer | Microcontroller firmware |
| Steadywin Motor Wizard | Motor configuration |
| VS Code | Code editing |
sudo apt update
sudo apt install -y git git-lfs
git lfs install
git clone https://github.com/Nate711/pupperv3-monorepo.git --recurse-submodules
cd pupperv3-monorepo
./install_dev_dependencies.sh
cd ros2_ws
./build.sh
source install/local_setup.bash
ros2 --help
ros2 pkg list | grep neural_controller
ros2 topic list
Install the dependencies on a compatible development system. The installation script can alter system packages and Python environments. On the robot, the pupOS image already provides a release-matched runtime.
9. ROS 2 control and sensor feedback diagram
source ~/pupperv3-monorepo/ros2_ws/install/local_setup.bash
ros2 node list
ros2 topic list -t
ros2 service list
ros2 control list_controllers
ros2 topic list | grep joint
ros2 topic info /joint_states
ros2 topic echo /joint_states --once
The topic /joint_states is conventional in ROS 2, but confirm it exists in the installed release. Controller enumeration may fail when the matching service is not running.
10. First power-on, calibration and standing
- Place the body on a stable support and make sure all legs have room to move during calibration.
- Inspect fasteners and cable routing with the battery disconnected.
- Install the charged DeWalt-compatible battery, operate the rear switch and keep fingers away from joints.
- Let the robot perform its documented startup calibration without obstructing the feet.
- Power the PS5 gamepad and verify pairing.
- Confirm the emergency-stop and release controls using the official button-mapping diagram for this software revision.
- Use the documented standing procedure before trying motion on a flat, clear floor.
Check battery condition during use. The project documentation warns that there is no automatic hardware low-voltage shutdown and recommends a check by 40 minutes of operation.
11. Simulation before physical walking
cd ~/pupperv3-monorepo/ros2_ws
source install/local_setup.bash
ros2 launch neural_controller launch.py sim:=True
This is the documented development launch for MuJoCo simulation. Validate the robot model, neutral pose, joint ordering and slow walking in simulation before a hardware gait.
12. Python example: velocity commands in simulation
This is an illustrative ROS 2 publisher. Use it only in a simulation where the controller is confirmed to subscribe to /cmd_vel. It has not been certified for motion on a physical Pupper V3.
import rclpy
from rclpy.node import Node
from geometry_msgs.msg import Twist
import time
class PupperMove(Node):
def __init__(self):
super().__init__("pupper_move")
self.publisher = self.create_publisher(Twist, "/cmd_vel", 10)
def send(self, forward=0.0, turn=0.0):
msg = Twist()
msg.linear.x = forward
msg.angular.z = turn
self.publisher.publish(msg)
def main():
rclpy.init()
node = PupperMove()
try:
# Simulation-only example; verify limits and receiver first.
for _ in range(10):
node.send(forward=0.05)
time.sleep(0.1)
for _ in range(10):
node.send()
time.sleep(0.1)
finally:
node.send()
node.destroy_node()
rclpy.shutdown()
if __name__ == "__main__":
main()
linear.x specifies forward velocity and angular.z specifies yaw rotation. The 0.05 value is solely an example for software testing, not a validated real-robot speed.
ros2 topic pub --once /cmd_vel geometry_msgs/msg/Twist "{linear: {x: 0.0, y: 0.0, z: 0.0}, angular: {x: 0.0, y: 0.0, z: 0.0}}"
A zero-velocity message is not a physical emergency stop.
13. Deploy a locomotion policy and test running
- Train or obtain a compatible checkpoint using the project's supported simulation pipeline.
- Export the model in the deployment format expected by the installed neural controller.
- Place the policy JSON in the documented controller path and edit the
model_pathsetting in the appropriate configuration file. - Rebuild, source and launch the simulation before changing physical robot behavior.
- Inspect motion stability, sensor ordering, torque limits and model compatibility before attempting faster locomotion.
grep -n "model_path" ~/pupperv3-monorepo/ros2_ws/src/neural_controller/launch/config.yaml
cd ~/pupperv3-monorepo/ros2_ws
./build.sh
source install/local_setup.bash
ros2 launch neural_controller launch.py sim:=True
Do not increase physical robot speed using an arbitrary command: running requires a validated locomotion policy matched to the hardware.
14. Hardware neural controller startup
Warning: this next command can make a real robot move. Execute it only after safe supported commissioning and verification of the stop control.
ssh pi@pupper.local
source ~/pupperv3-monorepo/ros2_ws/install/local_setup.bash
ros2 launch neural_controller launch.py
15. Foxglove and ROS 2 diagnostics
ssh -L 8765:localhost:8765 pi@pupper.local
# In the robot's ROS 2 environment, when not already running:
ros2 run foxglove_bridge foxglove_bridge
ros2 topic hz /joint_states
ros2 topic echo /joint_states --once
Inspect whether the joint state stream is present and whether the controller receives the expected signals. Confirm the Foxglove ROS connection and port are configured before connecting the desktop viewer.
16. Troubleshooting table
| Symptom | Diagnostic action |
|---|---|
| Cannot SSH into Raspberry Pi | Check Pi power, Wi-Fi, network address, hostname and SSH service. |
| neural_controller package missing | Build the workspace and source local_setup.bash. |
| PS5 controller unresponsive | Check Bluetooth pairing and the documented controller state. |
| Leg does not respond | Power down and check motor ID, cable, bus voltage and driver firmware. |
| Joint moves in the wrong direction | Stop, isolate the actuator and correct orientation, calibration or mapping. |
| Robot falls when standing | Inspect IMU orientation, model configuration, motor offsets and controller status on a support. |
| Camera not detected | Inspect ribbon connection, lens module, power and camera configuration. |
| Motor overheating | Stop, disconnect power and inspect mechanical load after cooling. |
| cmd_vel ignored | Confirm topic subscribers, active controller and any competing command sources. |
cd ~/pupperv3-monorepo/ros2_ws
./build.sh
source install/local_setup.bash
ros2 pkg list | grep neural_controller
# Optional: disable automatic startup on the next boot
sudo systemctl disable robot
Disabling a boot service does not stop an already running service.
17. Commissioning checklist
- V3 parts and electronic revision match the documentation.
- All 12 motors and motor IDs are mapped to the correct corners and joints.
- Correct firmware is installed on controller and drivers.
- Encoders and IMU report consistent states.
- Battery, connectors and structural fasteners are inspected.
- ROS 2 launches and joint states are visible.
- PS5 controller and emergency stop have been tested.
- Neutral posture and walking were tested in simulation first.
18. Technical limitations and verification
The complete design requires revision-specific PCB layouts, firmware images, wiring diagrams, motor addresses and manufacturing tolerances. This guide does not invent these values. The code examples explain ROS 2 operation and have not been tested on an assembled physical Pupper V3. Keep a safe support under the robot until its controller and actuator feedback have been individually verified.
Documentation used for this guide: Stanford Pupper V3 official build, OS installation, operation and development manuals, and the Pupper V3 monorepo. These resources are the authority for revision-specific details.
Complete practical guide: Stanford Pupper V3
Pupper V3 is a ROS 2 quadruped platform. Separate the board and driver setup from neural-control experiments, and check each leg's orientation first.
1. Files, parts and fabrication
- Use the Pupper V3 mechanical drawings and parts list rather than earlier Stanford Pupper revisions. Build one leg and verify its linkage before fabricating the remaining legs.
- Assemble mirrored leg modules into the designated body corners. Inspect alignment, fasteners and cable slack before closing covers.
- Install the board and power hardware specified for V3. Record actuator assignments by corner and joint.
2. Software installation and configuration
- Provision the board using the V3 installation procedure. Retrieve the matching monorepo and build its ros2_ws with the supported ROS 2 environment.
- Run ./build.sh in the workspace and source install/local_setup.bash. Check installed controllers and topics.
- Review the neural_controller launch and model configuration before selecting an operation mode.
Commissioning diagram
- 1ROS 2 controller
- 2Joint state and configuration
- 3Neural control output
- 4Four leg modules
- 5Body and paw feedback
Mermaid diagram source
flowchart TD
N0["ROS 2 controller"]
N1["Joint state and configuration"]
N2["Neural control output"]
N3["Four leg modules"]
N4["Body and paw feedback"]
N0 --> N1
N1 --> N2
N2 --> N3
N3 --> N43. Power-on preparation and first movement
- Support the body and lift the feet. Confirm power disconnect and stop behavior.
- Check each leg's direction and feedback by the documented single-leg procedure. If a foot moves incorrectly, correct joint mapping first.
- Use the stationary standing procedure before lowering the robot to a flat, clear floor.
4. Programming exercise
After building and sourcing the V3 ROS 2 workspace, inspect controller and joint feedback. These commands query the ROS graph.
cd ~/pupperv3-monorepo/ros2_ws
source install/local_setup.bash
ros2 topic list
ros2 control list_controllers
ros2 topic echo /joint_states --onceVerify that controller states and published joint names match the V3 model. If the topic differs in your release, use the name returned by ros2 topic list.
5. Progress to practical operation
- Test the selected controller in the supported development environment and inspect the neural controller inputs.
- Confirm a supported stationary pose, then a slow supervised gait on a flat floor.
- Treat running as a separate policy-validation task; do not scale arbitrary velocity commands beyond the tested envelope.
6. Software and hardware diagnostics
- ROS package not found
- Rebuild and source the V3 workspace.
- Controllers absent
- Check the selected launch and hardware interface state.
- Leg mirrored incorrectly
- Check actuator assignment and physical orientation with power removed.
Technical basis: Stanford Pupper V3 monorepo and ROS 2 workspace instructions. Programming examples are identified as simulation, offline analysis or documented interface instructions. No physical commissioning test is claimed.
Pupper V3 hardware assembly and ROS 2 bringup
Documented V3 quadruped
Use the Pupper V3 documentation and software; earlier Stanford Pupper generations have different hardware.
From parts to first test 5 steps
Choose the V3 parts and fabrication files
Use the V3 documentation's hardware list and CAD references to source the matching motors, frame, electronics and fasteners.
Reference 1 ↓Build four leg modules
Follow the V3 illustrations for motor, linkage and leg orientation; check each module's free movement before fastening it to the chassis.
Reference 1 ↓Install the control and power hardware
Follow the V3 wiring and controller instructions with the battery disconnected. Verify each motor connector and location.
Reference 1 ↓Set up the V3 ROS 2 workspace
Use the Pupper V3 monorepo and the documented image/setup instructions for the board. Build the matching packages rather than using V1 software.
Reference 3 ↓Bring up the joints and stand
Check the motor mapping on a support, then use the V3 documented standing procedure before testing a gait.
Reference 1 ↓
Parts, files and official manuals 3 references
Four leg modules and ROS 2
Practical implementation notes for Stanford Pupper V3. Use the exact hardware and software revision specified in the project documentation.
Tools and equipment
- Hex drivers
- caliper
- electronics tools
- multimeter
- supported V3 motors and computing board
- ROS 2 workstation
Component illustration
- 1Chassis
- 2Hip motor
- 3Leg linkage
- 4Foot
Control architecture
- 01Joystick
- 02ROS 2 controller
- 03Hardware interface
- 04Four leg modules
Mechanical preparation and assembly
Build one V3 leg according to its mechanical pictures, ensuring the linkage does not bind. Assemble mirrored modules and mount them to the central frame in their designated corners. Tighten fasteners only after checking alignment.
Electrical setup and calibration
Label each motor and connector by leg and joint. Follow the V3 power diagram, check supply and data connections, and keep the chassis on a stable stand while testing feedback. Do not reuse a Pupper V1 calibration.
Software setup and programming
Provision the V3 board using the official image or instructions. Build the ROS 2 workspace using the monorepo script and source the local environment. Inspect topics and controllers before using the documented operation procedure.
First test and acceptance criteria
Lift all feet and check a single leg response. Only after neutral posture and controller feedback agree should the robot be lowered for a short supervised gait.
Programming and configuration example
Build the V3 ROS 2 packages and inspect available controllers. The final, commented launch can activate the robot; use the documented stop switch and release-specific operation procedure before starting it.
cd ~/pupperv3-monorepo/ros2_ws
./build.sh
source install/local_setup.bash
ros2 topic list
ros2 control list_controllers
# Development mode only; reviewed and supported robot:
# ros2 launch neural_controller launch.pyTroubleshooting
If ROS cannot find neural_controller, rebuild and source the workspace. If one foot moves opposite to its expected direction, stop and correct the joint mapping before enabling gait.
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.
A third-generation robot
Pupper V3 is different from the original StanfordQuadruped project. The older Pupper used a Raspberry Pi 4 and hobby servos; the V3 documentation specifies GIM4305 brushless actuators, three driven joints per leg and a Raspberry Pi 5. Reusing an old wiring guide or shopping list would create a hardware mismatch.
The V3 technical page lists a mass near 3 kg and a crouched body about 25 cm long, 20 cm high and 22 cm wide. Those dimensions describe the documented build rather than an arbitrary custom variant.
Reading the sensor and actuator stack
The listed sensors include a BNO086 inertial measurement unit and a wide-field camera. Motor drives report joint position, speed and effort. A student can compare that feedback to the commanded joint trajectory, then investigate why imperfect calibration or incorrect mass assumptions change the observed movement.
The repository provides a ROS 2-oriented software workspace and the documentation covers assembly, operating-system setup, operation and maintenance. The visible face display and ears add functions that are separate from leg locomotion.
Reinforcement learning and first tests
The project describes policies trained in simulation to negotiate obstacles. A new build should first pass mechanical checks, one-leg motion checks and a safe supported stance test before testing a walking policy. The published videos cannot establish the lifetime of another unit assembled with different parts.
The V3 documentation quotes about US$2,000 for a self-build. The frequently repeated US$900–1,000 budget belongs to earlier Pupper versions and should not be substituted.
Version checks and the first supported standing test
Answers are based on published source material and project documentation. Their order does not represent search volume.
01Can I build Pupper V3 from the Stanford Doggo or Pupper V1 files?
No. Pupper V3 is a separate hardware generation. Use its own assembly manual, mechanical sources and compatible motor-control software.
Sources Official project source
02Where are the printable robot pieces?
The hardware documentation repository is the correct starting point for V3 mechanical assets. Check the referenced release and fabrication method; a complete printable STL set is not confirmed in the software monorepo alone.
Sources Official project source
03What software runs on the robot?
The Pupper V3 monorepo contains a ROS 2 workspace and physical control. Match the Raspberry Pi image and controller configuration to the same V3 hardware.
Sources Official project source
04How should I approach the first standing test?
Power the robot with its body supported, verify each joint's direction and resting position, then follow the manufacturer's supported stand sequence before trying learned gaits.
Sources Official project source
05Will an older $900 Pupper guide give me a current V3 budget?
No. Historic Pupper and Doggo BOM totals refer to other generations; source the V3 parts list to estimate contemporary cost.
Sources Official project source
06Does the ROS software license also cover all CAD designs?
The robot software is GPL-3.0 and the documentation/hardware files have separate notices. Inspect them individually before commercial manufacturing.
Sources Official project source
Stanford Pupper V3: 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 | About US$2,000 to self-build (current project documentation) |
| Software licence | GPL-3.0 (robot software monorepo) |
| Hardware licence | Check the individual build/CAD files and their notices |
| Simulation availability | Robot policy training in simulation; ROS 2 stack |
| Build difficulty | Intermediate to advanced |
How to obtain the robot or its parts
Use the Stanford Pupper V3 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: Chassis → Hip motor → Leg linkage → Foot.
- Joystick
- ROS 2 controller
- Hardware interface
- Four leg modules
Feedback, fault detection and the approved stop function constrain the command path.
Provision the V3 board using the official image or instructions. Build the ROS 2 workspace using the monorepo script and source the local environment. Inspect topics and controllers before using the documented operation procedure.
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: Lift all feet and check a single leg response. Only after neutral posture and controller feedback agree should the robot be lowered for a short supervised gait.
Power, battery replacement and cycle life
Use the V3-specific power and charger instructions, not the original Stanford Pupper BOM.
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 the four leg linkages, foot grip and actuator mounts; compare repeated joint trajectories after any replacement. |
| After a fault or impact | Label each motor and connector by leg and joint. Follow the V3 power diagram, check supply and data connections, and keep the chassis on a stable stand while testing feedback. Do not reuse a Pupper V1 calibration. |
| 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
- Official project source
- V3 hardware specifications
- Official project source
- Official project source
Found a changed specification? Submit a correction with its source ↗