2023-Robot
Robot code for 2023 FRC season by Argos, FRC team #1756
Loading...
Searching...
No Matches
convert_path.h File Reference
#include <frc/trajectory/TrapezoidProfile.h>
#include <algorithm>
#include <numeric>
#include <vector>
#include "subsystems/lifter_subsystem.h"
#include "types.h"

Go to the source code of this file.

Namespaces

namespace  path_planning
 

Functions

units::degree_t path_planning::CalculateCuspAngle (const ArmPath &path, const size_t segmentIndex)
 
VelocityComponents path_planning::DecomposeVelocity (const ArmMPPathPoint &pathPoint, const ArmPathPoint &armVector)
 
CompositeMPPath path_planning::GenerateCompositeMPPath (ArmMPPath generalPath, const BashGuardMPPath &bashGuardPath, const ArmPathPoint &shoulderFulcrum, LifterSubsystem *lifter)
 
BashGuardMPPath path_planning::GenerateProfiledBashGuard (const BashGuardPoint &startPoint, const BashGuardPoint &endPoint, const PathDynamicsConstraints &constraints, units::millisecond_t resolution=20_ms)
 
ArmMPPath path_planning::GenerateProfiledPath (const ArmPath &initialPath, const PathDynamicsConstraints &constraints, const Polygon &avoidancePolygon, units::millisecond_t resolution=20_ms)
 
std::vector< units::inch_t > path_planning::GenerateSegmentLengths (const path_planning::ArmPath &path)
 
template<typename SegmentIt , typename PathIt >
std::vector< frc::TrapezoidProfile< units::inch > > path_planning::GenerateSegmentProfiles (SegmentIt segmentLengthsBegin, SegmentIt segmentLengthsEnd, PathIt pathBegin, PathIt pathEnd, const PathDynamicsConstraints &constraints)
 
std::vector< frc::TrapezoidProfile< units::inch > > path_planning::GenerateContinuousSegmentProfiles (const std::vector< units::inch_t > &segmentLengths, const path_planning::ArmPath &path, const PathDynamicsConstraints &constraints)
 
template<typename PositionType , typename VelocityType >
std::vector< GenericMPPathPoint< PositionType, VelocityType > > path_planning::PadProfile (const std::vector< GenericMPPathPoint< PositionType, VelocityType > > &profile, units::millisecond_t paddingTime, bool padFront)