Skip to main content

An application/framework for automated training of animals

Project description

Petminion

Project Principals

  • A generalized tool for (semi?) automated training of animals
  • Use 'off-the-shelf' hardware as much as possible (hopefully no soldering, no requirement for 3D printing)
  • Make the software accessible and extendable by beginning coders. Particularly for adding training rules.
  • Two initial test cases: cat training and crow training
  • Project should be fun and useful for both the developers and the users

Schedule

I'll be writing the first version in Winter of 2023 (in this github) and then iterating with my cat and black winged test subjects through the winter and spring. If you'd like to contact me, I'm kevinh@geeksville.com.

Training rules

The trainer works by using short 'training rules' to provide tasks/rewards to the animals. Initially we have a few sample rules, but hopefully over time people will write (and distribute) other rules. So that collaboratively we can build a set of rules for different animals, tasks and settings.

To drive initial development @geeksville is using two use-case rules. One for his cat and other for the birds on his deck.

Sample cat training

level 0 attempt CatTrainingRule0:

  • look for targets (springs) on white board.
  • count number of springs seen.
  • if number of springs increases & cat present -> emit food (if # feed events per day not reached - or implicitly limited by # of springs in house)

level 1 attempt CatTrainingRule1:

  • after spring seen and feed event -> power GPIO to somehow empty the target area

Sample crow training

level 0 attempt (keep food always present CrowTrainingRule0):

  • look at target and if no food present -> emit food

level 1 attempt (only emit food once we see a bird - to get birds used to feeder noise):

  • look at target no food and no bird -> emit food

level 2 attempt (only feed crows):

  • look at target no food and no crow -> emit food

level 3 attempt (provide tokens on a shelf just above target - hopefully crow knocks tokens into target)

  • look at target no food, no crow and no token -> emit food

level 4 attempt (provide tokens nearby but not on shelf)

  • same as above except tokens are not close, also we will count anything as a 'token' doesn't have to be the tokens we provided

FIXME - add GPIO control to empty unused food and empty tokens.

Project details


Download files

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

Source Distribution

petminion-0.0.1.tar.gz (604.2 kB view hashes)

Uploaded Source

Built Distribution

petminion-0.0.1-py3-none-any.whl (16.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page