From 5695843c1c6ec4a23992c24f1ea61aab78ec8443 Mon Sep 17 00:00:00 2001 From: iris Date: Wed, 17 Jul 2024 20:35:06 -0500 Subject: [PATCH] new post about librevhub --- ...ere.EXTENSION => 2024-06-19-HelloThere.md} | 0 _posts/2024-06-19-WhyJs?.EXTENSION | 12 -------- _posts/2024-07-17-WhatEvenIsLibREVHub.md | 30 +++++++++++++++++++ assets/lib | 1 - 4 files changed, 30 insertions(+), 13 deletions(-) rename _posts/{2024-06-19-HelloThere.EXTENSION => 2024-06-19-HelloThere.md} (100%) delete mode 100644 _posts/2024-06-19-WhyJs?.EXTENSION create mode 100644 _posts/2024-07-17-WhatEvenIsLibREVHub.md delete mode 160000 assets/lib diff --git a/_posts/2024-06-19-HelloThere.EXTENSION b/_posts/2024-06-19-HelloThere.md similarity index 100% rename from _posts/2024-06-19-HelloThere.EXTENSION rename to _posts/2024-06-19-HelloThere.md diff --git a/_posts/2024-06-19-WhyJs?.EXTENSION b/_posts/2024-06-19-WhyJs?.EXTENSION deleted file mode 100644 index 0d8d845..0000000 --- a/_posts/2024-06-19-WhyJs?.EXTENSION +++ /dev/null @@ -1,12 +0,0 @@ ---- -title: Why is JavaScript a thing? -date: 2024-06-19 16:20:00 -0500 -categories: posts -tags: blogposts ---- - -I just spent an hour trying to figure out how to use Js in html - -It still doesn't work - -why is js a language? \ No newline at end of file diff --git a/_posts/2024-07-17-WhatEvenIsLibREVHub.md b/_posts/2024-07-17-WhatEvenIsLibREVHub.md new file mode 100644 index 0000000..c306e57 --- /dev/null +++ b/_posts/2024-07-17-WhatEvenIsLibREVHub.md @@ -0,0 +1,30 @@ +--- +title: What even is LibREVHub? +date: 2024-07-17 19:36:00 -0500 +categories: LibREVHub +tags: LibREVHub +--- + +# LibREVHub? +LibREVHub is the project to make the controls from the REV Hub Interface available as a sdk that would enable easy control of a REV Expansion Hub over USB. + +While not everything is complete and final intents are done, I do think that this is worth writing. So, what exactly is LibREVHub? What does it do? why? +## What is it? +At its very core, LibREVHub is a python library that implements the REV libraries available when we decompiled and updated REV Hub Interface. That is its own can of worms +and I will probably get to writing about it at some later point in time. However, LibREVHub is more than than what we are still using (at time of writing) as the comms for +RHI (REV Hub Interface), which those themselves are basically just the comms that were used by REV in their offical releases of RHI. + +LibREVHub is intended for release as a library that anyone can use to control their Expansion Hub, and with that it features many quality of life improvements. Most +importantly, there are docstrings for every. single. function. in. that. damn. thing. Which, idealy would make it much, much easier for users to program themselves. On top of +this, every. single. one. has (or will have soon) type hints for their inputs paramaters and returns. (Can you tell that there was a lot of them to document?) + +## What does it do? +LibREVHub will primarily be two componets. First, there is the communications stack and basic hardware support. This is what RHI uses, but would not be the most user friendly. +The second, and in my oppinion more interesting part of this is the LibREVHub SDK. The SDK is much more similar to the FTC Robot Controller's user facing APIs and would be much +easier to program with. You can expect device classes that are pretty close to the FTC Robot Controller's classes. + +## Why would you even use this? +Well, for one, the current REV Hub control system is not going to last forever. We already know that the control system would be swapped for the 2027-2028 FTC season and that +mean many, many parts of the REV conrol system would have very few uses. This, at least personally, is a primary goal with LibREVHub. It means that these (honestly, they're +really impresive hobby robotics platforms) hubs will be usless without software to control thim. Like this, you can connect a rev hub to a comuputer, Raspberry Pi, or any +other device you may want and control it without much hassle. diff --git a/assets/lib b/assets/lib deleted file mode 160000 index b9c58cf..0000000 --- a/assets/lib +++ /dev/null @@ -1 +0,0 @@ -Subproject commit b9c58cf485a7dcbc833e698d67dd1850bdc93eb3