Archive for category Miscelánea / Misc

Light painting with a homemade robot arm

This is my last finished project. It’s a homemade robot arm with a RGB LED in the terminal element so we can paint with it. In the end of the post I’ll link to the PDF of the project and the powerpoint I used in class (in spanish) to present it. When I have time I’ll upload some videos.

We built the robot in our association AESS and I programmed a simulator in python of the arm that implements the inverse kinematics and the needed stuff to paint an image or the points that we need.

PDF: http://awesomebytes.com/wp-content/uploads/2011/12/Documentacion-Brazo-LED.pdf
Powerpoint: http://awesomebytes.com/wp-content/uploads/2011/12/PresentacionBrazoSammyPfeiffer.pdf

Tags: , , ,

C Humanoid Lab libraries for Bioloid Premium

Trying to use the library of http://apollo.upc.es/humanoide/trac/wiki/bioloidCframeworks to program the Bioloid I’ve found a couple of problems to compile my project.
I found out that in AVRStudio5.0 I couldn’t build my project because he couldn’t find the lib (.a) of the project. This is so because when you download the project you don’t have the libraries compiled. To solve this problem I needed to execute make in every directory of the libraries:
-motion
-controllers
-dyn_device
Doing this I’ve found that I couldn’t compile it because the PATH to the directory of the embeded_c of Robotis contained brackets (and spaces) and Make didn’t like that. So I just moved the directory to the root of my partition. So I executed: make ROBOTIS_C_DIR=M:\embeded_c
Once the three libraries were compiled the project in AVRStudio build correctly.

Tags: , , ,

Checksum on the motionfiles (.mtn) of the Bioloid

Working with a Bioloid I had the need of modifying a pose file of the Bioloid. This file is structured as a text file that starts with the bytes 0xEF 0xBB 0xBF and after that it details every pose and its data (the position of every motor, etc). I found that in the end of the file there is attached a Checksum, and without that Checksum the Bioloid and it’s software won’t recognize the file.
This Checksum is formed of 2 bytes computed adding the value of every byte of the file 8(including the carriage returns in UNIX format) and in the end changing the sign of the result and getting only the last 2 bytes. This Checksum is added at the end of the file (in the last line, after a carriage return).

Here you can see the Python code that opens the file (that only needs the checksum in the last line) and computes and writes the Checksum.

Tags: , ,

Moving Bioloid arms with a Kinect

Video of my project.
On one side I obtain the data of the Skeleton of the user using OSCeleton.
On the other side I have my application programmed in Python where I parse the coordinates of the different joints obtained via OSCeleton (using the OSC protocol, parsing with SimpleOSC). This same application simulates the Bioloid and calculates the inverse kinematics so I am able to position the motors. For making the simulation I used VPython.

Thanks to this project I’ve learned a lot about robotics, inverse kinematics, python I wanted to learn python for this project), OSC protocol and I re-learned a lot of geometry and trigonometry.

Tags: , , ,

I can’t execute shortcuts .lnk windows 7

Today a friend changed without wanting it the predetermined program to open .lnk’s (shortcuts). The solution to this its easy, you just need to use this registry key (its in a .zip, just execute it and reboot). I found the solution here.

Key (.reg) to restore:

.lnk fix

Tags: , , ,

Installing OSCeleton Sensebloom in Windows 7 64 bits

To install OSCeleton you must follow the steps that you can find at SensorKinect but they don’t mention a couple of details:

-You must install the 32 bit version of OpenNI and NITE because SensorKinect does not have a 64bit version and it does not recognize the 64 bits of them installed.

-You must go to environment variables (Control Panel\System and security\System, left, advanced system settings, down you find EnvironmentVariables) and modify the register OPEN_NI_BIN so it contains: C:\Program Files (x86)\OpenNI\Bin (for me), the difference is that it said “bin” and not “Bin” in my default installation so it does not find the binaries. If you don’t make this change when you try to execute some demo you will get: “OpenNI library can’t find any module!”.

Found the solution in this thread,

Tags: , , , , ,

Installing AVRStudio4 on Windows 7 64bit

I needed to compile some code for a Bioloid (CM-510) so I needed AVRStudio4 (downloadable here, needs register, 116mb) and I had a problem, when I executed the installation it won’t continue, the installer minimizes to the taskbar, and nothing else happens at all.

The workaround for installing it its disable UAC of Windows 7 (reboot, systems tells you to do so) and execute again the installer. (You might want to enable UAC again and reboot).

Found the solution here .

Tags: , ,

Ultra low cost computer

I repost (a little late) about the project of RaspberryPi:
A computer for 25$ with the next specifications:

Provisional specification

700MHz ARM11
256MB of SDRAM
OpenGL ES 2.0
1080p30 H.264 high-profile decode
Composite and HDMI video output
USB 2.0
SD/MMC/SDIO memory card slot
General-purpose I/O
Open software (Ubuntu, Iceweasel, KOffice, Python)

Their objective is:
“We plan to develop, manufacture and distribute an ultra-low-cost computer, for use in teaching computer programming to children. We expect this computer to have many other applications both in the developed and the developing world.”

They will use the next sale plan:

Will there be a buy-one-give-one program?
Yes. We plan to implement a program of this sort.

So I hope we can have our hands on this soon (they say they will have it available at the later 2011).

Tags: , , , ,

Installing WeTab on a ExoPC

Steps to install WeTab (SO based in MeeGo) on a ExoPC (we need an USB keyboard!):

Download the SO image at this link, this is the official torrent: Torrent (1GB).

Load the image in a pendrive, to do that we can follow the instructions of meego, I used the Windows option:

1.Download win32imagewriter
2.Extract and open the app.
3.Select the cd of MeeGo image (if you don’t see it, rename the image with the extension .img) and select the pendrive unit.
4.Click Write.

Stick in the pendrive and select to boot from the USB (hit F11 with the keyboard or touch on the BBS option in the first screen of the ExoPC).

In the recovery of WeTab screen we will need to hit Control+Alt+F3 to get into the console. The login & password are: “root” and “wetab”.

The next step is to execute the next command:
tiitoo-installer.sh silent_installer /mnt/live/system.tar.bz2

It will be 5-10minutes of installation. When it finishes write reboot and in the next boot, we will be at the WeTab installation.

I’m waiting for the install to end, it needs to download a lot of updates (it says 45min at least!). I’ll write about what I think soon!

Source: meetmeego.org

Tags: , ,

Sorry, but this post is not available in English

Sorry, but this post is not available in English

Tags: , ,