diff --git a/gui/app/src/components/settings/pages/components/OutputSettings.tsx b/gui/app/src/components/settings/pages/components/OutputSettings.tsx
index 3eb6be8bd..0a0d64a9a 100644
--- a/gui/app/src/components/settings/pages/components/OutputSettings.tsx
+++ b/gui/app/src/components/settings/pages/components/OutputSettings.tsx
@@ -181,9 +181,9 @@ export function OutputTrackersSettings() {
sendDerivedVelocity: settings.sendDerivedVelocity,
};
if (
- !blockHandsWarning.current &&
- (settings.trackers.includes(BodyPart.LEFT_HAND) ||
- settings.trackers.includes(BodyPart.RIGHT_HAND))
+ !blockHandsWarning.current &&
+ (settings.trackers.includes(BodyPart.LEFT_HAND) ||
+ settings.trackers.includes(BodyPart.RIGHT_HAND))
) {
blockHandsWarning.current = true;
}
diff --git a/gui/app/src/components/tracker/TrackerSettings.tsx b/gui/app/src/components/tracker/TrackerSettings.tsx
index b2b2e7f33..75c017d71 100644
--- a/gui/app/src/components/tracker/TrackerSettings.tsx
+++ b/gui/app/src/components/tracker/TrackerSettings.tsx
@@ -318,9 +318,9 @@ export function TrackerSettingsPage() {
{l10n.getString('tracker-infos-url')}
- {tracker?.device?.hardwareInfo?.ipAddress?.addr
+ {tracker?.device?.hardwareInfo?.ipAddress
? `udp://${IPv4.fromNumber(
- tracker?.device?.hardwareInfo?.ipAddress?.addr || 0
+ tracker?.device?.hardwareInfo?.ipAddress || 0
).toString()}`
: '--'}
diff --git a/gui/app/src/components/tracker/TrackersTable.tsx b/gui/app/src/components/tracker/TrackersTable.tsx
index bbd109de7..fa33db39b 100644
--- a/gui/app/src/components/tracker/TrackersTable.tsx
+++ b/gui/app/src/components/tracker/TrackersTable.tsx
@@ -263,9 +263,9 @@ function Row({
/>
|
- {tracker?.temp && tracker?.temp?.temp != 0 && (
+ {tracker?.temp && tracker?.temp != 0 && (
- {tracker.temp.temp.toFixed(2)}
+ {tracker.temp.toFixed(2)}
)}
|
@@ -290,7 +290,7 @@ function Row({
udp://
{IPv4.fromNumber(
- device?.hardwareInfo?.ipAddress?.addr || 0
+ device?.hardwareInfo?.ipAddress || 0
).toString()}
diff --git a/server/core/src/main/java/dev/slimevr/solarxr/datafeed.kt b/server/core/src/main/java/dev/slimevr/solarxr/datafeed.kt
index 31304cbb6..c0eac61d3 100644
--- a/server/core/src/main/java/dev/slimevr/solarxr/datafeed.kt
+++ b/server/core/src/main/java/dev/slimevr/solarxr/datafeed.kt
@@ -22,9 +22,7 @@ import solarxr_protocol.data_feed.server.ServerGuards
import solarxr_protocol.data_feed.tracker_data.TrackerData
import solarxr_protocol.data_feed.tracker_data.TrackerDataMask
import solarxr_protocol.data_feed.tracker_data.TrackerInfo
-import solarxr_protocol.datatypes.Ipv4Address
import solarxr_protocol.datatypes.MagnetometerStatus
-import solarxr_protocol.datatypes.Temperature
import solarxr_protocol.datatypes.hardware_info.HardwareInfo
import solarxr_protocol.datatypes.hardware_info.HardwareStatus
import solarxr_protocol.datatypes.math.Quat
@@ -59,7 +57,7 @@ private fun createTracker(device: DeviceState, tracker: TrackerState, trackerMas
null
},
tps = if (trackerMask.tps == true) tracker.tps else null,
- temp = if (trackerMask.temp == true && tracker.imuTemp != null) Temperature(temp = tracker.imuTemp) else null,
+ temp = if (trackerMask.temp == true && tracker.imuTemp != null) tracker.imuTemp else null,
rawAcceleration = if (trackerMask.rawAcceleration == true) tracker.rawAcceleration.let { Vec3f(it.x, it.y, it.z) } else null,
linearAcceleration = if (trackerMask.linearAcceleration == true) tracker.acceleration.let { Vec3f(it.x, it.y, it.z) } else null,
rotationReferenceAdjusted = if (trackerMask.rotationReferenceAdjusted == true) tracker.rotation.let { Quat(it.x, it.y, it.z, it.w) } else null,
@@ -93,7 +91,7 @@ private fun createDevice(
officialBoardType = device.boardType,
model = device.mcuType.toString(),
firmwareVersion = device.firmware,
- ipAddress = Ipv4Address(ipv4AddressFromString(device.address)),
+ ipAddress = ipv4AddressFromString(device.address),
),
trackers = if (trackerMask != null) {
trackers.filter { it.deviceId == device.id }
diff --git a/solarxr-protocol b/solarxr-protocol
index 288d65fc4..f6e845ab7 160000
--- a/solarxr-protocol
+++ b/solarxr-protocol
@@ -1 +1 @@
-Subproject commit 288d65fc4a7ba063dcec931cdc0d67c7a4b53cdd
+Subproject commit f6e845ab720f134340bb67537a4d89bd376cae99