Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix enviroment system loading mechanism (#1842)
* Fix enviroment system loading mechanism Currently, there is an issue with the way the Environment loader plugin loads data. In particular it directly writes to the ECM. While this makes sense intuitively, it does not work in practice as the GUI runs on a client process while systems that use it run on the server. This PR fixes this issue by introducing a topic through which the GUI may load Environment Data on the server. Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> * small changes Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> * Working on porting the visuals Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> * Actually send message for loading from ui to environment preload plugin. Visuallization still goes 💥 Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Rewrite EnvironmentVisualization Widget to be simpler. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * fix crashes. Vis still not working Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Get a different 💥 Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Works some times. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fixed synchronization issues. Now left with one more crash that needs debugging when "play" is hit. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * No more 💥s 🎉 Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * style Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Sprinkled with healthy dose of Doxygen Also refactored the visualization tool out. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Style Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * More style fixes Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fix Typo with unit map Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Address PR feedback Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Style fixes Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fix incorrect use of path. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fix example loading issues. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * style Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Update src/systems/environment_preload/VisualizationTool.cc Co-authored-by: Mabel Zhang <mabel@openrobotics.org> Signed-off-by: Arjo Chakravarty <arjo129@gmail.com> * Adds a warning regarding loading plugins. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Automatically loads plugin if missing This commit automatically loads the environment preload plugin if it is missing. Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Address some feedback I missed Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Address some feedback Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fixes issue described by @iche033. However fix depends on gazebosim/gz-math#551 Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * style Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> * Fixed failing tests Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> --------- Signed-off-by: Arjo Chakravarty <arjo@openrobotics.org> Signed-off-by: Arjo Chakravarty <arjoc@intrinsic.ai> Signed-off-by: Arjo Chakravarty <arjo129@gmail.com> Co-authored-by: Michael Carroll <mjcarroll@intrinsic.ai> Co-authored-by: Mabel Zhang <mabel@openrobotics.org> Co-authored-by: Ian Chen <ichen@openrobotics.org>
- Loading branch information