Where does Pidog save its calibration settings?

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!

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

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

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

1 Like

You are most welcome.