The plugin for class ""Submaps" failed to load

783 views
Skip to first unread message

Elbert Huang

unread,
Feb 18, 2017, 2:36:13 AM2/18/17
to google-cartographer
All things look fine except Rviz when I run the 3D demon. The scan matched point clouds look fine, TF works well, submaps can be generated according to the printout.
However, the ""map" frame cannot be loaded properly. The error is as follows:

PluginlibFactory: The plugin for class "Submaps" failed to load. Error: Failed to load library /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code,  that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so: undefined symbol: _ZTVN17cartographer_rviz14DrawableSubmapE)

I noticed there were double slashes between lib and libcartographer_rviz.so. How could that happen? Does anyone get the same problem?

Elbert Huang

Holger Rapp

unread,
Feb 20, 2017, 3:59:24 AM2/20/17
to Elbert Huang, google-cartographer
​First guess would be: you are building against one version of rvize (maybe indigo) and try running another (maybe kinetic). Otherwise it is hard to say what the problem could be.​


--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsub...@googlegroups.com.
To post to this group, send email to google-cartographer@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cartographer/9832931d-75ab-417b-94e3-1e275837c7de%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Google Germany GmbH
Erika-Mann-Straße 33
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle


Message has been deleted

Elbert Huang

unread,
Feb 20, 2017, 6:34:32 AM2/20/17
to google-cartographer, huangy...@gmail.com
Hi, Holger:

  Thanks for your reply.

  It seems the version of rviz is probably the main reanson. Because I am using jade. I forgot to mention that. Docs said only indigo and kinetic were supported. 
  Is there any chance that I can use it in jade? Could you provide some advices?
  
  Be well
  Elbert Huang


On Monday, February 20, 2017 at 4:59:24 PM UTC+8, Holger Rapp wrote:
​First guess would be: you are building against one version of rvize (maybe indigo) and try running another (maybe kinetic). Otherwise it is hard to say what the problem could be.​

On Sat, Feb 18, 2017 at 8:36 AM, Elbert Huang <huangy...@gmail.com> wrote:
All things look fine except Rviz when I run the 3D demon. The scan matched point clouds look fine, TF works well, submaps can be generated according to the printout.
However, the ""map" frame cannot be loaded properly. The error is as follows:

PluginlibFactory: The plugin for class "Submaps" failed to load. Error: Failed to load library /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code,  that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so: undefined symbol: _ZTVN17cartographer_rviz14DrawableSubmapE)

I noticed there were double slashes between lib and libcartographer_rviz.so. How could that happen? Does anyone get the same problem?

Elbert Huang

--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsub...@googlegroups.com.
To post to this group, send email to google-ca...@googlegroups.com.

Holger Rapp

unread,
Feb 22, 2017, 4:16:44 AM2/22/17
to Elbert Huang, google-cartographer
On Mon, Feb 20, 2017 at 12:34 PM, Elbert Huang <huangy...@gmail.com> wrote:
Hi, Holger:

  Thanks for your reply.

  It seems the version of rviz is probably the main reanson. Because I am using jade. I forgot to mention that. Docs said only indigo and kinetic were supported. 
  Is there any chance that I can use it in jade? Could you provide some advices?

​We never tried with jade - it might require changes to the code base to support that. If you want to make these, I would totally review a pull request for this. Another alternative would be to run Cartographer inside a docker container that runs kinetic.​

​​
  
  Be well
  Elbert Huang

On Monday, February 20, 2017 at 4:59:24 PM UTC+8, Holger Rapp wrote:
​First guess would be: you are building against one version of rvize (maybe indigo) and try running another (maybe kinetic). Otherwise it is hard to say what the problem could be.​

On Sat, Feb 18, 2017 at 8:36 AM, Elbert Huang <huangy...@gmail.com> wrote:
All things look fine except Rviz when I run the 3D demon. The scan matched point clouds look fine, TF works well, submaps can be generated according to the printout.
However, the ""map" frame cannot be loaded properly. The error is as follows:

PluginlibFactory: The plugin for class "Submaps" failed to load. Error: Failed to load library /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so. Make sure that you are calling the PLUGINLIB_EXPORT_CLASS macro in the library code,  that names are consistent between this macro and your XML. Error string: Could not load library (Poco exception = /home/elbert/google_slam/install_isolated/lib//libcartographer_rviz.so: undefined symbol: _ZTVN17cartographer_rviz14DrawableSubmapE)

I noticed there were double slashes between lib and libcartographer_rviz.so. How could that happen? Does anyone get the same problem?

Elbert Huang

--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsubscribe...@googlegroups.com.
Google Germany GmbH
Erika-Mann-Straße 33
80331 München

Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Geschäftsführer: Matthew Scott Sucherman, Paul Terence Manicle


--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsub...@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Elbert Huang

unread,
Feb 22, 2017, 9:39:48 PM2/22/17
to google-cartographer
Hi, Holger

It will be great if you review a pull request. Thank you sooooooooooooooo much.

Be well
Elbert Huang

Holger Rapp

unread,
Feb 23, 2017, 3:37:58 AM2/23/17
to Elbert Huang, google-cartographer
On Thu, Feb 23, 2017 at 3:39 AM, Elbert Huang <huangy...@gmail.com> wrote:
Hi, Holger

It will be great if you review a pull request. Thank you sooooooooooooooo much.

​You have to write and sent it first though :)​

​​

--
You received this message because you are subscribed to the Google Groups "google-cartographer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cartographer+unsub...@googlegroups.com.
To post to this group, send email to google-cartographer@googlegroups.com.

For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages