This page has been translated from Italian

A helicopter monitored the iPhone

| 2 commenti | TrackBack | | | 2 comments | TrackBack |
una stelladue stelletre stellequattro stellecinque stelle (1 votes, average: 5.00)
Loading ... Loading ...

It promises a very interesting 2010 for someone like me, is fond of remote controlled helicopters.

Fact we are facing a radical change. Forget the helicopters difficult to control and smashed to the ground continually. E 'in arrivo AR.Drone, a fantastic product of a French producer who promises amazing things.

An example? Thanks to a series of sensors, AR.Drone automatically maintains a fixed position during flight without requiring continuous aaggiustamenti this thanks to the impressive presence of sensors. The AR. Drone has, inside, two ultrasonic sensors to control the vertical stability, a accelleromento three-axis gyroscope with two axes for horizontal stability.

AR.Drone remembers the point from which it is party and has an automatic feature of returning to base that without going crazy, you can tell him to land automatically from the point where it took off.

Not enough? Here then two bombs. First. AR.Drone has two webcams with 60, say sixty frames per second. I will say, and where I see the movies of the two webcams? Ok, second bomb. The AR. Drone can be controlled using the iPhone. Yes, using the accelerometer of the iPhone seems to be trivial drive the AR. Drone. As for the webcams, movies are shot in live streaming on the iPhone so it becomes theoretically possible to drive the Drone without seeing it physically using only the information sent by the cameras.

But there's more. The AR. Drone also has modes of play single player and multiplayer using augmented reality.

Single player is, on images transmitted on the iPhone, included additional elements such as robots and other enemies to destroy drones with weapons, of course, virtual. If, on the playing field, there are other AR.Drone friends then the battle becomes real live and you can fight against other helicopters.

The helicopter is connected to the iPhone via WiFi network and then be controlled up to 50 meters. And if the helicopter comes out of WiFi coverage? Well, so far, with the products currently on the market, if a helicopter comes out of the coverage area of its controller, it crashes to the ground. But aviluppatore of AR.Drone seem to have thought of everything. In the case of RA. Drone, this remains suspended in the air for a minute waiting for the iPhone returns to reconnect with the helicopter and if it does not, start a soft landing procedure. Very clever these French.

You are eaten by curiosity, do you? Then started watching this video presentation of the product at CES 2010

to watch also the video presentation of the product

and this, which shows his ability to augmented reality in the identification of enemy drones

The product will also have an SDK for developing their own applications that appears, on paper well done. The AR. Drone is controlled through commands AT like a modem, and from this extract of code seems that things are relatively simple, at least for us professionals

 # include <stdio.h>
 # include stdlib.h
 # include <unistd.h>
 # include <string.h>
 # include <errno.h>
 # include <sys/types.h>
 # include <sys/socket.h>
 # include <netinet/in.h>
 # include <netdb.h>
 # include <fcntl.h>
 # include <sys/ioctl.h>
 # include <net/if.h>
 # include <arpa/inet.h>
 # define AT_PORT 5556
 # define WIFI_MYKONOS_IP ""
 struct sockaddr_in to;
 int32_t flags;
 if (at_udp_socket <0)
   / / / Open UDP socket to broadcast commands to at Ardron
   struct sockaddr_in at_udp_addr;
   memset ((char *) & at_udp_addr, 0, sizeof (at_udp_addr));
   at_udp_addr.sin_family = AF_INET;
   at_udp_addr.sin_addr.s_addr = INADDR_ANY;
   at_udp_addr.sin_port = htons (AT_PORT +100);
   at_udp_socket = socket (AF_INET, SOCK_DGRAM, 0);
   int one = 1;
   if (at_udp_socket> 0)
     flags = fcntl (at_udp_socket, F_GETFL, 0);
     if (flags> = 0)
       flags | = O_NONBLOCK;
       flags = fcntl (at_udp_socket, F_SETFL, flags);
     ) Else (
       printf ( "Get socket options failed \ n");
     bind (at_udp_socket, (struct sockaddr *) & at_udp_addr, sizeof (struct sockaddr));
 if (at_udp_socket> 0)
   int res;
   memset ((char *) & to, 0, sizeof (to));
   to.sin_family = AF_INET;
   to.sin_addr.s_addr = inet_addr (WIFI_MYKONOS_IP), / / Broadcast address
   for subnet
   to.sin_port = htons (AT_PORT);
   # ifdef DEBUG
     printf ( "% d bytes broadcasting on port% d [% s] \ n", * len, at_udp_socket, buffer);
   # endif
   res = sendto (at_udp_socket, (char *) buffer, * len, 0, (struct sockaddr *) & to, sizeof (to));
   if (res <0)
     printf ( "Error sendto% s \ n", strerror (errno));
   ) Else (
     # ifdef DEBUG
       printf ( "[CLIENT]: Send car% d \ n", res);
     # endif

Yes, I know, seems to Arabic, but I assure you, for us professionals is a way to plan very clear and clean. We are all, and I think at this point, you too, new developments.

For all other information please refer to the main site of the product.

This article has been viewed 45 times

2 Responses to "A helicopter monitored the iPhone"

  • Fabio13 writes:

    No! Dai is a joke! True?
    The thing that saddens me is that things like technological rarely arise in Italy. Ugh ...


    Emiliano Bruni Reply:

    I do not think it's a fake, especially after the video of the CES2010. Let's see what happens in March.


Leave a comment

/ me runs