当前位置:网站首页>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
边栏推荐
- 纳米技术+AI赋能蛋白质组学|珞米生命科技完成近千万美元融资
- 由tcl脚本生成板子对应的vivado工程
- Docker installation MySQL
- Multi thread safe reference arc of rust
- GDAL + ogr learning
- k8s之实现redis一主多从动态扩缩容
- Flash - Middleware
- Halo open source project learning (II): entity classes and data tables
- Nanotechnology + AI enabled proteomics | Luomi life technology completed nearly ten million US dollars of financing
- proxy server
猜你喜欢

Remember using Ali Font Icon Library for the first time

Operation of 2022 mobile crane driver national question bank simulation examination platform

MySQL auto start settings start with systemctl start mysqld

Nodejs安装

2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展

Visualization of residential house prices

.104History

.105Location

A few lines of code teach you to crawl lol skin pictures

C# 网络相关操作
随机推荐
Svn simple operation command
What are the relationships and differences between threads and processes
Format problems encountered in word typesetting
Basic usage of crawler requests
Crawl the product data of cicada mother data platform
Queue solving Joseph problem
Vite configure proxy proxy to solve cross domain
C#字节数组(byte[])和字符串相互转换
Multi thread safe reference arc of rust
GDAL + ogr learning
Amount input box, used for recharge and withdrawal
Rust: a simple example of TCP server and client
cartographer_ There is no problem compiling node, but running the bug that hangs directly
Array rotation
[UDS unified diagnostic service] IV. typical diagnostic service (4) - online programming function unit (0x34-0x38)
Data stream encryption and decryption of C
2022 Jiangxi Photovoltaic Exhibition, China Distributed Photovoltaic Exhibition, Nanchang Solar Energy Utilization Exhibition
Map basemap Library
.105Location
Classes and objects