Advertisement
Guest User

Untitled

a guest
Nov 17th, 2019
102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.80 KB | None | 0 0
  1. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp: In member function 'frc2::Command* RobotContainer::GetAutonomousCommand()':
  2. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp:51:48: error: no matching function for call to 'frc::TrajectoryConfig::SetKinematics(frc::SwerveDriveKinematics<4>&)'
  3. config.SetKinematics(m_drive.kDriveKinematics);
  4. ^
  5. In file included from C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryGenerator.h:16:0,
  6. from C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp:17:
  7. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:90:8: note: candidate: void frc::TrajectoryConfig::SetKinematics(const frc::DifferentialDriveKinematics&)
  8. void SetKinematics(const DifferentialDriveKinematics& kinematics) {
  9. ^~~~~~~~~~~~~
  10. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:90:8: note: no known conversion for argument 1 from 'frc::SwerveDriveKinematics<4>' to 'const frc::DifferentialDriveKinematics&'
  11. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:101:8: note: candidate: void frc::TrajectoryConfig::SetKinematics(frc::MecanumDriveKinematics)
  12. void SetKinematics(MecanumDriveKinematics kinematics) {
  13. ^~~~~~~~~~~~~
  14. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:101:8: note: no known conversion for
  15. argument 1 from 'frc::SwerveDriveKinematics<4>' to 'frc::MecanumDriveKinematics'
  16. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:114:8: note: candidate: template<int NumModules> void frc::TrajectoryConfig::SetKinematics(frc::SwerveDriveKinematics<NumModules>&)
  17. void SetKinematics(SwerveDriveKinematics<NumModules>& kinematics) {
  18. ^~~~~~~~~~~~~
  19. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:114:8: note: template argument deduction/substitution failed:
  20. C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp:51:48: note: mismatched types 'int' and 'unsigned int'
  21. config.SetKinematics(m_drive.kDriveKinematics);
  22. ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement