Shenzhen-Robotics-Alliance / Maple-Swerve-Skeleton

Iron Maple's swerve-drive skeleton project, based on 6328's Advanced Swerve Drive Example
GNU General Public License v3.0
15 stars 4 forks source link

MapleSim not found #43

Open Kouyang07 opened 4 days ago

Kouyang07 commented 4 days ago

I cloned this repo and tried to run it. I got the error

Build file '/Users/kouyang/IdeaProjects/MapleSim/build.gradle' line: 124

Could not determine the dependencies of task ':jar'.
> Could not resolve all files for configuration ':runtimeClasspath'.
   > Could not find org.ironmaple:maplesim-java:0.1.7prev.
     Searched in the following locations:
       - https://maven.pkg.github.com/Mechanical-Advantage/AdvantageKit/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
       - file:/Users/kouyang/.m2/repository/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
       - file:/Users/kouyang/wpilib/2025/maven/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
       - https://frcmaven.wpi.edu/artifactory/vendor-mvn-release/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
       - https://shenzhen-robotics-alliance.github.io/maple-sim/vendordep/repos/releases/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
       - https://repo.maven.apache.org/maven2/org/ironmaple/maplesim-java/0.1.7prev/maplesim-java-0.1.7prev.pom
     Required by:
         project :

* Try:
> Run with --stacktrace option to get the stack trace.
> Run with --info or --debug option to get more log output.
> Run with --scan to get full insights.
> Get more help at https://help.gradle.org.
BUILD FAILED in 1s

https://shenzhen-robotics-alliance.github.io/maple-sim/vendordep/maple-sim.json This link works but I am getting the error package org.ironmaple.simulation.motorsims does not exist so I am assuming the library has a decently large change between preview and 0.1.6

catr1xLiu commented 10 hours ago

Currently, maple-swerve-skeleton depends on this unreleased version of maple-sim.

I will soon create a dev branch this week so that the testings of unreleased features will not affect other teams.

Sorry for the trouble that it cause now, please download https://github.com/Shenzhen-Robotics-Alliance/maple-sim/tree/dev and publish to maven local.