Thunderbots Project
Loading...
Searching...
No Matches
calc_best_shot.h
1#pragma once
2
3#include "shared/constants.h"
4#include "software/ai/evaluation/shot.h"
5#include "software/geom/angle_map.h"
6#include "software/geom/angle_segment.h"
7#include "software/geom/point.h"
8#include "software/geom/segment.h"
9#include "software/util/make_enum/make_enum.hpp"
10#include "software/world/field.h"
11#include "software/world/robot.h"
12#include "software/world/team.h"
13#include "software/world/world.h"
14
32std::optional<Shot> calcBestShotOnGoal(const Segment &goal_post, const Point &shot_origin,
33 const std::vector<Robot> &robot_obstacles,
34 TeamType goal,
35 double radius = ROBOT_MAX_RADIUS_METERS);
56std::optional<Shot> calcBestShotOnGoal(const Field &field, const Team &friendly_team,
57 const Team &enemy_team, const Point &shot_origin,
58 TeamType goal,
59 const std::vector<Robot> &robots_to_ignore = {},
60 double radius = ROBOT_MAX_RADIUS_METERS);
Definition field.h:36
Definition point.h:14
Definition segment.h:7
Definition team.h:15