Skip to main content

Scripts to control servos in pan-tilt configuration with Raspberry Pi

Project description


Build Status

Initial code to control Raspberry Pi with camera setup on 2-axis servo controlled arm.


from piservopantilt import ServoControl

s = ServoControl(pan_limits=(650,2500),tilt_limits=(650,2250))

# Move to 0,0

# Move to 180,180

# Move to specific coordinates


Run unit tests with command:

python3 -m unittest discover -s piservopantilt/tst/

Get test coverage with commands:

coverage run -m unittest discover -s piservopantilt/tst/
coverage report -m

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
piservopantilt-0.2.1.tar.gz (2.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page