Closed 0mdc closed 6 months ago
This changes the gfx-replay Recorder to make the maximum float decimal places configurable.
Recorder
This is an easy way to increase performance of JSON-based systems, as well as making the output text more compact.
Example usage:
sim.gfx_replay_manager.set_max_decimal_places(3) [...] sim.gfx_replay_manager.save_keyframe() keyframe = sim.gfx_replay_manager.write_saved_keyframes_to_string()
Added a unit test, and tested locally on the HITL tool.
Motivation and Context
This changes the gfx-replay
Recorder
to make the maximum float decimal places configurable.This is an easy way to increase performance of JSON-based systems, as well as making the output text more compact.
Example usage:
How Has This Been Tested
Added a unit test, and tested locally on the HITL tool.
Types of changes
Checklist