当前位置:网站首页>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
边栏推荐
- re正則錶達式
- C medium? This form of
- Operation of 2022 mobile crane driver national question bank simulation examination platform
- Rust: how to match a string?
- Data stream encryption and decryption of C
- From source code to executable file
- .104History
- ArcGIS license error -15 solution
- Auto.js 自定义对话框
- Implementation of image recognition code based on VGg convolutional neural network
猜你喜欢

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

QTableWidget使用讲解

Solving the problem of displaying too many unique values in ArcGIS partition statistics failed

解决允许在postman中写入注释请求接口方法
![C1 notes [task training part 2]](/img/10/48f7490a6c097f2b178ae948cb2c91.png)
C1 notes [task training part 2]

Implementation of image recognition code based on VGg convolutional neural network

.104History

.105Location

Qt读写XML文件(含源码+注释)

Install pyshp Library
随机推荐
20222 return to the workplace
MySQL_ 01_ Simple data retrieval
Rust: how to match a string?
Stanford machine learning course summary
2022 Jiangxi energy storage technology exhibition, China Battery exhibition, power battery exhibition and fuel cell Exhibition
Gobang game based on pyGame Library
Operators in C language
C language input and output (printf and scanf functions, putchar and getchar functions)
How to install jsonpath package
From source code to executable file
Basic usage of crawler requests
Go language JSON package usage
Thirteen documents in software engineering
Random number generation of C #
Nat Commun|在生物科学领域应用深度学习的当前进展和开放挑战
SSD硬盘SATA接口和M.2接口区别(详细)总结
C network related operations
RC smart pointer in rust
What are the relationships and differences between threads and processes
Crawl the product data of cicada mother data platform