3#include "pathplanner/lib/path/PathPlannerPath.h"
4#include <initializer_list>
7#include <unordered_map>
13#include <frc/interfaces/Gyro.h>
14#include <frc/kinematics/ChassisSpeeds.h>
15#include <frc/trajectory/Trajectory.h>
17#include <networktables/DoubleArrayTopic.h>
18#include <networktables/NetworkTable.h>
19#include <networktables/NetworkTableInstance.h>
21#include <frc2/command/CommandPtr.h>
22#include <frc2/command/Subsystem.h>
24#include <pathplanner/lib/path/PathPlannerTrajectory.h>
100 units::second_t time) = 0;
118 virtual void resetPose(
const frc::Pose2d &pose = frc::Pose2d()) = 0;
141 frc::Trajectory trajectory,
142 std::initializer_list<frc2::Subsystem *> driveRequirements) = 0;
156 std::vector<frc::Trajectory> trajectoryGroup,
157 std::initializer_list<frc2::Subsystem *> driveRequirements);
168 virtual frc2::CommandPtr
170 std::initializer_list<frc2::Subsystem *> driveRequirements) = 0;
201 pathplanner::PathPlannerPath path,
202 std::unordered_map<std::string, std::shared_ptr<frc2::Command>> eventMap,
203 std::initializer_list<frc2::Subsystem *> driveRequirements);
239 pathplanner::PathPlannerPath path,
240 std::unordered_map<std::string, std::shared_ptr<frc2::Command>> eventMap,
241 std::initializer_list<frc2::Subsystem *> driveRequirements);
257 std::vector<pathplanner::PathPlannerTrajectory> trajectoryGroup,
258 std::unordered_map<std::string, std::shared_ptr<frc2::Command>> eventMap,
259 std::initializer_list<frc2::Subsystem *> driveRequirements);
Definition BaseDrive.h:32
virtual frc2::CommandPtr fullPPAuto(pathplanner::PathPlannerPath path, std::unordered_map< std::string, std::shared_ptr< frc2::Command > > eventMap, std::initializer_list< frc2::Subsystem * > driveRequirements)
virtual void driveChassisSpeeds(frc::ChassisSpeeds chassisSpeeds)=0
virtual frc2::CommandPtr followPPPathWithEvents(pathplanner::PathPlannerPath path, std::unordered_map< std::string, std::shared_ptr< frc2::Command > > eventMap, std::initializer_list< frc2::Subsystem * > driveRequirements)
virtual frc::Pose2d getPose() const =0
virtual frc2::CommandPtr followWPILibTrajectoryGroup(std::vector< frc::Trajectory > trajectoryGroup, std::initializer_list< frc2::Subsystem * > driveRequirements)
NT_Listener poseListener
Definition BaseDrive.h:286
nt::DoubleArraySubscriber stdDevSubscriber
Definition BaseDrive.h:283
virtual frc::Pose2d updatePose()=0
virtual void addVisionMeasurments(const frc::Pose2d &poseEstimate, units::second_t time)=0
virtual void setVisionSTDevs(wpi::array< double, 3 > standardDevs)=0
virtual frc2::CommandPtr fullPPAuto(std::vector< pathplanner::PathPlannerTrajectory > trajectoryGroup, std::unordered_map< std::string, std::shared_ptr< frc2::Command > > eventMap, std::initializer_list< frc2::Subsystem * > driveRequirements)
virtual void resetPose(const frc::Pose2d &pose=frc::Pose2d())=0
virtual bool isHolonomic() const =0
virtual frc2::CommandPtr followWPILibTrajectory(frc::Trajectory trajectory, std::initializer_list< frc2::Subsystem * > driveRequirements)=0
virtual frc::ChassisSpeeds getChassisSpeeds() const =0
nt::DoubleArraySubscriber poseSubscriber
Definition BaseDrive.h:272
virtual frc2::CommandPtr followPPPath(std::shared_ptr< pathplanner::PathPlannerPath > path, std::initializer_list< frc2::Subsystem * > driveRequirements)=0
NT_Listener stdDevListener
Definition BaseDrive.h:291
BaseDrive(std::string visionTable)
the master namespace of librmb
Definition LogitechGamepad.h:9