About using the [[nodiscard]]
attribute for your functions.
Category: C++
Code snippet: inheritance with class templates and this->
A simple example how to use class templates in combination with inheritance.
Continue reading “Code snippet: inheritance with class templates and this->”
Trapezoidal velocity profile for a stepper motor
A simple way to achieve an acceleration profile for a stepper motor (fixed step size).
Continue reading “Trapezoidal velocity profile for a stepper motor”
Fast inverse square root
A fast algorithm to calculate the inverse of a square root stolen from Quake III.
Notes on templates in C++
Some notes about templates.