Home Creators Posts Import Register Favorites Logout

Content

Time for an update, because I've got some exciting stuff in the works.

I've been doing some coding, and that means that in the near future all of my devices are going to receive quite a significant performance upgrade: smoother, more reliable movements, less jitter.

I am currently re-writing the TCode interpreter.

The TCode interpreter is the bit of code that lives on your device and turns the instructions it receives from your computer into axis movements. I wrote the current version in 2021, almost five years ago and as you can imagine I have learned a lot about coding and these devices since then!

The vast majority of users never think about this part of their TCode device, and why should you? It just works. Looking back it it my code is pretty amateurish, but it has served reliably for a long time.

Now I want to professionalise my code, which should also hopefully lead to much easier code installation methods in the future. I also want to improve the user experience by taking some of the janky edges off the way TCode devices move.

You may not know this but a TCode device works in one of two ways: it can do linear ramping movements with one command for each move, like legacy devices like the Fleshlight launch, Keon, Handy, etc, or it can do "live" control, which is where the player app controlling the device sends a position command to the device up to 300 times a second, which is how TCode devices can do smooth movements. Linear ramping movements execute reliably but they don't feel very natural or organic. Live control can produce great results great but anything that interrupts the chain from the player to the device can make the movement of the device stutter.

Currently everything that actually happens on your device is simple and linear. However, I have been able to use something called fixed point variable operations to make it possible for the TCode interpreter itself to calculate smooth curves. This is really cool because it will make it possible to get the best of both worlds: we can have smooth, uninterrupted motions but with minimal messages transmitted between player and device. It means some small additions to the TCode specification, which will take it up to version 0.4, but this will be minor.

The improvement will mostly benefit script-based content, though since 2021 this has undoubtedly become the majority of TCode device users. There will also be some improvements to the live command side of things as well though, which should make things much smoother.

Existing devices operating on TCode 0.3 (and TCode 0.2!) will still work with the upgraded TCode 0.4 spec, though of course they will not benefit from the new features.

Oh and did I mention? Because it works on fixed point operations runs on an Arduino! It doesn't rely on the ESP32's horsepower to function. That means I can roll this out to the basic OSR2 as well as everything else.

So, what does this mean for my schdule?

Supporter tier and up should expect a livestream from me soon in which I will demonstrate what the new code can do. As of writing I've only got a single axis implemented but I already think it's seriously impressive.

Maker tier should expect updated device firmware, and I'm aiming for 1st June. Obviously it will be brand new code and I'll be looking for bugs and feedback.

I am also finally back on it writing my Benefactors newsletter, so expect January and February to be published in the next few days. Thanks for your patience with that guys, that illness earlier this year really threw things off! Of course my devstream on discord is up to date so check out my posts on there if you want to see updates on my work in real time.

Of course whilst this is all going on I have some other exciting things happening in the background. I am still aiming for a full multi-axis brushless motor device by the end of the year, though the GIM6010-8 joint motor (an expensive paperweight!) has eaten far too much of my time. We've also got a cool PCB development (integrated PCB for OSR2/SR6) in the works.

Happy building!

Tempest

Files

Comments

roa

Tempest MAx

It should improve the experience over WiFi a lot! And yep I'll make sure that Yoooi and MFP are kept in the loop, as well as Khrull and XTP.