Visualising lidar Point Cloud
I am trying to visualize a point cloud of the lidar so I used the file in the Gazebo Garden tutorials (link: https://gazebosim.org/docs/garden/sen...) and I added these two lines for the Vsiualize Lidar plugin
<plugin filename="gui/libVisualizeLidar.so"
name="gz::sim::v7::VisualizeLidar">
</plugin>
but when I run the simulation, I get a segmentation fault that looks like this:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Stack trace (most recent call last):
#31 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3b9eea327, in
#30 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba07f31c, in rb_vm_exec
#29 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba079ca6, in
#28 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba076fd5, in
#27 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba074c44, in
#26 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3b9fc0a2e, in
#25 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3b9eeb9bc, in rb_protect
#24 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba083c71, in rb_yield
#23 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba07f31c, in rb_vm_exec
#22 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba079ca6, in
#21 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba076fd5, in
#20 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba074c44, in
#19 Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7fa3b566444b, in
#18 Object "/lib/x86_64-linux-gnu/libruby-3.0.so.3.0", at 0x7fa3ba042098, in rb_nogvl
#17 Object "/usr/lib/x86_64-linux-gnu/ruby/3.0.0/fiddle.so", at 0x7fa3b5663d6b, in
#16 Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7fa3b5603492, in
#15 Object "/lib/x86_64-linux-gnu/libffi.so.8", at 0x7fa3b5606e2d, in
#14 Object "/home/mariam/workspace/install/lib/libgz-sim7-gz.so.7.1.0", at 0x7fa3b4b56957, in runServer
#13 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b47a2b59, in
gz::sim::v7::Server::Server(gz::sim::v7::ServerConfig const&)
#12 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b47b00ba, in
#11 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b47c11a7, in
gz::sim::v7::SimulationRunner::SimulationRunner(sdf::v13::World const*, std::shared_ptr<gz::sim::v7::SystemLoader>
const&, gz::sim::v7::ServerConfig const&)
#10 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b473dded, in
gz::sim::v7::LevelManager::LevelManager(gz::sim::v7::SimulationRunner*, bool)
#9 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b473c8a1, in
gz::sim::v7::LevelManager::ReadLevelPerformerInfo()
#8 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b4747c16, in void
gz::common::EventT<void (unsigned long, std::vector<sdf::v13::Plugin, std::allocator<sdf::v13::Plugin> >),
gz::sim::v7::events::LoadPluginsTag>::Signal<unsigned long&, std::vector<sdf::v13::Plugin,
std::allocator<sdf::v13::Plugin> > const&>(unsigned long&, std::vector<sdf::v13::Plugin,
std::allocator<sdf::v13::Plugin> > const&)
#7 Object "/home/mariam/workspace/install/lib/libgz-sim7.so.7", at 0x7fa3b47ba618, in
gz::sim::v7::SimulationRunner ...