-
Notifications
You must be signed in to change notification settings - Fork 53
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
Ogre2 Implementation for Lidar Visual #116
Conversation
Signed-off-by: Mihir Kulkarni <[email protected]>
Signed-off-by: Mihir Kulkarni <[email protected]>
Signed-off-by: Mihir Kulkarni <[email protected]>
Signed-off-by: Mihir Kulkarni <[email protected]>
@@ -219,7 +219,7 @@ LidarVisualPtr createLidar(ScenePtr _scene) | |||
// LVT_RAY_LINES -> Lines along the lidar sensor to the obstacle | |||
// LVT_TRIANGLE_STRIPS -> Coloured triangle strips denoting hitting and | |||
// non-hitting parts of the scan | |||
lidar->SetType(LidarVisualType::LVT_RAY_LINES); | |||
lidar->SetType(LidarVisualType::LVT_TRIANGLE_STRIPS); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Is there any reason to change this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I did this as LVT_TRIANGLE_STRIPS was the standard visual before ( before we added types, and the only visual in Gazebo Classic), in order to retain the same in the example.
I tried to add another render engine here engineNames.push_back("ogre2"); To be able to change the render engine with Tab, but I'm getting the following error lidar_visual: /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/include/OgreSingleton.h:80: Ogre::Singleton<T>::Singleton() [with T = Ogre::LogManager]: Assertion `!msSingleton' failed. I know this issue is unrelated but do you mind to have a look ? |
@ahcorde Regarding the tests, I think this is a known test failure which is happening on Windows with other tests as well. I'm not sure why this is failing on Windows Even for the previous PRs, the same failure message was seen on Windows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Works well for me.
One minor note: I see this warning msg printed when running the example:
[Wrn] [Ogre2GpuRays.cc:280] Only one vertical ray but vertical min. and max. angle are not equal. Min. angle is used.
Regarding this error when loading I haven't figured out a solution to this issue yet so any help / suggestions welcome. |
Signed-off-by: Mihir Kulkarni <[email protected]>
Hey @mihirk284. I was integrating LidarVisual to ign-rviz and found that |
Signed-off-by: Mihir Kulkarni <[email protected]>
can you fix DCO? instructions in Details next to the DCO check. |
Co-authored-by: Alejandro Hernández Cordero <[email protected]> Signed-off-by: Mihir Kulkarni <[email protected]>
Regarding the |
Signed-off-by: Mihir Kulkarni <[email protected]>
Signed-off-by: Mihir Kulkarni <[email protected]>
Added the Ogre2 implementation for Lidar Visual
Pls see attached screenshots
@iche033
@ahcorde