Decision Module
1.0
ICRA2020 AI Challenge Northwestern Polytechnical University Aoxiang Team Strategy Code
|
Go to the documentation of this file.
5 #ifndef ROBOTRTS_WS_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_BLACKBOARD_PREDICTION_SYSTEM_H_
6 #define ROBOTRTS_WS_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_BLACKBOARD_PREDICTION_SYSTEM_H_
41 std::vector<roborts_decision::EnemyRobot>
PredictWhoAttackHome(
const std::shared_ptr<roborts_decision::MyRobot> &p_my_robot);
69 void NormalizedEnemyAttacker(std::vector<roborts_decision::EnemyRobot> &enemy_to_attack_home_1, std::vector<roborts_decision::EnemyRobot>&enemy_to_attack_home_2);
73 #endif //ROBOTRTS_WS_SRC_ICRA_FIREFLY_ROBORTS_ROBORTS_DECISION_BLACKBOARD_PREDICTION_SYSTEM_H_
std::shared_ptr< Field > field_
Definition: prediction_system.h:48
void UpdatePredictedHp()
Definition: prediction_system.cpp:84
int PredictSpeedWithDistance(const roborts_common::Point2D &pose_1, const roborts_common::Point2D &pose_2)
Definition: prediction_system.cpp:293
EnemyRobot & enemy_robot_1_
Definition: prediction_system.h:50
~PredictionSystem()=default
int bullet_shoot_enemy_2_to_home_2_
Definition: prediction_system.h:55
int bullet_shoot_enemy_1_to_home_1_
Definition: prediction_system.h:52
bool GetEnemyBulletBuffStatus()
Definition: prediction_system.cpp:187
int speed_shoot_enemy_2_to_home_2_
Definition: prediction_system.h:60
std::vector< roborts_decision::EnemyRobot > PredictWhoAttackHome(const std::shared_ptr< roborts_decision::MyRobot > &p_my_robot)
Definition: prediction_system.cpp:215
int PredictBulletNumbersWithDistance(const roborts_common::Point2D &pose_1, const roborts_common::Point2D &pose_2)
Definition: prediction_system.cpp:274
void NormalizedEnemyAttacker(std::vector< roborts_decision::EnemyRobot > &enemy_to_attack_home_1, std::vector< roborts_decision::EnemyRobot > &enemy_to_attack_home_2)
Definition: prediction_system.cpp:317
std::shared_ptr< MyRobot > p_my_robot_1_
Definition: prediction_system.h:44
Definition: prediction_system.h:16
bool GetEnemyBloodBuffStatus()
Definition: prediction_system.cpp:201
int speed_shoot_enemy_1_to_home_2_
Definition: prediction_system.h:58
Definition: behavior_test_node.h:14
int speed_shoot_enemy_1_to_home_1_
Definition: prediction_system.h:57
int PredictDamageToEnemyWithBullets(const int bullets)
Definition: prediction_system.cpp:402
std::array< std::shared_ptr< MyRobot >, 2 > all_home_
Definition: prediction_system.h:46
void UpdatePredictedRemainingProjectiles()
Definition: prediction_system.cpp:29
PredictionSystem()=delete
EnemyRobot & enemy_robot_2_
Definition: prediction_system.h:51
int bullet_shoot_enemy_2_to_home_1_
Definition: prediction_system.h:54
std::shared_ptr< MyRobot > p_my_robot_2_
Definition: prediction_system.h:45
int bullet_shoot_enemy_1_to_home_2_
Definition: prediction_system.h:53
void UpdatePredictedCurrentHeat()
Definition: prediction_system.cpp:128
int speed_shoot_enemy_2_to_home_1_
Definition: prediction_system.h:59
Definition: enemy_robot.h:16