Ktor server to control Scara arm
- I built this project to experiment with robotic arms to be able to create more advanced robotic arms in the future.
- There are many possible applications for this, especially those related to G-Code.
- To create this project, I had to learn about the Ktor server, Three.js, and some mathematics in kinematics.
- moving the robotic arm manually (only on a computer).
- moving robotic arm by G-Code file.
- visualization of the G-Code file, arm movement.
- accounts and private files.
- server works with robotic arm based on Arduino-Scara-Arm
- Insert your keys in: src/main/kotlin/com/voidsamuraj/Keys.kt:
package com.voidsamuraj
import io.ktor.util.*
object Keys {
val EncryptKey = hex("YOUR_ENCRYPTION_KEY")
val SignKey = hex("YOUR_SIGN_KEY")
val JWTSecret = "YOUR_JWT_SECRET"
}
- The Project uses Kotlin and requires JVM.
- There is an included Three.js library; if you want to change the version, you have to change the import paths in the used lib files, as I did, e.g., "/static/three/build/three.module.js." Lib is under: src/main/resources/files/three.
- Build jar and Run.
This project is under GNU License.