From f6dde557bbb95192a987324fc04be55a1cff0391 Mon Sep 17 00:00:00 2001 From: melfey Date: Fri, 22 May 2026 21:06:15 -0500 Subject: [PATCH] project started and converted to a lib crate --- .gitignore | 1 + Cargo.lock | 7 +++++++ Cargo.toml | 6 ++++++ README.md | 26 ++++++++++++++++++++++++++ src/lib.rs | 0 5 files changed, 40 insertions(+) create mode 100644 .gitignore create mode 100644 Cargo.lock create mode 100644 Cargo.toml create mode 100644 README.md create mode 100644 src/lib.rs diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ea8c4bf --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +/target diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 0000000..a58eeda --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,7 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 4 + +[[package]] +name = "rnavp" +version = "0.1.0" diff --git a/Cargo.toml b/Cargo.toml new file mode 100644 index 0000000..8c58fe1 --- /dev/null +++ b/Cargo.toml @@ -0,0 +1,6 @@ +[package] +name = "rnavp" +version = "0.1.0" +edition = "2024" + +[dependencies] diff --git a/README.md b/README.md new file mode 100644 index 0000000..6a4e1cb --- /dev/null +++ b/README.md @@ -0,0 +1,26 @@ +# Robotics Navigation and Control Via Postcard *RNavP* + +This is a crate designed to assit in development for the entire stack from the MCU(Running Embassy) to a STD computer talking to that MCU Via postcard for Drivetrain control. +Designed for intergration with ROS2 but is *NOT* required and will work for any STD enviroment for the control system + + +## Highlights + +Able to drive just about anything, 2 wheel differential drive, simple we got that. 4 Wheeled OmniDirectional? We got that to. 9 Wheeled Abomination? Why? But, *We gotcha bro!* + +Simulation system, Define the upper level logic, and the placement of the wheels and the motor specs and we can give you a low fidilety simulation output on the Computer no MCU needed. +Want to see it ON something? Well use the outputs and hook into the SIM of your choice! Verify your robot design and logic systems, before even ordering the MCU, or having to design how the ESC works. + +Entirely Rust, this uses a full RUST eco system from the ground up, keeping the Your code safe, and your robots doing exactly what you intended for them to do. + +Uses Embassy. Since this is designed to have a single function init, you WILL have to pass in your embassy executor spawning item so you can't spawn anything new once this is started. +BUT, you can easily just throw this entire system on core 1 (Second core) of your MCU, and not care about it anymore. Handle the rest of your logic, read some data, run a HMI using the wonderful SLINT crate. +Who knows? What we do know is that, your entire drivetrain and sensor system you asked us to handle. We handled. + + + +## Licensing + +Dual Licensed Under + +MIT and Apache-2.0 diff --git a/src/lib.rs b/src/lib.rs new file mode 100644 index 0000000..e69de29