[#VS2013] Visual Studio 2013 Update 3 is available, Menu Uppercase = false de la forma natural y una pila de cosas muy interesantes !!!

Hola!

Lo que hace 2 años dió más de un disgusto por fin está ya como parte nativa del IDE con el Visual Studio 2013 Update 3. Como siempre un Video vale más que mil palabras

VS2013Update3 UpperCase

Aunque lo realmente interesante que encontramos en el Update 3 de Visual Studio 2013 es lo siguiente:

Si no lo has hecho te recomiendo descargar e instalar ya el Update 3 para tu Visual Studio 2013.

Descarga: http://go.microsoft.com/fwlink/?LinkId=390465

Fuente: http://www.visualstudio.com/news/2014-aug-4-vs#IntelliTrace

Saludos @ Home

El Bruno

image image image Google

[#CODING4FUN] XBoxOne Controller and USB Rocket Launcher

Hello!

Let’s start in the end of the post with the output video

Now a little explanation on how to assemble this. I used the basis of my post about How to control with C# XBoxOne command. Then with a bit of code to control the rocket launcher, I get to connect both devices and the fun starts.

The complete solution includes 3 projects, 1 is responsible for controlling the Rocket Launcher, then the app WPF to coordinate signals of the remote control and the Lance missiles. Finally I have a PCL that is responsible for translating Int32 values from the command in command more basic type: up, down, left or right.

image

Actually, the work has not been very complicated, the only thing I had to keep in mind is the values that sends the controller. After seeing that the GamePad moves in the range of an Int32, the best thing was to define values for LeftFar > Left > Center > Right > RightFar, with values between – 20000 > – 10000 > 0 > 10000 > 20000. In this way a kind MoveControler helped me to translate these values the position of the joystick on the remote control.

The example is pretty simple, since I use the classes that I have created in previous posts to control the Lance missiles. For example

In this example I have left out the “corners”, I have to update the class RocketController to support this elegantly Winking smile

By the way, the full code can be downloaded from here: http://1drv.ms/1pQDQQx

Important: I deleted the NuGet packages so that the code is not very heavy, please download them again to be able to compile the solution.

References

http://elbruno.com/2014/06/27/coding4fun-xboxone-game-controller-c-fun-time/

http://1drv.ms/1pQDQQx

Saludos @ Home

El Bruno

image image image Google

[#LEAP] What’s new in #LeapMotion SDK V2 Beta

Hello!

Friends of the Leap Motion are that they leave. Yesterday they have released a new version of the SDK and the truth is that it brings quite a few interesting things. Among them there are 2 that are especially useful: Pitch and Grab. In the following video you can see how the action of Pitch gives a value between 0 and 1 when they come together the fingers of the hand. And Grab also gives a value between 0 and 1 for the action of seizing.

Another interesting fact is that we now have 2 properties that allow us to identify if the hand that is on the sensor is the left or right hand. The names are the most original IsLeftHand and IsRightHand.

As much as I do the code is not very complicated. In this case the controller of the Leap, analyzes in the event OnFrame() if there is any hand on it (line 15). Then on the first detected hand a series of events are released with the pitch, Grab and identification of left & right hand value.

 

The WPF app subscribes to these events and shows the value of them as seen in the video.

Source: https://developer.leapmotion.com/?utm_source=Leap+Motion+Developer+Newsletter & utm_campaign = 24e87d0847-Developer_Newsletter_63 & utm_medium = email & utm_term = 0_d7eaf93515-24e87d0847-63721789

Saludos @ La Finca

El Bruno

image image image Google

[#LEAP] Novedades en Leap Motion SDK V2 Beta

Hola!

Los amigos del Leap Motion están que se salen. Ayer han publicado una nueva versión del SDK y la verdad es que el mismo trae bastantes cosas interesantes. Entre ellas hay 2 que son especialmente útiles: Pitch y Grab. En el siguiente video se puede ver como la acción de Pitch da un valor entre 0 y 1 cuando se juntan los dedos de la mano. Y Grab también da un valor entre 0 y 1 para la acción de agarrar.

Otro dato interesante es que ahora tenemos 2 propiedades que nos permiten identificar si la mano que está sobre el sensor es la izquierda o la mano derecha. Los nombres son de lo más original IsLeftHand y IsRightHand.

Como todo lo que hago el código no es muy complicado. En este caso el controller del Leap, analiza en el evento OnFrame() si hay alguna hand sobre el mismo (línea 15). Luego sobre la primera mano detectada se lanzan una serie de eventos con el valor de Pitch, de Grab y la identificación de mano izquierda y derecha.

La app WPF se suscribe a estos eventos y muestra el valor de los mismos como se ve en el video.

Fuente: https://developer.leapmotion.com/?utm_source=Leap+Motion+Developer+Newsletter&utm_campaign=24e87d0847-Developer_Newsletter_63&utm_medium=email&utm_term=0_d7eaf93515-24e87d0847-63721789

Saludos @ Home

El Bruno

image image image Google

[#PEBBLE] Send #Lync2013 messages to your Pebble

Hello!

The work with distributed teams is more than interesting, it relies on having Lync 2013 all the time online and see how many people respect the States Available, Busy, or Away. It is very likely that if these in front of the computer and a colleague of Australia does not start a conversation, Miss the opportunity to speak with that person until the following day.

One option is to have a Lync in your Windows Phone 8, however if you have a Pebble, and access to Microsoft Lync 2013 SDK, you can create an app for console that sends a notification to your Pebble whenever someone starts a conversation with you in Lync.

Bonus: you can see a couple of interesting examples of LyncSdk in this link .

For this we must have attached our Pebble with your computer (as I explained here) and then in a console app, we implement the following code.

It shows as connected to the Pebble (line 4) once the app subscribes to the new conversation event. The same (line 11) Gets the name of the participants of the conversation and a message is sent to the Pebble with this information.

As always a (poor quality) video accompanies the example.

PebbleLync

Download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=36824

Saludos @ La Finca

El Bruno

image image image Google

[#PEBBLE] Envia mensajes de #Lync2013 a tu Pebble

Hola!

Lo de trabajar con equipos distribuidos es más que interesante, se basa en tener Lync 2013 todo el tiempo online y ver cuantas personas respetan los estados Available, Busy o Away. Es muy probable que si no estas delante del ordenador y algún compañero de Australia inicia una conversación, pierdas la oportunidad de volver a hablar con esa persona hasta el día siguiente.

Una opción es tener Lync en tu Windows Phone 8, sin embargo si tienes un Pebble, y acceso a Microsoft Lync 2013 SDK, puedes crear una app de consola que envíe una notificación a tu Pebble cada vez que alguien inicia una conversación contigo en Lync.

Bonus: puedes ver un par de ejemplos interesantes sobre LyncSdk en este link.

Para esto tenemos que tener conectado nuestro Pebble con el ordenador (como expliqué aquI) y luego en una app de consola, implementamos el siguiente código.

El mismo muestra como una vez conectados al Pebble (línea 4) la app se suscribe al evento de nueva conversación. En la misma (línea 11) se obtiene el nombre de los participantes de la conversación y se envía un mensaje al Pebble con esta información.

Como siempre un video (de mala calidad) acompaña al ejemplo.

PebbleLync

Download: http://www.microsoft.com/en-us/download/confirmation.aspx?id=36824

Saludos @ Home

El Bruno

image image image Google

[#CODING4FUN] No more boring costumes, you only need an #Arduino, a motion sensor and a LED Strip!

Hello!

If your wife isn’t close to and you get to make the Space Cadet from your girl costume, likely that you leave a little bit of mold. In my case it was simple; Arduino, a motion sensor, led and Visual Studio 2013.

Note: I never tire of repeating how useful that is Visual Micro for creating projects.

Here’s a video of the final result, as the motion sensor “moves” being sent different values for the brightness of the led Strip. This with a 9V battery and then you have to put it in the guise of Space Cadet.

The source code is as follows:

Iimportant: only 32 lines of code!

image

References:

Saludos @ Home

El Bruno

image image image Google