当前位置:网站首页>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
边栏推荐
- Installation du docker redis
- 2022江西光伏展,中國分布式光伏展會,南昌太陽能利用展
- C language array processing batch data
- Visualization of residential house prices
- word frequency count
- ArcGIS table to excel exceeds the upper limit, conversion failed
- C language to achieve 2048 small game direction merging logic
- Scikit learn sklearn 0.18 official document Chinese version
- Classification of cifar100 data set based on convolutional neural network
- Tensorflow tensor introduction
猜你喜欢
Nodejs安装
Classification of cifar100 data set based on convolutional neural network
2022 judgment questions and answers for operation of refrigeration and air conditioning equipment
The ultimate experience, the audio and video technology behind the tiktok
C# 的数据流加密与解密
Re regular expression
SSD硬盘SATA接口和M.2接口区别(详细)总结
Romance in C language
2022江西储能技术展会,中国电池展,动力电池展,燃料电池展
Welcome to the markdown editor
随机推荐
undefined reference to `Nabo::NearestNeighbourSearch
MySQL 中的字符串函数
QTableWidget使用讲解
cv_ Solution of mismatch between bridge and opencv
Install pyshp Library
From source code to executable file
Notes on common basic usage of eigen Library
Remember using Ali Font Icon Library for the first time
ArcGIS license error -15 solution
ArcGIS table to excel exceeds the upper limit, conversion failed
C language input and output (printf and scanf functions, putchar and getchar functions)
Random number generation of C #
Eigen learning summary
7-21 wrong questions involve knowledge points.
C network related operations
cartographer_ There is no problem compiling node, but running the bug that hangs directly
Welcome to the markdown editor
I/O多路复用及其相关详解
Map basemap Library
Rust: how to match a string?