- Women are always impressed by the extreme. Either too big or too small. ... Alex Exler, "Prince Igor's Aria, or Ours in Turkey"
Anticipating the "when is the circulation?" Questions, I report. Virtuillare in circulation form is 99% ready, it remains to make samples and check it alive. This will take a week or two, after which we are ready for circulation. Just come to us a lot of accusations in what we have done a couple of publications and disappeared. The number of copies was increased to 5,000, because there were 2,000 pre-orders. Pre-order is still open until the end of the month.
Well, now on topic
After our long-time experiments with races on small cars (remotely, through the Internet) we decided to try to drive on something more. Were tested different trucks, tracked and wheeled. But it did not leave the feeling that this is something wrong. This sensation gradually led to the idea that you are not putting a small thing and you need to make a machine on a scale of 1: 1 ')
For this was purchased old dead pepelats. By the will of fate and the search algorithm avto.ru by filters "price" and "automatic transmission" it turned out to be Opel Vectra 2.0l with automatic transmission, 1990 model year. Completion for the time top (GUR, condo, ABS, powered, and other delights). But most of the charms of the time is practically not functioning. The main thing is that the engine is working and the box, though half dead, but also depicts the appearance of efficiency. Opel was relocated to the glorious city of Shchyokino (Tula region), as the chief mechanic lives there and there is a garage not far from the house. One problem is that in Shchekino they do not clean the roads from snow (in general), so the problem is to find a place where you can try a wheelbarrow.
The idea was to put a smart controller on the machine (of course, our Virturilka ), to connect a camera. And control Opel, not sitting behind the wheel. From phone, tablet, computer - no difference. Ideally, to make control, as in micro-racing, via the Internet. Of course, there are many problems (delay and all that), but if you limit the speed of movement, it’s quite possible to steer remotely.
To begin with, they decided to limit control from the tablet. Just the third iPad is at hand and there is a developer certificate :-)
Connecting directly to the box selector (or whatever it is properly called), as well as deliberately didn’t consciously make to the steering rack and the brake booster - they wanted to make a universal system. So that you can rearrange to any car (if only the automatic transmission was) with a minimum of intervention.
We tried several variants of motor gearboxes, eventually we found a suitable drive for the steering wheel and the actuator for the brake. The automatic transmission handle pulls the usual (albeit, powerful, 33 kg / cm) serv. It was difficult to weld a structure that would hold all these motors. But in the end, our mechanic Oleg (he is Uncle Vasya) cooked everything and it was time to connect the electronics.
Electronics is the simplest. The virt2real (virtual) controller accepts a Wi-Fi connection (Soft-AP), controls, using its hardware PWM, two powerful power regulators of collector engines and two servos (on gas and on the handle of the box). In the extreme positions of the brake pedal, there are limit switches to prevent the pedal from breaking out (the actuator is very powerful, with a margin). They started to make a radar, for detecting obstacles, based on the usual Chinese ultrasonic rangefinder. On the knee they collected it, checked it, but did not install it in the first tests. Also, the digital camera module (ov7675) is installed on the Opel, this is a heading camera - the picture from it goes to the tablet in rltime.
The software part is also simple to the obscene. On the virtualka NodeJS is spinning, which, sobssno, and runs all. Noda taxis (literally)! :-) Out of respect for the erlangers, we also have erlang on the virtualka, but I am inexperienced in it, so I didn’t spend time on it. Nody enough with interest.
The application for iPad is written in Flex, since I have not yet mastered native iOS programming. Video from the camera is either MJPEG or H264 via RTMP (there is a full-fledged RTMP server on board, crtmpd).
That's basically it. After field testing near the garages revealed a number of design flaws. Steering wheel slowly turns - this is due to half the voltage on the motor. Motor 24-volt, and powered by 12V. I will change the regulation - it will be quick to turn. The brake is also unpleasantly slowly pressed - it is necessary to move the lever closer to the pedal base, the distance will be five times shorter, it will be pressed for half a second. There are no complaints about the gear shift drive, there are no complaints about the gas either - everything plows flawlessly.
The most unpleasant test results were that it was not good to conduct tests in the winter. For it is cold. Even with a small minus in the wind, the hands instantly go numb, you do not feel whether you clicked on the screen or not. With gloves that can affect the capacitive screen, it may be better, but it's still cold. And bad when the snow falls - the tablet screen immediately gets wet, pressing blunt.
In general, it is very inconvenient to manage from a tablet. For normal control you need a tactile connection - better than an ordinary joystick or gamepad. And it is better - a simulator wheel with pedals (this is exactly what I'm doing at the moment, the next pokatushki will be with the steering wheel).
We will test the control through the Internet, when we find a suitable spacious field. 3G will not work, you need Yota to be caught on the field :-) So, slowly, we are looking for a place to go there when it gets warmer on the street. And if you are lucky and find a hangar (as in a recent video about testing Audi with paintball guns), then at least we’ll go straight to testing. It does not matter in Shchekino, in Tula or Moscow. If suddenly you have a suitable room - well in the comments! :-)
The working title of the project is the James Bond Wheelbarrow. In my head it was postponed as in some part Pierce Brosnan drove the machine from a mobile phone, and the name appeared in honor of this. But a little later, a friend advised me to name the Opel Virta (in honor of virt2real). I liked the name and left it.
In general, the first tests conducted around the garages. It's pretty tight there, so you had to steer carefully so as not to break the Opel ahead of time. Driving a real machine from a tablet is sooooo unusual, so it was scary to get on very fast. Of course, the low-speed ride does not look spectacular at all on the video, so the next day there was an agreement with the Tula driving school so that we were allowed to drive on their circuit. But at the end of the round test, there was a “guys, exile” Sanya - the cooling system pipe broke. It was not possible to quickly repair it, so the spectacular drift in the snow had to be postponed for the time being. Very disappointing, of course, but I had to mount a video from the material that I had time to shoot.
And most importantly - they tested in practice one more variant of the potential use of a virtuilla. Many plans for further type Opel, I hope he does not die ahead of time. Add a bunch of sensors, maybe autonomous pepelats work.
Thank you for mastering so many letters. Now let me show you what we got for the video.
The main official video of the second test:
Detailed video of the second test:
Well, for the completeness of the material - video from the first test. Carefully, there is obscene language. Sanya's friend didn’t keep his feelings too much :-) Almost everything broke here, only gas remained from the tablet.
PS Of course, the idea of ​​remote control of the car is not new. Offhand, there are such projects: Automatic gazelle on Arduino habrahabr.ru/post/150667 Car-robot of the NAMT team at Robokross-2012 habrahabr.ru/en/post/154017
… and many others. But it's one thing to look at other people's projects and another thing to do it yourself :-)
PPS Team of testers in full composition
UPD> as a small addition - a kind of PoC (proof of concept) ideas for a spectacular demonstration.
Opel drives up to the audience. Drove out, holding the steering wheel. Real wheel Opel. Twists the steering wheel - Opel wheels turn. Tilts the steering wheel - the car goes or, accordingly, brakes. The prototype is here. True, while mounted on the plate, because the steering wheel was still busy :-) Already checked - it works, but I still haven't managed to mount the steering wheel.
Completely forgot
mention a practical point. Virturilka lay in the garage for two days, at night the temperature was -20. There are no consequences. Then two more times for several hours I worked in the frost at minus 15 degrees - normal flight. So, you can say, checked a slightly extreme version of the application.