You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In another package (my_package_2), I created an instance of costmap2DROS as
costmap_ = new costmap_2d::Costmap2DROS("costmap", tf_);
Once plugin_loader_.createInstance() is called in costmap2dROS pluginlib first loads costmap_2d plugins properly. However once it wants to load my_costmap::SpecifiedCostLayer, my_costmap_layer.so is found but I get a SIGABRT with the follwing error
ERROR: flag 'log_prefix' was defined more than once (in files 'src/base/logging.cc' and 'src/logging.cc').
my_package_2: /usr/include/boost/thread/pthread/recursive_mutex.hpp:104: boost::recursive_mutex::~recursive_mutex(): Assertion `!pthread_mutex_destroy(&m)' failed.
Any idea?
The text was updated successfully, but these errors were encountered:
I have two packages that I define my plugins in them, costmap_2d, and my_costmap. Plugin files in my_costmap package are as below
my_costmap_plugins.xml:
package.xml
specified_cost_layer.cpp
Added
PLUGINLIB_EXPORT_CLASS(my_costmap::SpecifiedCostLayer, costmap_2d::Layer)
In another package (my_package_2), I created an instance of costmap2DROS as
Once
plugin_loader_.createInstance()
is called in costmap2dROS pluginlib first loads costmap_2d plugins properly. However once it wants to load my_costmap::SpecifiedCostLayer, my_costmap_layer.so is found but I get a SIGABRT with the follwing errorAny idea?
The text was updated successfully, but these errors were encountered: