The first thing to do when you get up is to turn on the power of the car and run to see. wash your face? This can be washed later.

Something is wrong. Zhou Lei found that the trajectory of the car is not right. Most of the mentally retarded cars follow the set rules. They either hit the wall and then go around according to the set, or stick to the wall, and they will definitely not go randomly. , in that case, you can't read it, and the program will run away.

This car is wrong. It's a bit like a puppy. The wheels are spinning fast in the room. Walking around, it feels like it is looking for something.

And it didn't hit the wall even once. Although there is a low-pixel USB camera, this is not the most advanced structured light camera. It should not have such a strong judgment. And the car doesn't even have an ultrasonic rangefinder, so it all relies on visual recognition.

Niu, which big guy wrote this program.

Zhou Lei went back to the computer and looked at the program code that was still on Keil.

It is found that the program has been changed beyond recognition. It is not the version in the email at all, but from some naming conventions, it is written by the same person.

My God, Zhou Lei really wanted to grab a handful of hair, but this big hacker hasn't left yet. This email was sent by him, and he secretly came up at night to change the code. It is estimated that he may have iterated several times to change the code overnight, which is really dedicated.

What is he trying to do?

Zhou Lei opened notepad++ again and typed in "Brother, what do you want to do?"

"Just kidding." I'll talk today, tease your sister. Zhou Lei was so angry that if this idle hacker brother had been online and replied in seconds, this computer would be considered useless, and it is estimated that those teachers would not be able to read it.

"Speak human words."

"I'm learning." Zhou Lei looked at it and gasped, feeling like he was going to hell.

"Okay, learn it slowly. I think your program is very good. You can completely change it into a smart toy. It's no worse than Soren's toy dog."

"Let me see." Then the words in the text software were gone.

Ten minutes later, a compressed package appeared on the desktop out of thin air.

Zhou Lei opened the compression bag just like dismantling a mine, and took a deep breath. This eldest brother is very skilled. Inside is the design data of Sauron's AIBO robot dog, including drawings of plastic parts, mold drawings, sheet metal drawings, circuit boards, programs, all of which are available, just take this Just like a toy dog.

Zhou Lei hurriedly typed in the software: "Don't hurt me, this is someone else's product information, it's all confidential documents, I'll be jailed if caught."

Just finished speaking, the compressed package and the unpacked files all disappeared.

Hey, I haven't finished speaking yet, I can hide it for reference, Zhou Lei thought to himself.

I only heard my hard disk light flashing desperately, and the CPU fan also increased the speed. What's the problem?

Zhou Lei opened the task manager and looked at the resource usage. The two Zhiqiang CPUs were almost full, and the more than 200 GB of memory was almost overflowing.

What is this doing?

Zhou Lei quickly took his hand away from the keyboard and mouse to show his innocence, for fear that he would accidentally delay the work of the hacker brother, and he would be punished by clearing all data.

The system was busy for ten minutes, and everything slowly returned to normal.

A compressed package larger than the file just now appeared on the desktop, and a line of words appeared in the software, "A toy dog ​​that is more fun than that toy dog."

This is a mouthful of words, almost biting my tongue when I read it.

Zhou Lei is still quite skeptical, although in the past seven or eight years, everyone has been working on AI technology. But in fact there is no bird use, just some effects in the application of some advertising push. Since some companies have completely plunged into the advertising industry, Zhou Lei found out that he clicked on the food delivery software "Hold on", and found that it will count your favorite dishes and display the takeaways in a targeted manner, not before. That kind of brain piled on top. Therefore, at this point, it is far better than Nuge's AI.

(Don't complain about those company names, I don't dare to offend any of these big guys - the author presses.)

In terms of research on intelligent toys or bionics, Huagaki is completely behind Great America and Chuyang.

With one kick, the sticky car was kicked away, and it happily went to explore other rooms. Zhou Lei opened a new file. It was completely different from Sauron's puppy. It was in the shape of a Chinese pastoral dog, which I liked. However, the size can be changed appropriately, and it can be completely changed into a corgi.

I just don't know how the program is written. According to the code of the smart car, it is estimated that this is not bad. This hacker is an otaku, who will study this if he has nothing to do, and he has a full set of information, and he is also a person who is idle and panicked.

Zhou Lei typed in the software: "I like this puppy very much, I want to make it."

"Okay, I'll give it to you."

Zhou Lei suddenly thought that his cousin also had a small factory, so he could call them an OEM. This toy dog ​​is basically all plastic parts and some metal parts, the only valuable thing is the program code.

"I'm going to cooperate with you to produce this puppy for sale. How much shares do you want?"

"You don't need to give it to me. You can change to a better server when you earn money. Now this one is too bad for me to use." Zhou Lei was angry again, you really think this is your home. But for the capable boss, you still have to flatter more.

"No problem, no problem, the first thing I do when I make money is to buy a server back, please rest assured." The happiness of the boss is his own happiness.

week

