Quantcast
Channel: Benjamin's robotics
Viewing all articles
Browse latest Browse all 10

Open Source ESC Video Logging on Electric Longboard

$
0
0

In order to get an impression about what the load looks like while using my open source ESC on an electric longboard, I wrote a program using Qt and opencv to do real-time video overlay logging while testing. This is the first test I made in my basement:

Four threads are used:

  1. Capture images from the webcam (framegrabber.cpp).
  2. Overlay the images with real-time information and graphs (frameplotter.cpp).
  3. Encode a x264 video from the images (videocoder.cpp).
  4. Record audio, fetch data from the ESC and keep everything in sync (logger.cpp).

The source code and a small description on how to install and use it can be found on github;

https://github.com/vedderb/bldc-logger

Here is one indoor test in the V-building at Chalmers University test where the temperature is logged as well:

and this is one outdoor test with some uphills around chalmers:

I have been using my laptop with an external webcam for the tests in the videos, but it also works on my odroid u3 with lower resolution.


Viewing all articles
Browse latest Browse all 10

Trending Articles