This page is devoted to the Python programming language, including references to tutorials and particular, use of Python in programming robot control systems.

See also: CircuitPython and MicroPython and Upgrading Python

A Python Library Devoted to Robotics#

This is a Python code collection of robotics algorithms.


  1. Easy to read for understanding each algorithm's basic idea.
  2. Widely used and practical algorithms are selected.
  3. Minimum dependency.

See: Python Robotics by Atsushi Sakai

How to Have Pip3 Install a Module to a Specific Python Version#

'nuff said (in the title):

python3.8 -m pip install foo


  • gpiozero, a simple interface to everyday GPIO components used with Raspberry Pi. Installed on Raspbian by default; to install on other OS use:  pip3 install gpiozero
  • igraph is a collection of network analysis tools with the emphasis on efficiency, portability and ease of use
  • NetworkX is a Python package for the creation, manipulation, and study of the structure, dynamics, and functions of complex networks. Also see networkx on github.
  • Support for various Pimoroni Breakout Garden boards as MicroPython modules

Multi-Threading and Multi-Processing in Python#


Below are some rough notes. This needs to be edited into proper wiki text and links.

    Arduino-Powered Robot Solves a Maze Using Subsumption Architecture in C
    check out: who built the robot and wrote the above article

    On Simple Reactive Neural Networks for Behaviour-Based Reinforcement Learning by Ameya Pore and Gerardo Aragon-Camarasa (Python)

    A subsumption-architecture based robot built using the lejos ev3 API. (Java)

    Robot Subsumption Controller (alexander-svendsen/ev3-python on github)

    Lab 7: Subsumption architecture, Due April 16

    Playful: Reactive Programming for Orchestrating Robotic Behavior


    Lisa Meeden, Neil R. Grabois Professor in Natural Sciences and Engineering and Department Chair
    Swarthmore College, PA

      A Developmental Robotics Manifest (Blank, Marshall, Meeden)

      Towards Planning: Incremental Investigations into Adaptive Robot Control
      Lisa A. Meeden, doctoral thesis

      Emergent Control and Planning in an Autonomous Vehicle
      Appeared in Proceedings of the Fifteenth Annual Conference of the Cognitive Science Society
      Lisa Meeden and Gary McGraw and Douglas Blank

  which references:

  which references:
    CS63 Artificial Intelligence Spring 2015

  which references online book:
    Artificial Intelligence: A Modern Approach  (online ToC of book, with related resources) (ToC) (1995 edition, scanned full text)
    p.411 subsumption architecture, also discussed in Chapter 25

      online code repository:

      AIMA Python implementations (with an index of algorithms on that page)

Tags:  Python