for the GraphicsServer, expose a sync transform interval: only synchronize the transform once the stepSimulation exceeds this time interval.
(for example, run the simulation at 1kHz but sync the graphics transforms to remove graphics server at 30Hz)
This commit is contained in:
@@ -908,6 +908,7 @@ enum InternalOpenGLVisualizerUpdateFlags
|
||||
COV_SET_LIGHT_POSITION = 4,
|
||||
COV_SET_SHADOWMAP_RESOLUTION = 8,
|
||||
COV_SET_SHADOWMAP_WORLD_SIZE = 16,
|
||||
COV_SET_REMOTE_SYNC_TRANSFORM_INTERVAL = 32,
|
||||
};
|
||||
|
||||
struct ConfigureOpenGLVisualizerRequest
|
||||
@@ -919,6 +920,7 @@ struct ConfigureOpenGLVisualizerRequest
|
||||
double m_lightPosition[3];
|
||||
int m_shadowMapResolution;
|
||||
int m_shadowMapWorldSize;
|
||||
double m_remoteSyncTransformInterval;
|
||||
int m_setFlag;
|
||||
int m_setEnabled;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user