Advertisement
Guest User

Untitled

a guest
Nov 8th, 2019
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.92 KB | None | 0 0
  1. RobotContainer.cpp
  2. 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.
  3. 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
  4. 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
  5. 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)'
  6. 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
  7. 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
  8. 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
  9. with
  10. [
  11. T=double
  12. ]
  13. 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
  14. 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
  15. 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
  16. 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
  17.  
  18.  
  19. > Task :wpilibcExamples:compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp FAILED
  20.  
  21. FAILURE: Build failed with an exception.
  22.  
  23. * What went wrong:
  24. Execution failed for task ':wpilibcExamples:compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp'.
  25. > A build operation failed.
  26. C++ compiler failed while compiling RobotContainer.cpp.
  27. See the complete log at: file:///C:/Users/cttew/Desktop/allwpilibHonolomicDrive/allwpilib/wpilibcExamples/build/tmp/compileSwerveFollowerCommandWindowsx86-64ExecutableSwerveFollowerCommandCpp/output.txt
  28. > C++ compiler failed while compiling RobotContainer.cpp.
  29.  
  30. * Try:
  31. 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.
  32.  
  33. * Get more help at https://help.gradle.org
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement