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 <[email protected]> * small changes Signed-off-by: Arjo Chakravarty <[email protected]> * Working on porting the visuals Signed-off-by: Arjo Chakravarty <[email protected]> * Actually send message for loading from ui to environment preload plugin. Visuallization still goes 💥 Signed-off-by: Arjo Chakravarty <[email protected]> * Rewrite EnvironmentVisualization Widget to be simpler. Signed-off-by: Arjo Chakravarty <[email protected]> * fix crashes. Vis still not working Signed-off-by: Arjo Chakravarty <[email protected]> * Get a different 💥 Signed-off-by: Arjo Chakravarty <[email protected]> * Works some times. Signed-off-by: Arjo Chakravarty <[email protected]> * Fixed synchronization issues. Now left with one more crash that needs debugging when "play" is hit. Signed-off-by: Arjo Chakravarty <[email protected]> * No more 💥s 🎉 Signed-off-by: Arjo Chakravarty <[email protected]> * style Signed-off-by: Arjo Chakravarty <[email protected]> * Sprinkled with healthy dose of Doxygen Also refactored the visualization tool out. Signed-off-by: Arjo Chakravarty <[email protected]> * Style Signed-off-by: Arjo Chakravarty <[email protected]> * More style fixes Signed-off-by: Arjo Chakravarty <[email protected]> * Fix Typo with unit map Signed-off-by: Arjo Chakravarty <[email protected]> * Address PR feedback Signed-off-by: Arjo Chakravarty <[email protected]> * Style fixes Signed-off-by: Arjo Chakravarty <[email protected]> * Fix incorrect use of path. Signed-off-by: Arjo Chakravarty <[email protected]> * Fix example loading issues. Signed-off-by: Arjo Chakravarty <[email protected]> * style Signed-off-by: Arjo Chakravarty <[email protected]> * Update src/systems/environment_preload/VisualizationTool.cc Co-authored-by: Mabel Zhang <[email protected]> Signed-off-by: Arjo Chakravarty <[email protected]> * Adds a warning regarding loading plugins. Signed-off-by: Arjo Chakravarty <[email protected]> * Automatically loads plugin if missing This commit automatically loads the environment preload plugin if it is missing. Signed-off-by: Arjo Chakravarty <[email protected]> * Address some feedback I missed Signed-off-by: Arjo Chakravarty <[email protected]> * Address some feedback Signed-off-by: Arjo Chakravarty <[email protected]> * Fixes issue described by @iche033. However fix depends on gazebosim/gz-math#551 Signed-off-by: Arjo Chakravarty <[email protected]> * style Signed-off-by: Arjo Chakravarty <[email protected]> * Fixed failing tests Signed-off-by: Arjo Chakravarty <[email protected]> --------- Signed-off-by: Arjo Chakravarty <[email protected]> Signed-off-by: Arjo Chakravarty <[email protected]> Signed-off-by: Arjo Chakravarty <[email protected]> Co-authored-by: Michael Carroll <[email protected]> Co-authored-by: Mabel Zhang <[email protected]> Co-authored-by: Ian Chen <[email protected]>
- Loading branch information