BroncBotz3481/YAGSL

Library version in javadocks overview.

Closed this issue · 4 comments

I am currently trying to make a swerve drive using the newist online download link on the documentation page (https://broncbotz3481.github.io/YAGSL-Lib/yagsl/yagsl.json): version "2023.1.6" . When I attempt to make my drivetrain with Swerve = new SwerveParser(new File(Filesystem.getDeployDirectory(), "swerve")).createSwerveDrive(5.0); my intellisense returns that there isn't a method of createSwerveDrive(double) even though there is one in the javadocs. This is probly just me misunderstanding how these dot functions work rather than a mismatch of javadoc version to downloadable version, but I think it could still be a good addition for the future.

Did you try to update your vendordep to YAGSL or uninstall than install it again.

I have tried doing an online update but no update was detected and, I had added the library the day before I put this code in. I will try to uninstall and reinstall to see if that works.

I had the same issue, it looks like yagsl.json has the wrong version of YAGSL listed:

{
  "fileName": "yagsl.json",
  "name": "YAGSL",
  "version": "2023.1.6", <- reported version is 2023.1.6
  "uuid": "1ccce5a4-acd2-4d18-bca3-4b8047188400",
  "mavenUrls": [
    "https://broncbotz3481.github.io/YAGSL-Lib/yagsl/repos"
  ],
  "jsonUrl": "https://broncbotz3481.github.io/YAGSL-Lib/yagsl/yagsl.json",
  "javaDependencies": [
    {
      "groupId": "swervelib",
      "artifactId": "YAGSL-java",
      "version": "2023.0.6" <- version of the library doesn't match
    }
  ],
  "jniDependencies": [
  ],
  "cppDependencies": [
  ]
}

I changed it to 2023.1.6 and the function appears in intellisense.

Thank you for finding this, i must have forgotten to update both on Wednesday! The chabge is now upstreamed with all thanks to you!