Commit Graph

70 Commits

Author SHA1 Message Date
0c42fdaa8e removed debug statements from previous commit and (hopefully) fixed the array not empty check, since the check was designed for tables and not arrays 2026-06-27 18:04:28 -05:00
c724e848f7 more debug statements for troubleshooting 2026-06-27 18:02:05 -05:00
67c6916632 random test 1 for velocity sensors not found error 2026-06-27 18:00:08 -05:00
14ba0ba5ab re-order PollSensors to verify that the most important sensors have their debug statements display last 2026-06-27 17:58:52 -05:00
02b7e64301 accidentally forgot to re-define thrustDirections in UpdateGlobalAngularThrust 2026-06-27 17:55:02 -05:00
286e7287aa broke out UpdateGlobalThrust into UpdateGlobalLateralThrust and UpdateGlobalAngularThrust to check if the sensor issue is isolated 2026-06-27 17:53:49 -05:00
f229d407f8 refine nil check in last commit 2026-06-27 17:50:08 -05:00
621c27e551 nil verification in UpdateGlobalThrust for required SensorData fields 2026-06-27 17:48:30 -05:00
633e2c11d5 fix accidental function references instead of function value references 2026-06-27 17:41:09 -05:00
ae0e728d3e first implementation of the UpdateGlobalThrust function 2026-06-27 17:34:10 -05:00
ba5888bf1a added a WIP schema for all data structures under the ### Data Structures heading 2026-06-27 17:33:48 -05:00
ae5091c31e fix typo 2026-06-27 16:46:28 -05:00
d4e44ec9af actually convert sensor tables to strings for debug prints 2026-06-26 11:01:57 -05:00
f34a2c0dc3 add Config.Debug global config variable and added some debug print statements that the variable controls 2026-06-26 10:55:26 -05:00
da937b7771 first fix for angles not updating 2026-06-25 18:24:23 -05:00
c3e9454241 i'm so dumb 2026-06-25 18:20:59 -05:00
8d6ec4f6b8 Actually change the heading value you dingus 2026-06-25 18:19:50 -05:00
40ee96467d add some debug prints to debug heading correction 2026-06-25 18:17:09 -05:00
1d82b480ce fix heading correction maybe? 2026-06-25 18:06:29 -05:00
f6e7b50b9d remove redundant os.sleep in mainloop 2026-06-25 18:04:07 -05:00
153b149f5e fix heading correction (i'm so very stupid) 2026-06-25 18:01:55 -05:00
b7c4257c5c fix heading correction (i'm stupid) 2026-06-25 18:01:03 -05:00
d3b1df1db0 add heading offset correction value in config 2026-06-25 17:47:53 -05:00
5bdd71ecde begin properly implementing monitor display logic 2026-06-25 17:37:42 -05:00
e44603336b edit thrusters 2026-06-25 17:05:26 -05:00
ba5d21a723 fix monitor peripheral values being a string 2026-06-25 16:17:07 -05:00
9c137b3d20 fix loop not exiting after termination 2026-06-25 16:13:09 -05:00
0e1b932392 switch termination to quit botton 2026-06-25 16:10:51 -05:00
1c13ea58e5 termination fix pt1 2026-06-25 15:56:04 -05:00
440151eadc identifyThrottle fix p2 2026-06-25 15:52:42 -05:00
15b9e272f5 identifyThrottle fix p1 2026-06-25 15:48:12 -05:00
d46071ad1d fix terminate thing for good hopefully and add the throttles table to the config so it persists on restart 2026-06-25 15:45:51 -05:00
9170eebd4e fix attempt 2 of the terminate check stopping the mainloop 2026-06-25 15:37:42 -05:00
4f874af256 fix attempt 1 of the terminate check stopping the mainloop 2026-06-25 15:34:43 -05:00
cd9ac740a1 add writing to config files when the terminate event is received. 2026-06-25 15:25:56 -05:00
0776699c68 add lua table serialization and deserialization so abstract out loading config files 2026-06-25 15:14:24 -05:00
59e3b5a266 remove redundant assignMonitor function 2026-06-25 15:02:12 -05:00
c436363b98 remove duplicate displayAutopilotControls definition 2026-06-25 14:59:17 -05:00
ebbec7f885 PollVelocity attempt 1 2026-06-25 14:54:20 -05:00
6a3cba3404 fix identifyMonitor? pt 4 2026-06-25 14:50:25 -05:00
f80165c718 fix identifyMonitor? pt 3 2026-06-25 14:49:13 -05:00
84632a101c fix identifyMonitor? pt 2 2026-06-25 14:48:07 -05:00
a26fd278da fix identifyMonitor? 2026-06-25 14:45:52 -05:00
19ee451b3d change identifyMonitor to be more like the peripheral.find() documentation 2026-06-25 14:44:41 -05:00
3c43c747b0 change identifyMonitor and assignMonitor to local functions 2026-06-25 14:42:06 -05:00
8a9a59e97c rename symbol because idk what else to do 2026-06-25 14:40:47 -05:00
ab987319cb re-institute monitor nil check 2026-06-25 14:39:51 -05:00
e202ced697 test remove monitor nil check 2026-06-25 14:38:41 -05:00
3f5def2b6b i'm an idiot 2026-06-25 14:34:58 -05:00
2d30323148 add nil check to thruster index checking 2026-06-25 14:32:32 -05:00