Lei's cousin has worked in factories for decades, and what to do with money is basically a few hundred thousand dollars a year, but it's really hard money. Recently, environmental protection has been strict, so he has been thinking about doing some work with less pollution fines.

Zhou Lei picked up the phone and called his cousin: "Cousin, are you busy?"

"What else can I do, I'm paying the fine to the Environmental Protection Bureau."

"Okay, okay, go ahead, I'll call you later."

More than an hour later, cousin Zhang Jie called back.

"What are you looking for me for?"

"I remember that you have a 3D printer in your factory. I will send you a drawing and make a few copies for me."

"No problem, send me your email."

After a few words of greeting, he hung up the phone.

Zhou Lei studied the drawings of the new toy. There is nothing special about the control circuit part. It is still an advanced version of the old chip STM32. It's just that the walking part is more complicated. It is not completely motor-controlled, but there are some hydraulic and energy storage mechanisms.

If it is a low-end children's toy, the joint parts are realized by stepping motors and reducers, which is of no practical significance. I used to see some such toys on CCTV. The blood is boiling, and it seems to have entered the era of intelligent robots overnight. In fact, this is at most a hundred yuan toy, don't buy it if it's too high.

Zhou Lei preliminarily counted the components and electrical components used, all of which can be bought online.

Immediately placed an order. According to the list of materials, Zhou Lei placed a dozen sets of electrical components online, as well as more expensive hydraulic components and energy storage mechanisms. Some structural parts still need to be made by CNC lathes alone, so Zhou Lei directly sent them to Zhang Jie and asked him to help make a few sets.

After a while, Zhang Jie called back and said, "Cousin, you are playing a lot. The shell parts are approaching the upper limit of the size of the 3D printer. I can send them to you the day after tomorrow. This structural part is estimated to have some weight. I will send it to you through logistics, and you can pick up the goods yourself."

"Then I will transfer it to you."

"Come on, just treat me to dinner when you come back." Zhang Jie didn't care about this kind of small money.

"Okay, I'll fix it first, then I'll give you a surprise." Zhou Lei said with a smile.

"I know you can, it's up to you."

Time passed very slowly while waiting, and Zhou Lei also studied the code of the control program. The amount of code this time is really not small, tens of thousands of lines are already huge for an embedded C language program.

But the code is very well written, at least according to Zhou Lei's embedded C capabilities, no bugs or some low-level errors have been found, and of course there are many places that are unclear.

The electrical components arrived first, it took two days to complete the circuit board, and after a power-on test, no smoke was half the battle. Then check that the input and output are normal, and the motor and execution components can be rotated according to the program settings. The potential test of each check point has passed, so it can be considered that this part is successful.

This time, the main control board is connected to a dual-channel structured light camera, with an infrared fill-in LED, and a laser ranging probe in the hidden place. There are 360-degree microphones and speakers, and a special motor is used to control The dog's tail is a hundred times better than the smart car that has been powered off.

More than 20 capacitive touch sensors are distributed all over the puppy's body. This is to allow the players to interact better. The robot dog must have the same experience as the real dog.

It took another two days to make a mess in the living room. Zhou Lei felt that it was a huge mistake to directly throw things on the floor of the living room. Not to mention the smashed wooden floors, even the oil stains left on the machined metal parts are unbearable.

Find a sturdy and convenient place to make toys next time.

The structural parts are connected with bolts, the ball bearings are installed in some places that drive the rotating shaft, the core DC motor is connected with the rotating shaft through the reduction gear, and the fixing parts and connecting parts are installed on the structural parts exactly, and it seems that the level of the machining master is good .

Don't put the shell first, the current toy dog ​​is just a metal monster, except that it is too small, it still looks relatively imposing.

All other installations are in place, the main control board is connected to the 12V car battery, and the battery is stuffed in the puppy's stomach.

The main control program is divided into two parts, the Boot boot code and the actual operation program.

The Boot program is very powerful. After startup, you can directly configure and connect to WIFI, then activate it remotely, and then receive the new version of the code and update it instantly.

At that time, after the puppy is off the production line, it only needs to flash into the Boot program to sell it. The rest of the operating programs can be automatically pushed over after the first connection, and then refreshed, which can ensure the iteration of the software version and make the program more secure.

The operating program supports mobile phone remote control and voice control, as well as follow mode and free mode, as well as wireless hotspot. By the way, the mobile APP of Android and IOS versions is attached, as long as it is submitted to the corresponding platform, users can download it. In places where there is no WIFI, the APP can connect to the hotspot to connect the robot dog.

Zhou Lei once again threw himself at the low-key hacker brother. The more he played, the more interesting this toy became. If you zoom in, you can't lose to Boston Dynamics' robot dog, but why do you need to make such a big news? Children and women's money is the best to earn. For military use, Party A's background is too big, and Party B can't handle it.

Tap the screen to use advanced tools Tip: You can use left and right keyboard keys to browse between chapters.

You'll Also Like