Skip to content

VoidSamuraj/ScaraArm

Repository files navigation

Scara Arm

Static Badge Static Badge Static Badge Static Badge Static Badge Static Badge

Description

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.

Features

  • 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.

Usage

Installation

  • 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.

License

This project is under GNU License.

About

Ktor server for scara arm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published