2025-Robot
Robot code for 2025 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
odometry_aim.h
Go to the documentation of this file.
1
4
5#pragma once
6
7#include <frc/geometry/Translation2d.h>
8#include <frc/geometry/Translation3d.h>
9
10#include "units/angle.h"
11#include "units/length.h"
12
13namespace argos_lib {
14 namespace odometry_aim {
23 units::degree_t GetAngleToTarget(const frc::Translation2d& currentEstimatedRobotPose,
24 const frc::Translation3d& targetPoseOnField);
25
33 units::meter_t GetDistanceToTarget(const frc::Translation2d& currentEstimatedRobotPose,
34 const frc::Translation3d& targetPoseOnField);
35 } // namespace odometry_aim
36} // namespace argos_lib
units::degree_t GetAngleToTarget(const frc::Translation2d &currentEstimatedRobotPose, const frc::Translation3d &targetPoseOnField)
Gets the Angle(Yaw) required for the Robot to orient towards the target of interest assuming the robo...
Definition odometry_aim.cpp:11
units::meter_t GetDistanceToTarget(const frc::Translation2d &currentEstimatedRobotPose, const frc::Translation3d &targetPoseOnField)
Gets the Distance of the Robot to from the target of interest.
Definition odometry_aim.cpp:19
Definition swap_controllers_command.h:12