Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp: In member function 'frc2::Command* RobotContainer::GetAutonomousCommand()':
- 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>&)'
- config.SetKinematics(m_drive.kDriveKinematics);
- ^
- In file included from C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryGenerator.h:16:0,
- from C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp:17:
- 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&)
- void SetKinematics(const DifferentialDriveKinematics& kinematics) {
- ^~~~~~~~~~~~~
- 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&'
- 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)
- void SetKinematics(MecanumDriveKinematics kinematics) {
- ^~~~~~~~~~~~~
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:101:8: note: no known conversion for
- argument 1 from 'frc::SwerveDriveKinematics<4>' to 'frc::MecanumDriveKinematics'
- 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>&)
- void SetKinematics(SwerveDriveKinematics<NumModules>& kinematics) {
- ^~~~~~~~~~~~~
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibc\src\main\native\include/frc/trajectory/TrajectoryConfig.h:114:8: note: template argument deduction/substitution failed:
- C:\Users\cttew\Desktop\allwpilibHonolomicDrive\allwpilib\wpilibcExamples\src\main\cpp\examples\SwerveFollowerCommand\cpp\RobotContainer.cpp:51:48: note: mismatched types 'int' and 'unsigned int'
- config.SetKinematics(m_drive.kDriveKinematics);
- ^
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement