actually convert sensor tables to strings for debug prints
This commit is contained in:
6
main.lua
6
main.lua
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user