Skip to content
  • Google Play
  • YouTube
  • GitHub
  • Launchpad
  • Cookie Policy (EU)

Pygmalion

Geek stuff

  • Home
  • Privacy Policy
  • Cookie Policy (EU)
  • Notes
    • Notes on C
    • GNU make basics
    • Git Cheat Sheet for GitHub
    • Python Virtual Environment Management Cheat Sheet
    • Bash History and Command Re-execution Cheat Sheet
    • Compiling with GTK 2 on CygWin
    • Ubuntu boots to a black screen
    • Install GeoGebra on Ubuntu
    • Review: Evers Automatisierungstechnik, Kleve
  • Stuff
  • Etsy Shop
  • About
  • Legal Notice

Category: Python

Matching a Location to a Track using Vector Operations

Matching a Location to a Track using Vector Operations

March 3, 2024February 11, 2025 Pygmalion
Introduction Map matching involves the projection of raw geographic coordinates to map data. For instance, we can match recorded GPS data to the actual course of the road, or in real time navigation, ... Read More
Cartesian Coordinates with matplotlib

Cartesian Coordinates with matplotlib

April 5, 2021November 14, 2023 Pygmalion
In this post we’ll create an orthonormal Cartesian plane with x axis, y axis and origin, using matplotlib. If you’re using jupyter first include this line to get inline charts: %matplotlib... Read More
Controlling the Pi Rover over SSH

Controlling the Pi Rover over SSH

September 6, 2015 Pygmalion
Introduction We have seen how to control the Pi Rover over HTTP. However, you may find it a bit of an overkill to install a webserver bundled with PHP just to control the motors. A leaner alternative ... Read More
Controlling the Pi Rover over HTTP

Controlling the Pi Rover over HTTP

June 27, 2015September 26, 2016 Pygmalion
Introduction Now that we have a programmable robotic platform, built with a Raspberry Pi, a motor controller and a chassis, we’d like to control it remotely, from a PC and later maybe from a mob... Read More
The HC-SR04 ultrasound range finder on Raspberry Pi

The HC-SR04 ultrasound range finder on Raspberry Pi

March 7, 2015March 3, 2024 Pygmalion
Introduction The HC-SR04 can be used to measure distance and detect obstacles in robotic projects. However, the reported range is not always accurate, small objects are mostly not detected at all and ... Read More
Pi Rover: Raspberry Pi with a DMC02 motor controller

Pi Rover: Raspberry Pi with a DMC02 motor controller

March 1, 2015March 14, 2015 Pygmalion
Introduction We’ll build a mobile robotic platform with a Raspberry Pi on a chassis. A Pololu DMC02 motor controller board is used to drive the engines. The controller receives serial commands f... Read More
Daylight controlled devices with PyEphem

Daylight controlled devices with PyEphem

November 7, 2014January 5, 2019 Pygmalion
I needed a camera to be turned off at night and a PIR sensor (controlling a light switch) to be turned on. A photoresistor would be an obvious choice here, but we can also accurately calculate twiligh... Read More
Motion detection with Raspberry Pi

Motion detection with Raspberry Pi

November 2, 2014November 22, 2015 Pygmalion
To detect intruders in my living room I used the PIR sensor from a Funduino starter kit. A Python script triggers some appropriate actions when motion is detected. Set the jumper on the sensor PCB to ... Read More
Retrieving Google geocoded co-ordinates in Python

Retrieving Google geocoded co-ordinates in Python

August 3, 2011August 3, 2011 Pygmalion
Import the json and the urllib2 modules: import json, urllib2 Programmatically contruct the URL to meet the requirements of the the geocoding webservice, i.e. make it look like this (click to view the... Read More
Wardriving using an Ubuntu 10.04 notebook and a Garmin Etrex

Wardriving using an Ubuntu 10.04 notebook and a Garmin Etrex

February 3, 2011November 1, 2012 Pygmalion
Most GPS software that ships with Ubuntu 10.04 uses gpsd to retrieve data from the GPS receiver. So make sure that you have gpsd installed. Unfortunately the new JSON protocol used by gpsd is not supp... Read More
Default Glade window sizes

Default Glade window sizes

October 21, 2010 Pygmalion
By default, GtkWindow objects are displayed as compact as possible. In order to specify the preferred window dimensions, first set the visibility of the window to “No” in Glade Interface D... Read More

Recent Posts

  • Preloading Offline Maps in OpenTopoMap Viewer
  • Understanding Kotlin’s Higher-Order Functions: map, reduce, and fold
  • Android OpenTopoMap Viewer: New Features and Google Play Release
  • Geotagging Time Lapse Images with Mapillary Tools
  • Geotagging a MOV File with Mapillary Tools

Categories

Recent Comments

  • Geotagging a MOV File with Mapillary Tools - Pygmalion on Geotagging Time Lapse Images with Mapillary Tools
  • Geotagging Time Lapse Images with Mapillary Tools - Pygmalion on Geotagging a MOV File with Mapillary Tools
  • georges younes on Android Gauge View
  • Elias Younes on Android Gauge View
  • prathiv on Sliding Toggle Button on Android (1)

Archives

Meta

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org

Stuff

  • Deutsche Kfz-Kennzeichen App
  • Galgje
  • AptiMob
Theme Designed by InkHive. © 2025 Pygmalion. All Rights Reserved.
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
Manage options Manage services Manage {vendor_count} vendors Read more about these purposes
View preferences
{title} {title} {title}