actually convert sensor tables to strings for debug prints

This commit is contained in:
2026-06-26 11:01:57 -05:00
parent f34a2c0dc3
commit d4e44ec9af

View File

@@ -478,7 +478,7 @@ function PollVelocity()
SensorData.Velocity.Raw = VelocityVectors
if Config.Debug then
print("DEBUG: PollVelocity fetched sensor data: "..SensorData.Velocity)
print("DEBUG: PollVelocity fetched sensor data: "..tableToString(SensorData.Velocity))
end
end
@@ -503,7 +503,7 @@ function PollAltitude()
SensorData.Altitude.VerticalSpeed = VerticalSpeed
if Config.Debug then
print("DEBUG: PollAltitude fetched sensor data: "..SensorData.Altitude)
print("DEBUG: PollAltitude fetched sensor data: "..tableToString(SensorData.Altitude))
end
end
end
@@ -572,7 +572,7 @@ function PollGimbal()
SensorData.Gimbal.LinearAcceleration = LinearAcceleration
if Config.Debug then
print("DEBUG: PollGimbaal fetched sensor data: "..SensorData.Gimbal)
print("DEBUG: PollGimbaal fetched sensor data: "..tableToString(SensorData.Gimbal))
end
end
end