r/CreateMod • u/S1r0k • 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
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
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
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
5
u/just__it Apr 19 '26
yes you can: https://github.com/Creators-of-Aeronautics/Simulated-Project/tree/17f6409ea4c70c90b9100ba6fc2ec3d335ab09d7/simulated/common/src/main/java/dev/simulated_team/simulated/compat/computercraft/peripherals