Crazyflie Java Lib based on the Bitcraze Android client, but in the form of a Gradle Project, easy to be used or customized.
- Step 1. Add the JitPack repository to your build file. Add it in your root build.gradle at the end of repositories:
repositories {
...
maven { url 'https://jitpack.io' }
}
- Step 2. Add the dependency
dependencies {
...
implementation 'com.github.andre-paraense:crazyflie-lib-java:0.1.1'
}
- Step 1. Add the JitPack repository to your build file.
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
</repositories>
- Step 2. Add the dependency
<dependency>
<groupId>com.github.andre-paraense</groupId>
<artifactId>crazyflie-lib-java</artifactId>
<version>0.1.1</version>
</dependency>
Download the latest release and set it as a dependency in your project.
This release uses gradle to download the dependencies from MavenCentral. It does not require you to have gradle installed in your system because it uses the Gradle Wrapper. Depending on your operational system, you might execute the gradlew script or the gradlew.bat script in order to compile the code. You might need the JDK to be properly installed in order to build the code. You should call "gradlew " in order to build the code. Available tasks can be discovered using "gradlew tasks". After calling "gradlew build", the crazyflie-lib-java
library will be available at build/libs directory.
Follow the release page to better understand the breaking changes of new versions.
To get started, you can take a look at our crazyflie-meca-demo.