When I try to import ColorSensorMeasurementRate, ColorSensorResolution, and GainFactor for ConfigureColorSensor, it marks the imports as an error that says “The type com.revrobotics.ColorSensorV3.ColorSensorResolution is not visible”. Does anyone know why this could be happening?
have you installed the correct vendor libraries? if you click the w logo in the top cornor and type manage vendor libraries then click install libraries online and use this link http://revrobotics.com/content/sw/color-sensor-v3/sdk/REVColorSensorV3.json it should work and will work offline if you build the code.
Yes, I have REVColorSensorV3 version 1.0.1 installed.
Does it compile correctly? If so, it’s just an intellisense issue.
No, when I attempt a build over wifi it fails and I get this error in a few areas:
C:\Users\dinom\OneDrive\Documents\RobotCode\2020RobotCode\src\main\java\frc\robot\subsystems\ColorSensorSubsystem.java:15: error: ColorSensorMeasurementRate is not public in ColorSensorV3; cannot be accessed from outside package
import com.revrobotics.ColorSensorV3.ColorSensorMeasurementRate;
There’s your problem
It’s been fixed, but doesn’t appear that Rev has done a release since it’s been fixed.
Anyone know when to expect a release or should we try to contact rev?
+1 on this…it looks like there are several fixes in master that would be really helpful for teams to have access to. @Will_Toth or anyone else at Rev, can we expect a 1.0.2 soon? Week Zero is around the corner and Week 1 just 18 days away…
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.