Assign a static USB port on Linux
Image source: wikimedia.org

Quite often I found myself needing static device names in Linux, especially when using ROS. As an example imagine having two sensors of a same type that yo connect to your PC. Now, if you don’t map your ports in any way you might end up with devices being mapped to /dev/ttyACM0 and /dev/ttyACM1, depending which one was connected first.

Let’s say your sensors are at different positions on the robot. If you want to make sure that you are using the proper device in your code you can either:

  1. Unplug and plug back the sensors again until you get the names you want
  2. Assign a static name to a port and be done with it

If you want to learn about the option 2 then read on.

Otherwise keep playing with your cables!

Continue Reading ...
UAV haptic control using Novint Falcon - pt 2

I consider the second and final part of the falcon project as finished from 1PPM perspective. Most of the project I already described in the previous post

Short summary of achieved results:

  • All the work done and test for Px4 SITL(jmavsim)
  • Mavros is used to talk to pixhawk (or SITL in this case)
  • Falcon is not suitable for flying real models (it isn’t reliable enough)

Without further due, here is the video showing the proof of concept in action:

Want to know more about the project? Read on!

Continue Reading ...
2 months of vim and tmux

For the last two months I’ve been using 3 tools to effectively work with the terminal on Linux. In this post I’ll try to sum up my experience so far and show you all the tools that I’m using at the moment.

In the post I will add some commands that I find useful everyday. Please bare in mind that in 2 months I barely scratched the surface of both vim and tmux.

Continue Reading ...
UAV haptic control using Novint Falcon - pt 1

As my first 1PPM project I choose to explore possibilities of using a Novint Falcon haptic device as a high level controller for an UAV. In this post I will describe the tools I chose to solve the problem.

Novint Falcon Haptic Controller
Novint Falcon Haptic Device

Tl;dr of things I learned while working on this project:

  • Bit of ROS (Robot Operating System)
  • Using libnifalcon library to interface with the falcon
  • Some random bits about Pixhawk (Px4 and ArduCopter Firmware)
Continue Reading ...
ROS industrial is coming to kinetic!

ROS industrial for ROS Kinetic distribution is on the verge of being released. If you are like me and are anxious to test it out but can’t wait until is available on PPAs then read on, I will show you how to make ROS industrial work with Kinetic distro!

Continue Reading ...
Don't f**k with LiPo batteries

LiPo batteries can be very dangerous. The picture in a header is a real life example why you should pay close attention to safety when handling them. In this post I will try show you what might happen when you mistreat your batteries and give some tipis how to handle them safely.

Continue Reading ...
12 Technical Projects [1PPM]
Image source: Guy Sie

As you can read in the summary of 12 books challenge I decided to try something different this year. In this post I will try to explain what I would like this project to be. I can only hope that you are already as hyped about this project as I am!

Continue Reading ...