当前位置:网站首页>Robocode tutorial 3 - Robo machine analysis
Robocode tutorial 3 - Robo machine analysis
2022-04-23 18:05:00 【dawnsun001】
From here on , We will learn systematically Robocode, From principle to content .
First , Let's meet our little robot
Robo Machine analysis
A robot tank includes the following 3 Parts of :

§ The fuselage (Body) – The fuselage carries artillery and radar . It can control the forward and backward of the fuselage , Turn left and right .
§ artillery (Gun) - A part mounted on the fuselage for firing shells . You can turn left and right .
§ radar (Radar )- Parts mounted on guns to scan enemy tanks , You can rotate the scan left and right . When an enemy tank is scanned, it will trigger onScannedRobot event .
The three methods involved :
void setAdjustGunForRobotTurn(boolean independent)
Separate the motion of the gun and the fuselage
void setAdjustRadarForGunTurn(boolean independent)
Separate the motion of gun and radar
void setAdjustRadarForRobotTurn(boolean independent)
Separate the movement of radar and fuselage

版权声明
本文为[dawnsun001]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204230544289553.html
边栏推荐
- Queue solving Joseph problem
- Rust: how to match a string?
- The ultimate experience, the audio and video technology behind the tiktok
- 消费者灰度实现思路
- xlsxwriter. exceptions. Filecreateerror: [errno 13] permission denied
- Operators in C language
- ES6
- Fashion classification case based on keras
- Qtablewidget usage explanation
- Pyppeter crawler
猜你喜欢
Operators in C language
MySQL 中的字符串函数
Qt读写XML文件(含源码+注释)
[UDS unified diagnostic service] (Supplement) v. detailed explanation of ECU bootloader development points (2)
Remember using Ali Font Icon Library for the first time
Laser slam theory and practice of dark blue College Chapter 3 laser radar distortion removal exercise
How to install jsonpath package
Re expression régulière
Data stream encryption and decryption of C
Random number generation of C #
随机推荐
Crawl the product data of cicada mother data platform
[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)
2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
Process management command
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
journal
Go语言JSON包使用
20222 return to the workplace
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
[UDS unified diagnostic service] v. diagnostic application example: Flash bootloader
Romance in C language
2022 Jiangxi Photovoltaic Exhibition, China distributed Photovoltaic Exhibition, Nanchang solar energy utilization Exhibition
C language loop structure program
.105Location
587. Install fence / Sword finger offer II 014 Anagrams in strings
C language implements memcpy, memset, strcpy, strncpy, StrCmp, strncmp and strlen
SSD硬盘SATA接口和M.2接口区别(详细)总结
C#的随机数生成
Nanotechnology + AI enabled proteomics | Luomi life technology completed nearly ten million US dollars of financing
re正则表达式