File tree Expand file tree Collapse file tree 2 files changed +2
-3
lines changed 
src/frontend/components/TrackMap Expand file tree Collapse file tree 2 files changed +2
-3
lines changed Original file line number Diff line number Diff line change @@ -35,8 +35,7 @@ export interface TrackDrawing {
3535// currently its a bit messy with the turns, so we disable them for now 
3636const  ENABLE_TURNS  =  false ; 
3737
38- // Optimized update intervals - reduce from 2fps to 10fps for smoother updates 
39- const  POSITION_UPDATE_INTERVAL  =  100 ;  // 10fps instead of 2fps 
38+ const  POSITION_UPDATE_INTERVAL  =  100 ; 
4039const  RENDER_THROTTLE_MS  =  16 ;  // ~60fps for rendering 
4140
4241const  TRACK_DRAWING_WIDTH  =  1920 ; 
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ export const useDriverProgress = () => {
1313  const  drivers  =  useSessionDrivers ( ) ; 
1414  const  driversLapDist  =  useTelemetryValuesMapped < number [ ] > ( 
1515    'CarIdxLapDistPct' , 
16-     ( val )  =>  Math . round ( val  *  100 )  /  100  // Reduce precision to 2 decimal places to minimize unnecessary updates 
16+     ( val )  =>  Math . round ( val  *  1000 )  /  1000  // Reduce precision to 2 decimal places to minimize unnecessary updates 
1717  ) ; 
1818
1919  // Throttled state to reduce update frequency 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments