Products
Features
YouTube Video Summarizer
Summarize YouTube videos
Web & PDF Highlighter
Highlight web pages & PDFs
Chat with PDF
Ask any PDF questions with AI
Ask AI Clone
Chat with your highlights & memories
Audio Transcriber
Transcribe audio files to text
Glasp Reader
Read and highlight articles
Kindle Highlight Export
Export your Kindle highlights
Idea Hatch
Hatch ideas from your highlights
Integrations
Obsidian Plugin
Notion Integration
Pocket Integration
Instapaper Integration
Medium Integration
Readwise Integration
Snipd Integration
Hypothesis Integration
Apps & Extensions
Chrome Extension
Safari Extension
Edge Add-ons
Firefox Add-ons
iOS App
Android App
Discover
Discover
Ideas
Discover new ideas and insights
Articles
Curated articles and insights
Books
Book recommendations by great minds
Posts
Essays and notes from readers
Quotes
Inspiring quotes collection
Videos
Curated videos and summaries
Explore Glasp
Glasp Newsletter
Weekly insights and updates
Glasp Talk
Interview series with great minds
Glasp Blog
Latest news and articles
Glasp Use Cases
Learn how others use Glasp
Build & Support
Glasp API
Access Glasp's API for developers
MCP Connector
Connect Glasp to Claude & ChatGPT
Community
Glasp Reddit Community
Students
Student discount and benefits
FAQs
Frequently Asked Questions
AboutPricing
DashboardLog inSign up

Raspberry pi with Python for Robotics 7 - Adding User Control

48.1K views
•
April 29, 2014
by
sentdex
YouTube video player
Raspberry pi with Python for Robotics 7 - Adding User Control

TL;DR

This video tutorial demonstrates how to program user input control in a Python and Robotics project using tkinter and CPython.

Transcript

all right what is going on everybody and welcome to yet another Python and Robotics tutorial video in this video we're going to be building on the last one and this time we're going to allow uh key input from a user into our robot so we can actually control our robot since we don't have any actual sensors that will allow us to make our robot autono... Read More

Key Insights

  • 📽️ The project focuses on integrating user input control into a Python and Robotics project.
  • 🤖 External devices or remote desktop access are necessary to interact with the robot.
  • 🤩 Tkinter is used to create a window and register key presses for controlling the robot's movements.
  • ↩️ Specific key bindings are assigned to actions such as forward, reverse, turning left/right, and pivoting left/right.

Install to Summarize YouTube Videos and Get Transcripts

Explore YouTube Video Summarizer or Get YouTube Transcript Extractor

Questions & Answers

Q: What are the requirements for controlling the robot with user input?

The robot can be controlled using either a mouse, wireless keyboard, and HDMI monitor connected to a Raspberry Pi or through remote desktop access. Instructions for remote desktop setup can be found in the video description.

Q: Why is tkinter used in this tutorial?

Tkinter is used to create a window where user input can be registered. This allows the program to capture key presses and associate them with specific actions in the robot's movement.

Q: What keys can be used to control the robot?

The tutorial suggests using the keys "W" for forward, "S" for reverse, "A" for turning left, "D" for turning right, "Q" for pivot left, and "E" for pivot right. These keys are case-insensitive.

Q: Why does the program run random actions when an unexpected key is pressed?

The program does not have a specific action assigned to keys other than the ones mentioned above. To avoid random behavior, the tutorial suggests adding a "pass" statement to the code to ensure that no action is taken when an unexpected key is pressed.

Summary & Key Takeaways

  • This video is a continuation of a Python and Robotics tutorial, focusing on allowing user input to control the robot.

  • The tutorial explains the need for external devices like a mouse, wireless keyboard, and HDMI monitor or remote desktop access.

  • The video provides step-by-step instructions on importing necessary libraries, creating a window for user input, and programming key bindings for specific actions.


Read in Other Languages (beta)

English

Share This Summary 📚

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Explore More Summaries from sentdex 📚

Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib thumbnail
Python: How to Graph the Chaikin Money Flow Trading Indicator in Matplotlib
sentdex
How to Parse Twitter for Twitter Analysis: Part 1 thumbnail
How to Parse Twitter for Twitter Analysis: Part 1
sentdex
Python: How to Program the Chaikin Money Flow Trading Indicator thumbnail
Python: How to Program the Chaikin Money Flow Trading Indicator
sentdex
Parsing XML - Go Lang Practical Programming Tutorial p.11 thumbnail
Parsing XML - Go Lang Practical Programming Tutorial p.11
sentdex
How to Train a Chatbot Using TensorFlow and Python thumbnail
How to Train a Chatbot Using TensorFlow and Python
sentdex
Python Generator Functions for massive Performance Improvements with Lists thumbnail
Python Generator Functions for massive Performance Improvements with Lists
sentdex

Summarize YouTube Videos and Get Video Transcripts with 1-Click

Download browser extensions on:

Try YouTube Summary with ChatGPT & Claude or YouTube Transcript Generator

Apps & Extensions

  • Chrome Extension
  • Safari Extension
  • Edge Add-ons
  • Firefox Add-ons
  • iOS App
  • Android App

Key Features

  • YouTube Video Summarizer
  • Web & PDF Summarizer
  • Web & PDF Highlighter
  • Chat with PDF
  • Ask AI Clone
  • Audio Transcriber
  • Glasp Reader
  • Kindle Highlight Export
  • Idea Hatch

Integrations

  • Obsidian Plugin
  • Notion Integration
  • Pocket Integration
  • Instapaper Integration
  • Medium Integration
  • Readwise Integration
  • Snipd Integration
  • Hypothesis Integration

More Features

  • APIs
  • MCP Connector
  • Blog & Post
  • Embed Links
  • Image Highlight
  • Personality Test
  • Quote Shots

Company

  • About us
  • Blog
  • Community
  • FAQs
  • Job Board
  • Newsletter
  • Pricing
Terms

•

Privacy

•

Guidelines

© 2026 Glasp Inc. All rights reserved.