LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
Loading...
Searching...
No Matches
field_map.hpp
Go to the documentation of this file.
1#pragma once
2
18namespace light::field {
19
20constexpr float FIELD_SIZE_IN = 144.0f;
21constexpr float FIELD_HALF = FIELD_SIZE_IN / 2.0f;
22
37float raycast(float x, float y, float angleRad, float max_range = FIELD_SIZE_IN);
38
39} // namespace light::field
constexpr float FIELD_SIZE_IN
Field side length, inches (12 ft).
Definition field_map.hpp:20
float raycast(float x, float y, float angleRad, float max_range=FIELD_SIZE_IN)
Cast a ray from (x, y) in direction angleRad (world frame).
constexpr float FIELD_HALF
Half-side, inches.
Definition field_map.hpp:21