# Pidog Servo Zeroing position incorrect, head tilts with other functions

**URL:** <https://forum.sunfounder.com/t/pidog-servo-zeroing-position-incorrect-head-tilts-with-other-functions/3638>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [August 7, 2025, 4:51pm UTC](https://forum.sunfounder.com/t/pidog-servo-zeroing-position-incorrect-head-tilts-with-other-functions/3638 "2025-08-07T16:51:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Quack](https://avatars.discourse-cdn.com/v4/letter/q/e99b99/32.png) [@Quack](https://forum.sunfounder.com/u/Quack)\
**Post date:** [August 7, 2025, 4:51pm UTC](https://forum.sunfounder.com/t/pidog-servo-zeroing-position-incorrect-head-tilts-with-other-functions/3638/1 "2025-08-07T16:51:42Z")

</div>

Hi everyone, i recently had to detatch my pidog’s head to add a bushing to the neck and head servos. I then Made sure to run servo\_zeroing.py when reattaching the head so it was in the correct position. However, now the position is correct during the zeroing, but when running any other script, it goes completely off?

Why is this happening? Shouldnt the zeroing match up to the position of the other scripts? I also tried wiping my calibration but the issue persists.

Shall i simply reattach the head in the position of the 0\_calibration.py script? This feels wrong but would seem to solve it.

---

<div class="post-metadata">

**Author:** ![Quack](https://avatars.discourse-cdn.com/v4/letter/q/e99b99/32.png) [@Quack](https://forum.sunfounder.com/u/Quack)\
**Post date:** [August 7, 2025, 5:18pm UTC](https://forum.sunfounder.com/t/pidog-servo-zeroing-position-incorrect-head-tilts-with-other-functions/3638/2 "2025-08-07T17:18:47Z")

</div>

Ah, solved my own issue. It was simply that i needed to detach the neck for the zeroing here. During zeroing this part is meant to be facing directly downwards, rather than diagonal how it is on the dog.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/sunfounder/original/2X/a/ac7c1f4948ab83326f2e6e76c220dfb7beff7356.jpeg)
