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.