Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- RobotContainer.cpp
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include\frc\kinematics\SwerveDriveKinematics.inc(61): error C2338: Number of modules is not consistent with number of wheel locations provided in constructor.
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include\frc\trajectory\constraint\SwerveDriveKinematicsConstraint.inc(36): note: see reference to function template instantiation 'frc::ChassisSpeeds frc::SwerveDriveKinematics<4>::ToChassisSpeeds<std::array<frc::SwerveModuleState,4>&>(std::array<frc::SwerveModuleState,4> &)' being compiled
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include\frc\trajectory\constraint\SwerveDriveKinematicsConstraint.inc(36): note: see reference to function template instantiation 'frc::ChassisSpeeds frc::SwerveDriveKinematics<4>::ToChassisSpeeds<std::array<frc::SwerveModuleState,4>&>(std::array<frc::SwerveModuleState,4> &)' being compiled
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include\frc\trajectory\constraint\SwerveDriveKinematicsConstraint.inc(29): note: while compiling class template member function 'units::velocity::meters_per_second_t frc::SwerveDriveKinematicsConstraint<4>::MaxVelocity(const frc::Pose2d &,frc::curvature_t,units::velocity::meters_per_second_t)'
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include\frc/trajectory/TrajectoryConfig.h(116): note: see reference to class template instantiation 'frc::SwerveDriveKinematicsConstraint<4>' being compiled
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp(51): note: see reference to function template instantiation 'void frc::TrajectoryConfig::SetKinematics<4>(const frc::SwerveDriveKinematics<4> &)' being compiled
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpiutil\src\main\native\include\units/units.h(1889): note: see reference to class template instantiation 'units::linear_scale<T>' being compiled
- with
- [
- T=double
- ]
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpiutil\src\main\native\include\units/units.h(2507): note: see reference to class template instantiation 'units::unit_t<units::dimensionless::scalar,double,units::linear_scale>' being compiled
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\chrono(595): note: see reference to class template instantiation 'std::chrono::duration<double,std::ratio<1,1>>' being compiled
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\chrono(172): note: see reference to class template instantiation 'std::chrono::duration<__int64,std::nano>' being compiled
- C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.21.27702\include\chrono(574): note: see reference to class template instantiation 'std::chrono::time_point<std::chrono::steady_clock,std::chrono::steady_clock::duration>' being compiled
- > Task :wpilibcExamples:compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp FAILED
- FAILURE: Build failed with an exception.
- * What went wrong:
- Execution failed for task ':wpilibcExamples:compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp'.
- > A build operation failed.
- C++ compiler failed while compiling RobotContainer.cpp.
- See the complete log at: file:///C:/Users/cttew/Desktop/allwpilibHonolomicDrive/allwpilib/wpilibcExamples/build/tmp/compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp/output.txt
- > C++ compiler failed while compiling RobotContainer.cpp.
- * Try:
- Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
- * Get more help at https://help.gradle.org
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement