mirror of
https://github.com/bleackstorm/SteamFrame-FPV-Control-Center.git
synced 2026-12-03 07:31:57 +01:00
feat(vr): add vehicle profiles in VR menu and Head/World/Smooth OpenXR anchoring
This commit is contained in:
1 parent
226daf6498
commit
4715505800
12 files changed
+683
-114
No files matched your search
+5
-1
@@ -16,7 +16,7 @@ use crate::config::AppConfig;
|
||||
use crate::controller::{
|
||||
ControlSource, GearSpeedLimits, SteamControllerConfig, SteamControllerWorker,
|
||||
};
|
||||
use crate::dome_projection::ProjectionMode;
|
||||
use crate::dome_projection::{ProjectionMode, VrLockMode};
|
||||
use crate::dvr::{DvrContainer, DvrMode, DvrRecorder, ReplayRingBuffer};
|
||||
use crate::g29_bridge::{G29BridgeReceiver, G29State};
|
||||
use crate::nomad_elrs::{HeadPoseSample, NomadHeadTracker, NomadProtocol};
|
||||
@@ -43,6 +43,8 @@ impl FpvEngineController {
|
||||
screen_distance_m: 1.6,
|
||||
screen_width_m: 3.2,
|
||||
projection_mode: ProjectionMode::Dome140,
|
||||
vr_lock_mode: VrLockMode::Head,
|
||||
vr_hud_smoothing: 0.35,
|
||||
brightness: 0.0,
|
||||
contrast: 1.0,
|
||||
gamma: 1.0,
|
||||
@@ -202,6 +204,8 @@ impl FpvEngineController {
|
||||
screen_distance_m: cfg.screen_distance_m,
|
||||
screen_width_m: cfg.screen_width_m,
|
||||
projection_mode: ProjectionMode::from_str(&cfg.projection_mode),
|
||||
vr_lock_mode: VrLockMode::from_str(&cfg.vr_lock_mode),
|
||||
vr_hud_smoothing: cfg.vr_hud_smoothing.clamp(0.0, 1.0),
|
||||
brightness: cfg.video_brightness,
|
||||
contrast: cfg.video_contrast,
|
||||
gamma: cfg.video_gamma,
|
||||
|
||||
Reference in new issue
Block a user