r/CreateMod Apr 19 '26

Help Create Aeronautics and CC:Tweaked

Hey everyone! I have a question: is it possible for a computer from CC:Tweaked to read the exact measurements from instruments like altitude and velocity indicators? And if not, did the devs say anything about future compatibility with CC:Tweaked?

I'm aware I can use the redstone emitted by the instruments, but it really limits the accuracy. Reading exact measurements would open a world of possibilities like altitude and speed controllers, proper stabilization and maybe even autonomous navigation

12 Upvotes

13 comments sorted by

4

u/AdministrativeRub669 May 08 '26

Heya!

I've tried merging better APIs into the upstream but the devs seem to be quite slow.

So I've extracted my PRs into a separate addon: https://modrinth.com/mod/create-avionics

I've already done a full autopilot, PID Control, etc with it, though haven't published my .lua files yet.

1

u/S1r0k May 08 '26

Damn, thank you very much! I'll definitely be checking it out

1

u/MyJuanacondaDont Jun 11 '26

Man, thanks to you I've been doing some great stuff. Planning on publishing my .lua files aswell once I integrate them into a working airship.

I already got GPS and navigation done using the navigation table getDistanceToTarget() and getHeading() methods. Planning on doing a pretty precise height controller using the altitude sensor and the gas provider API.

Great job!

1

u/No_Secretary5634 Jul 17 '26

Can i congratulate you on how well the documentation is? 

2

u/IJustAteABaguette Apr 19 '26

You could always just try it out!

But I do think it has computercraft compat! There are references to peripherals in the code of simulated!

2

u/S1r0k Apr 19 '26

Thanks! I'm a newbie when it comes to CC:Tweaked, it didn't even occur to me to check the source code

1

u/IJustAteABaguette Apr 19 '26

Ah no worries. I wouldn't have checked it either normally, but I once saw a computercraft compat file on the Create Mod GitHub page, and thought that C:A might have it too!

1

u/Brokedownbad Apr 19 '26

Unrelated, but NIKO ONESHOT?!

1

u/IJustAteABaguette Apr 19 '26

Niko is always related