Skip to content

Commit

Permalink
Major changes are on the way...
Browse files Browse the repository at this point in the history
  • Loading branch information
AtomicGamer9523 committed Dec 13, 2023
1 parent f56fb45 commit 9f9f563
Show file tree
Hide file tree
Showing 204 changed files with 59 additions and 2,917 deletions.
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
# Bazel files
bazel-*

# Rust files
Cargo.lock
# Lock files
*.lock

# Python files
__pycache__
Expand Down
19 changes: 10 additions & 9 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,21 +2,22 @@
resolver = "2"
members = [
# Main crates
"libs/l2math/bindings",
"libs/l2math",
"libs/libodo",
"libs/libpath",
"libs/libtrig",
"arc", # Client side of the robot (python)
"libs/robot", # Robot [Server] side of the robot (rust)

# Helper crates
"libs/macros-core",
"libs/macros",
"libs/helper/l2math",
# "libs/libodo",
# "libs/libpath",
# "libs/libtrig",
"libs/helper/macros-core",
"libs/helper/macros",
]

[workspace.package]
authors = ["Матвей Т <https://matveit.dev> AtomicGamer9523@github"]
repository = "https://github.com/AtomicGamer9523/librobomath"
version = "0.1.0-dev"
repository = "https://github.com/DranikiRobotics/arc"
version = "0.0.1-dev"
edition = "2021"
license = "MIT"

Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
# `LibRoboTOP`
# ARC: A complete framework for controlling robots

## A <ins>**Lib**</ins>rary for <ins>**Robo**</ins>tics, featuring <ins>**T**</ins>rigonometry, <ins>**O**</ins>dometry, and <ins>**P**</ins>athing
ARC is a feature complete framework for writing robot code. It is designed to be easy to use, and easy to understand. It is also designed to be modular, so that you can use only the parts you need. ARC is also designed to be easy to extend, so that you can add your own functionality to it. ARC is an acronym, and it stands for: <ins>**A**</ins>dvanced <ins>**R**</ins>obot <ins>**C**</ins>ontroller.

### Features
## Features

- **[`l2math`](./libs/l2math/)** - <ins>L</ins>ow <ins>L</ins>evel <ins>Math</ins> - Fundamental math functions and types.
- **[`libtrig`](./libs/libtrig/)** - Trigonometry functionality (angles, vectors, etc.).

### Documentation
## Documentation

For Developers who are planning on using this [read here](./docs/GUIDE.md).

Expand Down
7 changes: 2 additions & 5 deletions libs/libodo/Cargo.toml → arc/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,14 +1,11 @@
[package]
name = "libodo"
description = "Core odometrix functionality, you probably shouldn't use this directly"
name = "arc"
description = "Advanced Robot Controller"
repository.workspace = true
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true

[dependencies.libtrig]
path = "../libtrig"

[lib]
path = "lib.rs"
6 changes: 6 additions & 0 deletions arc/__init__.pyi
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
from typing import Callable

type RunResult = bool
OK: RunResult = True
FAIL: RunResult = False
def MAIN(func: Callable[[], RunResult]) -> None: ...
File renamed without changes.
3 changes: 0 additions & 3 deletions bindings/.gitignore

This file was deleted.

7 changes: 7 additions & 0 deletions docs/examples/auto.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
from arc import *

def main() -> RunResult:
print("Hello, world!")
return OK

MAIN(main)
Binary file removed gradle/wrapper/gradle-wrapper.jar
Binary file not shown.
5 changes: 0 additions & 5 deletions gradle/wrapper/gradle-wrapper.properties

This file was deleted.

164 changes: 0 additions & 164 deletions gradlew

This file was deleted.

90 changes: 0 additions & 90 deletions gradlew.bat

This file was deleted.

Loading

0 comments on commit 9f9f563

Please sign in to comment.