Normally OpenCV for Android displays the preview in landscape mode. For STEMbot1 and STEMbot2 I needed to display the preview in a portrait mode.
Here is the code I came up with.
In your manifest file change the orientation from landscape to portrait.
Added by eric gregori on July 12, 2013 at 5:38pm — No Comments
The EMGRobotics Quad RC Servo Controller application is an Android based 4-axis motion controller designed to run on your smartphone or tablet. Simply plug an A2SCB_ML (available from EMGRobotics.com) into the headphone jack of the smartphone or tablet and…Continue
Added by eric gregori on June 24, 2013 at 12:04am — No Comments
My passion is robotics and computer vision. However, since becoming a father 12 years ago, getting kids excited about robotics has also become one of my passions. I discovered Catroid while searching for a programming language for my youngest son, who will be turning 8 this fall, to use on his Nexus 7. It's amazing how quickly kids…Continue
The EMGRobotics Audio Dual Servo Controller Board connects your iPhone/iPad or Android device to four servos (two servos for the left channel and two servos for the right channel) via the headphone jack. …Continue
Added by eric gregori on March 14, 2013 at 11:48pm — No Comments
The EMGRobotics Robot Controller for Android is a computer vision based smartphone application design to work with the EMGRobotics Audio Dual Motor Controller Board (ADMCB) and the EMGRobotics Audio Dual Servo Controller Board (ADSCB). The ADMCB and the…Continue
Added by eric gregori on February 25, 2013 at 3:13am — No Comments
To control the EMGRobotics Audio Dual Motor Controller Board (ADMCB ) and the EMGRobotics Audio Dual Servo Controller Board (ADSCB) you need to generate tones between the frequencies of 1000hz to 10000hz.
This is easily done in Android using the AudioTrack class. The AudioTrack class lets you play pcm data from a memory buffer. PCM is un-encoded audio. It is very easy to produce pure tones in PCM using…Continue
Added by eric gregori on February 18, 2013 at 8:26am — No Comments
Days 1 - 7
Days 8 - 16Continue
I love the internet. Tonight, I was searching for something completely different and up popped a Youtube video for this incredibly cool Android app.
Experience dynamic augmented reality driving and real-time collision…
Working at TI must feel like a DIY Geek's vision of xmas every day.
The incredibly cool watch in the picture to the right is not only a nice looking watch, but a powerful Bluetooth development…Continue
Added by eric gregori on August 10, 2011 at 4:40pm — No Comments
Why is Android 2.3.4 (Gingerbread) important to robotics?
Android 2.3.4 (Gingerbread) introduced a API for interfacing hardware to Android phones via USB.
Open Accessory support allows external USB hardware (an Android USB accessory) to interact with an Android-powered device in a special "accessory"…Continue