当前位置:网站首页>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
边栏推荐
- Operation of 2022 mobile crane driver national question bank simulation examination platform
- Auto.js 自定义对话框
- Scikit learn sklearn 0.18 official document Chinese version
- Crawl the product data of Xiaomi Youpin app
- Format problems encountered in word typesetting
- Random number generation of C #
- Dock installation redis
- Docker 安裝 Redis
- Multi thread crawling Marco Polo network supplier data
- re正則錶達式
猜你喜欢
Theory and practice of laser slam in dark blue College - Chapter 2 (odometer calibration)
.104History
[UDS unified diagnostic service] v. diagnostic application example: Flash bootloader
Nat commun | current progress and open challenges of applied deep learning in Bioscience
2022江西光伏展,中国分布式光伏展会,南昌太阳能利用展
Auto. JS custom dialog box
Docker 安装 MySQL
[UDS unified diagnostic service] IV. typical diagnostic service (4) - online programming function unit (0x34-0x38)
Random number generation of C #
Implementation of image recognition code based on VGg convolutional neural network
随机推荐
String function in MySQL
YOLOv4剪枝【附代码】
MySQL_01_简单数据检索
Jenkspy package installation
Batch export ArcGIS attribute table
Auto.js 自定义对话框
Generate verification code
Reptile efficiency improvement method
C1 notes [task training chapter I]
Visualization of residential house prices
Go语言JSON包使用
Qt读写XML文件(含源码+注释)
Random number generation of C #
k8s之实现redis一主多从动态扩缩容
Classes and objects
I/O多路复用及其相关详解
Operators in C language
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
Using files to save data (C language)
Clion installation tutorial