当前位置:网站首页>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
边栏推荐
- From source code to executable file
- C#字节数组(byte[])和字符串相互转换
- Cloud native Virtualization: building edge computing instances based on kubevirt
- Qtablewidget usage explanation
- Map basemap Library
- Laser slam theory and practice of dark blue College Chapter 3 laser radar distortion removal exercise
- Queue solving Joseph problem
- 2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
- Tensorflow tensor introduction
- C language input and output (printf and scanf functions, putchar and getchar functions)
猜你喜欢

Cloud native Virtualization: building edge computing instances based on kubevirt

Summary of floating point double precision, single precision and half precision knowledge

C medium? This form of

Docker installation MySQL

Auto. JS custom dialog box

Gobang game based on pyGame Library

Implementation of object detection case based on SSD

Dock installation redis
![[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)](/img/ae/cbfc01fbcc816915b1794a9d70247a.png)
[UDS unified diagnostic service] IV. typical diagnostic service (6) - input / output control unit (0x2F)

Fashion classification case based on keras
随机推荐
Submit local warehouse and synchronize code cloud warehouse
Selenium + phantom JS crack sliding verification 2
Mode of interprocess communication
cartographer_ There is no problem compiling node, but running the bug that hangs directly
Basic usage of crawler requests
journal
Pointers in rust: box, RC, cell, refcell
Romance in C language
Map basemap Library
Crawling mobile game website game details and comments (MQ + multithreading)
Auto.js 自定义对话框
Clion installation tutorial
Box pointer of rust
C language loop structure program
YOLOv4剪枝【附代码】
Refcell in rust
Nodejs安装
k8s之实现redis一主多从动态扩缩容
Qt读写XML文件(含源码+注释)
Operation of 2022 mobile crane driver national question bank simulation examination platform