src/main/cpp/subsystems/Rocky/DriveTrainSubsystemRocky.cpp
double DriveTrainSubsystemRocky::GetLidarDetectionDistance()
{
#ifndef NOHW
  double val = m_lidar.GetDistanceInInches();
  frc::SmartDashboard::PutNumber("DriveTrain Lidar", val);
  return val;
#else
  return 0;
#endif
}
//Gets Detection distance; used for debugging
Gets Detection distance; used for debugging
Gets Detection distance ; used for debugging
double DriveTrainSubsystemRocky::GetLidarDetectionDistance()
{
#ifndef NOHW
  double val = m_lidar.GetDistanceInInches();
  frc::SmartDashboard::PutNumber("DriveTrain Lidar", val);
  return val;
#else
  return 0;
#endif
}
double DriveTrainSubsystemRocky :: GetLidarDetectionDistance ( ) { #ifndef NOHW double val = m_lidar . GetDistanceInInches ( ) ; frc :: SmartDashboard :: PutNumber ( " " , val ) ; return val ; #else return 0 ; #endif }
Gets Detection distance; used for debugging
Gets Detection distance ; used for debugging