# Where does Pidog save its calibration settings?

**URL:** <https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159>\
**Category:** Robotic kit for Raspberry Pi\
**Created:** [May 5, 2025, 11:43pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159 "2025-05-05T23:43:45Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![DaveG](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/daveg/32/1655_2.png) [@DaveG](https://forum.sunfounder.com/u/DaveG)\
**Post date:** [May 5, 2025, 11:43pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159/1 "2025-05-05T23:43:45Z")

</div>

I love my Pidog. Was fun and easy to build, and it’s incredibly stable. I’ve had too many robots where things were loose and janky, and moved too fast and jerkily. This thing has great moves and features. I’ve written a Python app that lets the dog serve up a web page, so I can view the camera and run all the actions from a web page on any phone or pc without installing anything, plus see its status like distance, battery level, orientation, and touch sensor.

My question is, where does it save its calibration data? If I have to rebuild the SD card from scratch, I can do that, but I really don’t want to have to calibrate all the servos again.

Thanks!

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [May 6, 2025, 5:00pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159/2 "2025-05-06T17:00:20Z")

</div>

I think it’s this from pidog.py

UserHome = os.popen(‘getent passwd %s | cut -d: -f 6’ %User).readline().strip()

config\_file = ‘%s/.config/pidog/pidog.conf’ % UserHome

---

<div class="post-metadata">

**Author:** ![DaveG](https://yyz1.discourse-cdn.com/flex029/user_avatar/forum.sunfounder.com/daveg/32/1655_2.png) [@DaveG](https://forum.sunfounder.com/u/DaveG)\
**Post date:** [May 6, 2025, 5:40pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159/3 "2025-05-06T17:40:30Z")

</div>

That’s it!!! Thank you so much.

I was searching for a file with ‘cal’ in the name.

---

<div class="post-metadata">

**Author:** ![Spf650](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@Spf650](https://forum.sunfounder.com/u/Spf650)\
**Post date:** [May 6, 2025, 6:15pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159/4 "2025-05-06T18:15:27Z")

</div>

You are most welcome.

---

<div class="post-metadata">

**Author:** ![beatnik](https://avatars.discourse-cdn.com/v4/letter/b/bc79bd/32.png) [@beatnik](https://forum.sunfounder.com/u/beatnik)\
**Post date:** [June 25, 2025, 3:49pm UTC](https://forum.sunfounder.com/t/where-does-pidog-save-its-calibration-settings/3159/5 "2025-06-25T15:49:32Z")

</div>

Hey DaveG, how did you do that? Absolutely python noob, is it a copy/paste situation or is it way more involved? Just getting started on this forum to try and make sense of how to make my robopupper do stuff (beyond the examples)
