|
2024-Robot
Robot code for 2024 FRC season by Argos, FRC team #1756
|
#include <frc/geometry/Translation2d.h>#include <frc/geometry/Translation3d.h>#include "units/angle.h"#include "units/length.h"Go to the source code of this file.
Namespaces | |
| namespace | argos_lib |
| namespace | argos_lib::odometry_aim |
Functions | |
| units::degree_t | argos_lib::odometry_aim::GetAngleToTarget (const frc::Translation2d ¤tEstimatedRobotPose, const frc::Translation3d &targetPoseOnField) |
| Gets the Angle(Yaw) required for the Robot to orient towards the target of interest assuming the robot is field-centric. | |
| units::meter_t | argos_lib::odometry_aim::GetDistanceToTarget (const frc::Translation2d ¤tEstimatedRobotPose, const frc::Translation3d &targetPoseOnField) |
| Gets the Distance of the Robot to from the target of interest. | |