Romi Vendor Dep Broken

Hi folks,

Has anyone gotten the ROMI vendor deps to work recently? I noticed that it was archived recently on Sep 29, 2023, so not sure if that is the cause of the failure.

The vendor dep json is referenced here: 3rd Party Libraries — FIRST Robotics Competition documentation

When I install this vendor library using vscode, it reports a build error:

https://raw.githubusercontent.com/wpilibsuite/romi-vendordep/main/RomiVendordep.json

Build file 'C:\Users\niles\Documents\RomiTutorial\build.gradle' line: 55

* What went wrong:
Could not determine the dependencies of task ':jar'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find edu.wpi.first.romi:romi-vendordep-java:2023.4.2.
     Searched in the following locations:
       - file:/C:/Users/Public/wpilib/2023/maven/edu/wpi/first/romi/romi-vendordep-java/2023.4.2/romi-vendordep-java-2023.4.2.pom
       - https://frcmaven.wpi.edu/artifactory/release/edu/wpi/first/romi/romi-vendordep-java/2023.4.2/romi-vendordep-java-2023.4.2.pom
       - https://repo.maven.apache.org/maven2/edu/wpi/first/romi/romi-vendordep-java/2023.4.2/romi-vendordep-java-2023.4.2.pom
     Required by:
         project :

Did you have a working internet connection when you did the build? I haven’t built for Romi in awhile, but the first build of a new project sometimes needs to download some things, IIRC.

Hi, yes, I had an internet connection.

I’m starting with the “Romi - Command Robot” template, which doesn’t create RomiGyro.java. The Romi vendor dep is supposed to provide the support for RomiGyro.

I noticed that the “RomiReference” example, doesn’t use the vendor dep, but just includes RomiGyro.java.

Perhaps the Romi vendordep isn’t supported anymore?

Looks like v2022.2.1 works: https://raw.githubusercontent.com/wpilibsuite/romi-vendordep/v2022.2.1/RomiVendordep.json

Also, I contacted ZQ on the WPILib team directly and he responded immediately!

Hi!

If you use the 2024 Beta 1 release (Release WPILib 2024.1.1 Beta 1 Release · wpilibsuite/allwpilib · GitHub), the included templates and examples come with the updated (and built-in) vendordep, which also includes the RomiGyro class (in the edu.wpi.first.wpilibj.romi package).

Hope this helps!
ZQ

1 Like

ZQ has always been super helpful.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.