Capture PWM signal using Arduino

Parsing PWM signals ======================= For my `robocar project `_ I needed to understand the mechanism of pulse width modulation of the remote control. My intention was to use Arduino as a proxy between RC-receiver and servos/ESC to be able to record the used input for imitation learning. Human driver (me) sends steering commands via the remote control (transmitter). RC receiver converts radio signal into PWM signal. Arduino captures and maybe filters the signal, saves it somehow and sends it to the servos/ESC....

SergeM

Mixin pattern in Python

Design pattern Mixin is often used in python. There are two main situations where mixins are used 1: You want to provide a lot of optional features for a class. You want to use one particular feature in a lot of different classes. Order of mixins definition Order in which you use mixins defines the behaviour. Quote from 2: in Python the class hierarchy is defined right to left, so in this case the Mixin2 class is the base class, extended by Mixin1 and finally by BaseClass....

SergeM

Presentations in browser

There are many ways for showing slides beyond powerpoint. Powerpoint is not cross-platform solution. Google Presentations require internet connection. There are solutions for making presentations with html and javascript: reveal.js – more powerful, flexible formats, markdown support, plots a splugins remark many others : https://en.wikipedia.org/wiki/Web-based_slideshow RevealJS example: [https://revealjs.com/#/] Remark Example Example of html code for 3-slides presentaiton from github of the project: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 <!...

SergeM