Saturday, December 1, 2012

RC Receiver Data Transmission

It's getting cold outside, so connecting the real RC transmitter to a flying simulator would be awesome!

Actually, it is so awesome, there are a number of projects like that already on the internet. Like RCArduino (reading RC controller with an Arduino), or PPM RC to USB (reading RC controller's PPM signal).

But here, something different is required, something that reads the RC receivers signal to the servo, converts it to an 8bit value, and sends it over the USB port. That way, any receiver could be connected and any channel read.

So, step one, check how the signal of a RC receiver looks like:


It looks like a standard servo PWM signal (1ms for far left, 1.5ms for center and 2ms for far right), with no delay between switching from one channel to the next.

Sunday, November 11, 2012

Upgrading the Camera Stand Again

Fixed the right camera hanging to the side by cutting and bending the holding plate with the screw. Just 2.5° difference, but it makes all the difference. Still slightly rotated, but around the center, which is less of a distortion.

(Do not look at the picture without 3D glasses!)


But why stop there. Since this will be on a plane someday, let's fixate the camera so it wont rotate around the mounting screw.


And for convenience, a small cut out to the holding plate, so that the camera latch can open and expose the battery and memory card (screwing and unscrewing the camera to the stand over and over again becomes old really fast).



Saturday, November 3, 2012

Rolling


Finally, standing on wheels!

Trimmed away decorative plastic from the landing gear. Saved about 35 grams.

Sunday, October 21, 2012

360° Panorama Coordinate Systems

Unwrapped pictures from the 360° panorama lens, treated with b-splines, looked pretty. But they weren't right.

How do we know? We checked:


And for that a 360° panoramic calibration checker board was created.


Confused yet? Pay attention to the height of the squares. Still confused?


Unwrapping the picture with Polar to Cartesian transformation, we can see that the squares aren't square. In fact they get less and less square.


It turns out that the correct transformation would be from Log-Polar to Cartesian coordinate system. And even then with a calibration parameter for the lens, since the real world is not perfect and the log base != e.


So we get, what the camera sees.


What we want to see.


What math sees.

Tuesday, September 11, 2012

Data Set Test Again

New stand, new data, new problems.


While working with the stand is much easier now, it would appear that the red camera holder is glued with together with a slight tilt to the right.


Back to the "shop".

Sunday, September 2, 2012

Upgrading the Camera Stand

Small problem with the original idea.

Sure it works, but using metal screws for the cameras and metal clamps to attach them to the stand, left the whole thing heavy. Too heavy for the specifications of the plane.

Time to innovate! Easiest and lightest thing would be to attach another pair of bigger tubes over existing ones, using them as tracks to hold the cameras while still being able to adjust them.

Fresh out of those, we make our own:


Wrap some shrink wrap around the tubes, to use them as a mold:


Wrap some strong fabric around the mold. In this case, polyester canvas fabric. And drench it in super glue.


Let it dry and then pull off the mold carefully.


Sand off imperfections until smooth.


Cut to equal lengths, drill holes for camera holder and spaces. Reuse parts from previous version, but cut away anything unnecessary to keep the weight down.


Again wrap the stand in shrink wrap, put on all the parts and drench it in super glue again.


Replace the metal screw with a plastic one.


And we're done!

In previous version, a single camera holder was 73 grams, this version is 14 grams. Altogether a reduction in weight by 118 grams (118 = 2*73 - 2*14).

Sunday, August 12, 2012