Skip to content

Commit

Permalink
fixed github build errors
Browse files Browse the repository at this point in the history
  • Loading branch information
prawny-boy committed Jan 28, 2024
1 parent 7551c81 commit 474ed7e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/main/include/RobotMap.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
#include <units/length.h>

#include <string>
#include <memory>

#include <ctre/phoenix6/CANcoder.hpp>
#include <ctre/phoenix6/Pigeon2.hpp>
Expand Down
2 changes: 1 addition & 1 deletion wombat/src/main/cpp/drivetrain/SwerveDrive.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ void SwerveModuleConfig::WriteNT(
SwerveModule::SwerveModule(std::string path, SwerveModuleConfig config,
//SwerveModule::angle_pid_conf_t anglePID,
SwerveModule::velocity_pid_conf_t velocityPID)
: //_anglePIDController(path + "/pid/angle", anglePID),
: // _anglePIDController(path + "/pid/angle", anglePID),
_anglePIDController{frc::PIDController(4, 0, 0, 0.005_s)},
_config(config),
_velocityPIDController(frc::PIDController(1.2, 0, 0, 0.005_s)),
Expand Down

0 comments on commit 474ed7e

Please sign in to comment.