Two problems:
- Rust drops
stations that are added to self.stations, apparently something is wrong with ownership here:
|
self.stations.lock().expect("lock").extend(stations); |
the stations vec has 2 elements, but self.stations has 0 after .extend is invoked. I'm not fluent in Rust, please help fixing it.
- The
vivepro2 doesn't have basestationPowerManagement setting in steamvr.vrsettings, the steamvr has it
|
const POWER_MANAGEMENT: Setting<i32> = setting!("vivepro2", "basestationPowerManagement"); |
"steamvr" : {
"basestationPowerManagement" : 1
},
"vivepro2" : {
"brightness" : 130,
"noiseCancel" : false,
"resolution" : 4
}
i.e. the fix is:
- const POWER_MANAGEMENT: Setting<i32> = setting!("vivepro2", "basestationPowerManagement");
+ const POWER_MANAGEMENT: Setting<i32> = setting!("steamvr", "basestationPowerManagement");
Maybe this setting depends on a steamvr version? I'm using today's latest beta v2.6.2
Two problems:
stationsthat are added toself.stations, apparently something is wrong with ownership here:VivePro2-Linux-Driver/bin/driver-proxy/src/driver/server_tracked_provider.rs
Line 87 in 8982075
the
stationsvec has 2 elements, butself.stationshas 0 after.extendis invoked. I'm not fluent in Rust, please help fixing it.vivepro2doesn't havebasestationPowerManagementsetting insteamvr.vrsettings, thesteamvrhas itVivePro2-Linux-Driver/bin/driver-proxy/src/driver/server_tracked_provider.rs
Line 28 in 8982075
i.e. the fix is:
Maybe this setting depends on a steamvr version? I'm using today's latest beta v2.6.2