Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OGRE Exception #17

Open
repa1030 opened this issue Jun 1, 2021 · 1 comment
Open

OGRE Exception #17

repa1030 opened this issue Jun 1, 2021 · 1 comment

Comments

@repa1030
Copy link

repa1030 commented Jun 1, 2021

Hello,

I successfully run the example and also a custom lanelet map and visualized them in RVIZ but as soon as I add some other objects to RVIZ and saved the config, I receive an error during the next start.

The error that I received from RVIZ:
Error during map element creation: OGRE EXCEPTION(4:ItemIdentityException): An object of type 'ManualObject' with name 'llet_object_0' already exists. in SceneManager::createMovableObject at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreSceneManager.cpp (line 6829)

I changed nothing in the LaneletMapPlugin object in RVIZ, just added some marker arrays.
Thank you for your help.

@repa1030
Copy link
Author

repa1030 commented Jun 4, 2021

EDIT: This error also occurs if I am just changing the window size of RVIZ and save the config. Setup: Ubuntu 20.04, ROS Noetic

git diff output:

@@ -8,7 +8,7 @@ Panels:
         - /LaneletMapPlugin1
         - /LaneletMapPlugin1/Visibility of Map1
       Splitter Ratio: 0.5
-    Tree Height: 565
+    Tree Height: 549
   - Class: rviz/Selection
     Name: Selection
   - Class: rviz/Tool Properties
@@ -17,7 +17,7 @@ Panels:
       - /2D Nav Goal1
       - /Publish Point1
     Name: Tool Properties
-    Splitter Ratio: 0.588679016
+    Splitter Ratio: 0.5886790156364441
   - Class: rviz/Views
     Expanded:
       - /Current View1
@@ -29,6 +29,10 @@ Panels:
     Name: Time
     SyncMode: 0
     SyncSource: ""
+Preferences:
+  PromptSaveOnExit: true
+Toolbars:
+  toolButtonStyle: 2
 Visualization Manager:
   Class: ""
   Displays:
@@ -38,7 +42,7 @@ Visualization Manager:
       Color: 160; 160; 164
       Enabled: false
       Line Style:
-        Line Width: 0.0299999993
+        Line Width: 0.029999999329447746
         Value: Lines
       Name: Grid
       Normal Cell Count: 0
@@ -55,13 +59,26 @@ Visualization Manager:
       Name: LaneletMapPlugin
       Value: true
       Visibility of Map:
-        Linewidth: 0.300000012
-        Linewidth Separators: 0.300000012
-        Linewidth Stop Lines: 0.300000012
+        Border linewidth of Parking Areas: 0.30000001192092896
+        Border linewidth of non-Parking Areas: 1
+        Character Height: 1
+        Color Left Boundaries: 120; 120; 120
+        Color Parking Areas: 0; 85; 255
+        Color Right Boundaries: 120; 120; 120
+        Color Separators: 25; 75; 250
+        Color Stop Lines: 250; 10; 10
+        Color non-Parking Areas: 252; 175; 62
+        Fill out Parking Areas?: true
+        Fill out non-Parking Areas?: true
+        Linewidth Boundaries: 0.30000001192092896
+        Linewidth Separators: 0.30000001192092896
+        Linewidth Stop Lines: 0.30000001192092896
         Value: true
         Visibility of Lanelet Seperators: true
         Visibility of LaneletIds: true
+        Visibility of Parking Areas: true
         Visibility of Regulatory Elements (e.g. Stop Lines): true
+        Visibility of non-Parking Areas: true
   Enabled: true
   Global Options:
     Background Color: 48; 48; 48
@@ -77,7 +94,10 @@ Visualization Manager:
     - Class: rviz/FocusCamera
     - Class: rviz/Measure
     - Class: rviz/SetInitialPose
+      Theta std deviation: 0.2617993950843811
       Topic: /initialpose
+      X std deviation: 0.5
+      Y std deviation: 0.5
     - Class: rviz/SetGoal
       Topic: /move_base_simple/goal
     - Class: rviz/PublishPoint
@@ -87,25 +107,25 @@ Visualization Manager:
   Views:
     Current:
       Class: rviz/Orbit
-      Distance: 227.044769
+      Distance: 227.04476928710938
       Enable Stereo Rendering:
-        Stereo Eye Separation: 0.0599999987
+        Stereo Eye Separation: 0.05999999865889549
         Stereo Focal Distance: 1
         Swap Stereo Eyes: false
         Value: false
+      Field of View: 0.7853981852531433
       Focal Point:
-        X: 506.589172
-        Y: -1271.90332
+        X: 506.58917236328125
+        Y: -1271.9033203125
         Z: 0
       Focal Shape Fixed Size: false
-      Focal Shape Size: 0.0500000007
+      Focal Shape Size: 0.05000000074505806
       Invert Z Axis: false
+        Linewidth Separators: 0.30000001192092896
+        Linewidth Stop Lines: 0.30000001192092896
         Value: true
         Visibility of Lanelet Seperators: true
         Visibility of LaneletIds: true
+        Visibility of Parking Areas: true
         Visibility of Regulatory Elements (e.g. Stop Lines): true
+        Visibility of non-Parking Areas: true
   Enabled: true
   Global Options:
     Background Color: 48; 48; 48
@@ -77,7 +94,10 @@ Visualization Manager:
     - Class: rviz/FocusCamera
     - Class: rviz/Measure
     - Class: rviz/SetInitialPose
+      Theta std deviation: 0.2617993950843811
       Topic: /initialpose
+      X std deviation: 0.5
+      Y std deviation: 0.5
     - Class: rviz/SetGoal
       Topic: /move_base_simple/goal
     - Class: rviz/PublishPoint
@@ -87,25 +107,25 @@ Visualization Manager:
   Views:
     Current:
       Class: rviz/Orbit
-      Distance: 227.044769
+      Distance: 227.04476928710938
       Enable Stereo Rendering:
-        Stereo Eye Separation: 0.0599999987
+        Stereo Eye Separation: 0.05999999865889549
         Stereo Focal Distance: 1
         Swap Stereo Eyes: false
         Value: false
+      Field of View: 0.7853981852531433
       Focal Point:
-        X: 506.589172
-        Y: -1271.90332
+        X: 506.58917236328125
+        Y: -1271.9033203125
         Z: 0
       Focal Shape Fixed Size: false
-      Focal Shape Size: 0.0500000007
+      Focal Shape Size: 0.05000000074505806
       Invert Z Axis: false

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant