Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve load times by skipping serialization of entities when unecess…
…ary. (#2596) * A hack to greatly improve load times I was investigating gazebosim/gazebo_test_cases#1576 , in my investigation it came to my notice that `sdf::Element` takes forever to destroy (We should open a ticket somewhere about this). If we are skipping serialization we might as well not create and destroy an SDF Element. This hack greatly speeds up the load time for gazebo. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Remove magic word Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Send empty string instead of using sentinel value. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Style Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * fix custom sensor system example build (#2649) Signed-off-by: Ian Chen <ichen@openrobotics.org> * remove stray change Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> --------- Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> Signed-off-by: Ian Chen <ichen@openrobotics.org> Co-authored-by: Ian Chen <ichen@openrobotics.org>
- Loading branch information