Military Technology - Chapter 7 Bug-free program

If audo player doesn't work, press Reset or reload the page.

Looking at the full screen of code, Zou Xiaodong couldn't help exclaiming, "I rely on it, you wrote it."

"Sigh less, work quickly!" Wu Hao patted him and urged.

Zou Xiaodong grabbed his arm, and then looked at him while showing an incredible expression to him: "Who are you and where is Wu Hao?"

"Get off!" Wu Hao rolled his eyes and heard his words, pulled his arm away from him: "Don't play, hurry up, we have limited time."

"No, wasn't it written by you. I don't believe that this code is not at a level higher than what you wrote before. At this level, it is much better than the thousand degree engineer who came to the school to give a presentation last time "Zou Xiaodong looked incredible.

尤其 "especially this section, & lt; buttonnclick = document ..."

Looking at Zou Xiaodong's surprised look, he couldn't help interrupting: "You don't know that there are so many things, and you will know them later."

"Really?" Zou Xiaodong wondered.

Wu Hao took a photo of this guy's back, and said, "I have cheated you when."

Zou Xiaodong shook his head and said, "This may be uncertain. For example, let's go to the second year to welcome the new students. We met a beautiful school girl. You asked someone to eat and lied to me ..."

"Boss, come and see this." Yang Fan shouted at him.

"Boss?" Wu Hao said a little.

"Yeah, don't ask your boss to call you anything." Yang Fan asked him.

Wu Hao rubbed his nose and said, "Whatever you call, what's the matter."

"This is the drone that I designed, and the related parts list, look at it." Yang Fan handed him the drawings in his hand.

根据 "According to your needs, I have referenced some array drones currently on the market, so I think relatively stable and easy to control four-axis drones are our best choice."

Yangfan showed him the schematic diagram of the drone design drawn in the picture: "You see, these are four shafts for mounting the motor and the propeller. The middle position is used to carry the flight control system, battery, and other loads. "

"What size can this drone do?" Wu Hao asked looking at the design.

Yang Fan shook his head and said, "This is not necessarily the case. The size of this four-axis drone is large. The large one can be 56 meters in diameter and can carry people. The small one is said to have the size of a thumb now. , Used by the Mi Army for battlefield reconnaissance.

Of course, it depends on our use. If it's just flying, you can do very little. But if you want to carry the load and keep it empty for a long time, it will be larger. For our current use, I think a small drone with a diameter of about 10 to 15 cm is more suitable. "

"How much would it cost to make this drone?" Wu Hao asked, thinking for a moment.

Yang Fan looked at the parts list and responded to him: "This is not necessarily the case, it depends on the quality of our parts.

Generally speaking, we have to build such a fist-sized drone at least three or four hundred. "

"If you buy it." Wu Hao asked.

Yang Fan thought about it, and then said to him: "If you buy it, it will be cheap. A fist-sized drone with a camera and a remote control will cost two or three hundred, and it will do better. "

Seeing Wu Hao's doubtful affection, Yang Fan introduced with a smile: "It's still a matter of production cost. When people produce a lot of products, the natural cost will drop. And they take parts directly from the manufacturer, and the price is definitely much cheaper. "

"Two or three hundred, then can we buy these drones and come back for modification." Wu Hao asked a moment's thought.

"Refit?"

Yang Fan thought for a moment, then nodded at him: "It can be, but we don't know what these drones do. We need to buy some samples of different brands to take a look and then choose one that suits us of.

We need a large quantity, at least one or two hundred. Such orders can be ordered directly from their factories, and they can also be produced according to our requirements. Such as removing the camera, not the remote control and so on. "

"Okay, I'll leave it to you. You pick some samples and come back to the experiment to see if they can meet our needs. You can go directly to Wang Qian in terms of funding, and I will sign it when the time comes." Wu Hao nodded. Road.

"Received!" Yang Fan made a gesture and immediately went back to work.

I watched Yang Fan continue to work, Wu Hao smiled and then went to work. Now there are still many jobs waiting for him.

This UAV cluster array control system is divided into several subsystems. And the framework of these subsystems needs him to build, and Zou Xiaodong's ability can only be refined and improved.

Of course, this is not to write down directly, but to compile and summarize relevant information in the brain according to needs. And make appropriate modifications so that they can meet their needs.

"Haozi, you are looking at the two units of positioning error measurement and three-dimensional normal distribution. I don't know where to start." Zou Xiaodong shouted at him.

"Let me see." Wu Hao slid the swivel chair to Zou Xiaodong and carefully looked at the computer screen.

"Here, you have a bug, just modify it." Wu Hao pointed to the code on the computer screen and said.

Zou Xiaodong was a little bit discouraged: "I said, I always feel wrong. UU reading www.uukanshu.com turned out to be buggy again. It would be nice when I wrote the program without bugs."

"The beauty of thinking, there is no bug in the program, even God can not do it." Wu Hao joked with a smile.

"I just want to ... no, Hako, you wrote so much code, why didn't I find Bud from it." Zou Xiaodong said to him suddenly back to God.

Sigh ... Wu Hao froze for a moment, he can't say that these things are ready-made in his mind, he just needs to carry it. Even if you edit and edit it yourself, this is like a college student doing a third-grade problem in an elementary school. How can it be easy to make mistakes.

怎么 "Why not, there are so many. Some I have modified myself, some you haven't noticed yet. When I go back and test, all bugs will appear."

I was talking about this time, Wu Hao couldn't help but sweat. It seems that I have to pay attention to it later. In the program code I write, it is necessary to make more errors.

"It is also said that some bugs will not be found until the final test. Even if they are tested, they may not be able to be found out, otherwise why there are so many patches for WSoft."

While the two were talking, Zhang Jun walked out with a lot of boxed lunches, and was happy to everyone: "Come, come, everyone has dinner, and you all pick what you like."

"Fat, what are you doing so happy, is there any happy event?" Zou Xiaodong joked at Zhang Dong.

If it was normal, Zhang Jun would fight back a few words, but today Zhang Jun doesn't seem to care. Instead, he takes out the box lunch from the bag and excites several people over and over again: "I tell you, our company Registration has been approved. "

"Really?"

User rating: 4.0

5