Test Navigation with 360Vision in the IUCTC
New test of navigation using the 360 vision system.
Best regards..
Test 1 with the interface navigation – IUCTC
This video is the first test I've done almost everything already installed and fully functional, in short I'm using the telepresence robot, vision glasses 5DT HMD 800 with the sensor InertiaCube2 for head movement to control camera I'm using what was the gauss cannon, which has passed away and has become the head of Willy.
To be the first test went better than I expected, I've fixed several bugs that were the libraries, especially freeing memory failures that walks are not problems that stuff and pointers that did not control very well. Una vez arreglado todo eso, la aplicación se ha vuelto mucho más estable y fiable. Once settled all that, the application has become much more stable and reliable.
Greetings ..
Testing the future head of Willy – HMD 800 & InertiaCube2 & Gauss Cannon
Test video I made with the future head for Willy (Pioneer3AT).
The base in question is a project that was leaning at home I made for college, specifically for the course Process Control Computer (CPC). It is a gauss gun with laser pointers, its function was to locate a target with lasers and triangulate your position, hence you have two lasers, and the cannon fire a steel projectile was right on the target, the truth worked half as the data acquisition board that we were using could not stand the high voltages that were about 300 volts continuous.
Well the case, I recycled the structure to add it to my final year project to make a kind of head, the barrel will be replaced by a webcam with a wide angle lens.
The control board that I use to move the structure is an scc-32, a controller that allows 32 servos, I'm programming in C + + and I've written a small driver for Player & Stage to use it with the interface PTZ coming in Player , for the moment everything looks good.
Another day I put a video of the gauss gun running.
Greetings.
Show syntax highlighting in VIM – GNU Linux – Ubuntu
For those programs directly from the terminal, it is imperative syntax highlighting to see the code properly and to better understand how the code is structured. If you've got here is that you need to activate this feature in the vim editor, let it.
First of all make sure you have the vim installed, seems silly but things have been worse
.
$ sudo apt-get install vim
Once you had it installed if you open a file for editing to see that such is no syntax highlighting, in my case it would be this way.

Although a window appears Mac, and Linux is that I'm connected via ssh to another computer that has Ubuntu Server.
Now we will see that this is the syntax highlighting the same file, for this we must first enable this functionality in vim we make the following change:
$ sudo vim /etc/vim/vimrc
Locate the line containing syntax on:
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
" syntax on
and uncomment
" Vim5 and later versions support syntax highlighting. Uncommenting the next
" line enables syntax highlighting by default.
syntax on
Also I want the bottom of the screen go dark edition, which found:
" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
" set background=dark
and uncomment:
" If using a dark background within the editing area and syntax highlighting
" turn on this option as well
set background=dark
left the editing of the file with ": wq". Doing all this would see the same file as follows:

Much better and more beautiful and clear ....
Greetings.
How to fix the autocomplete in the terminal – Ubuntu 9.10
Today I found a curious thing, is that the terminal autocomplete did not work, something essential for me at this stage of life. He stopped working out of the blue and I have no idea why, but how to put it back in operation is as follows:
You open a text editor / etc / bash.bashrc
$ sudo vim /etc/bash.bashrc
and look for the following lines:
# enable bash completion in interactive shells
#if [ -f /etc/bash_completion ]; then
# . /etc/bash_completion
#fi
To return to auto-complete function leaving them so uncomment these lines:
# enable bash completion in interactive shells
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
close the terminal and open it again, this way and load the new terminal with this new configuration, we can continue our normal life thanks to the auto.
Greetings.
A bad idea … sudo apt-get remove libjpeg62,
These days I've been playing around with the libjpeg library trying to learn how to compress images as the decompressed, you can see the post here . Well I have seen the need to compress an image I do not want to file it in memory to do things with that data, whether any editing of the picture or send it to another computer via sockets, some research is that the version that comes installed by default in the ubuntu version libjpeg62 not allowed to do this because when you set the output of the compression process, only lets you pass a file, it could happen to memory making inventions rare but well, there than trying to use the new features of the libraries. In the new versions of this library seem to have heeded the suggestions and it is already possible to store the result of compression in memory something I would be very useful.
I download the source code http://www.ijg.org/ and before compiling, I got the bright idea to first uninstall the other version of the library, do not ask me why but I did, I went to the console and courageously introduced the command:
$ sudo apt-get remove libjpeg62
Well from that moment things started to happen rare, so rare I thought that maybe restarting would do better the linux, but my surprise was that I started the graphical interface, in this case the xfce, and what was my surprise when another into my session and I watched it happened and that there was almost nothing installed, which last .....
The full story after the jump ->
Image compression with libjpeg.
Working on the project I've seen in the need for compression to capture images with a webcam from the robot, to send to the client application to visualize what he sees in order to control the robot remotely. Today I was doing some uncompressed since all applications were running on the same machine and had no problems with the transmission of data and images.
Some research online on the libjpeg library of images I found some examples and I modified a bit for my needs, but then I will explain a simple example that lets you open a file. Jpg and compress it into another file. Jpg. Remember that a jpg file is a compressed image, if we open our program we must bear in mind that you will use it for other programs and even to compress it again, we must first uncompress it.
Code and example after the jump ->
List of all files on the PC -> to a file .. in Mac and Linux
Already current in the previous post why I needed to do this, the question is that I did in Windows because it is what is used here. In this post we will see how to do the same thing in Linux and Mac that is what I most often use.
I have been researching and the command tree is not for those OSes, or at least I have not found so we will get the same thing with the tree but using a combination of commands and parameters.
Code and example after the jump ->
List of all files on the PC -> to a file .. on Windows
Today at work I have been wondering if you knew a program to generate a full list of folders and files that have a CD, and they want to store this list in a database to know where or know X file that contains a CD determined.
Thinking and knowing a bit odd console command because I asked if it would not be possible to generate such a list without installing a third party program. The answer is yes, if you can and now let's see how:
Code and example after the jump ->
Problem with Code:Blocks “TynyXML error: Error document empty”.
Today I found Code:: Blocks I boot into Ubuntu 9.10, and is rare because it was working until yesterday, when I try to run it from the console to view messages and to find out who does not turn pro I find this:
$ codeblocks
Exception: An exception has been raised!The application encountered an error at configmanager.cpp, on line 239.
The error message is:TinyXML error: Error document empty.
In file: /home/aaronmr/.codeblocks/default.conf
At row 0, column: 0.Code::Blocks Version revision 6186 (gcc 4.4.1, build: Feb 19 2010 10:34:30)
I've managed to solve by deleting the problematic file (actually renaming it in case).
$ mv /home/aaronmr/.codeblocks/default.conf /home/aaronmr/.codeblocks/default.conf_BAK
is a solution is a bit odd but this way Code:: Blocks on again but not the default setting, that is, the position of the windows default compiler etc .... at least I got my turn so I better this solution.
Greetings.