ROS performance testing: C++ vs Python

ROS supports both Python and C++ programming languages, however, using Python can come at a performance cost. I did an experiment to test this by writing four combinations of publisher to subscriber and then checking whether the real loop rate (of the publisher) is equal to the actual loop rate of the subscriber. The combinations…Read more ROS performance testing: C++ vs Python

How to fix distorted HDMI sound (Ubuntu 16.04 LTS)

Upgrading to Ubuntu 16.04 LTS resulted in distorted sound when connecting my laptop to a TV and trying to play sound through the HDMI TV connection. The fix was to change the default.pa PulseAudio config file as follows: Open the config file using sudo gedit /etc/pulse/default.pa Change the line load-module module-udev-detect to  load-module module-udev-detect tsched=0.…Read more How to fix distorted HDMI sound (Ubuntu 16.04 LTS)

Tools for accelerated learning

Learning new tools, programming languages, algorithms, middle-ware, or even math is a way of life for any roboticist. And learning fast is equally important. Here are some useful platforms for learning. Programming languages Assuming you already know how to code, learning a new language involves getting familiar with new syntax, libraries and sometimes new paradigms.…Read more Tools for accelerated learning