Giter Club home page Giter Club logo

Comments (8)

m4nh avatar m4nh commented on July 26, 2024

@BrunoEduardoCSantos it is useful to obtain a full debug stack to understand the problem.

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024
[New Thread 0x7fffed930700 (LWP 13076)]
[New Thread 0x7fffed12f700 (LWP 13077)]
[New Thread 0x7fffec92e700 (LWP 13078)]
[New Thread 0x7fffe7fff700 (LWP 13090)]
[ INFO] [1540826627.666582571]: main: instantiating an object of type ExampleRosClass
[ INFO] [1540826627.667948509]: Initializing Subscribers
[ INFO] [1540826627.673202219]: main: going into spin; let the callbacks do all the work
[New Thread 0x7fffe77fe700 (LWP 13157)]
[New Thread 0x7fffe6ffd700 (LWP 13647)]
[New Thread 0x7fffe67fc700 (LWP 13648)]
[New Thread 0x7fffe5ffb700 (LWP 13649)]

Thread 1 "skimap_path_pla" received signal SIGSEGV, Segmentation fault.
0x0000000000475561 in skimap::SkipListMapV2<skimap::VoxelDataRGBW<short, unsigned short>, short, float, 8, 8, 8>::integrateVoxel(short, short, short, skimap::VoxelDataRGBW<short, unsigned short>*) ()

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024

@m4nh like this? Or is there any gdb option to provide more detail?
Thanks.

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024
---Type <return> to continue, or q <return> to quit---
ng, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>&, boost::_bi::list1<boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>&, int) ()
#5  0x000000000048392f in void boost::_bi::bind_t<void, boost::_mfi::mf1<void, SkimapPathPlanning, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>, boost::_bi::list2<boos
t::_bi::value<SkimapPathPlanning*>, boost::arg<1> > >::operator()<boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>(boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocat
or<void> > const> const&) ()
#6  0x0000000000480594 in boost::detail::function::void_function_obj_invoker1<boost::_bi::bind_t<void, boost::_mfi::mf1<void, SkimapPathPlanning, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator
<void> > const> const&>, boost::_bi::list2<boost::_bi::value<SkimapPathPlanning*>, boost::arg<1> > >, void, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>::invoke(boost:
:detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&) ()
---Type <return> to continue, or q <return> to quit---
#7  0x000000000048848d in boost::function1<void, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>::operator()(boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<vo
id> > const> const&) const ()
#8  0x00000000004860b6 in boost::detail::function::void_function_obj_invoker1<boost::functio
#7  0x000000000048848d in boost::function1<void, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&>::operator()(boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<vo
id> > const> const&) const ()
#8  0x00000000004860b6 in boost::detail::function::void_function_obj_invoker1<boost::function<void (boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&)>, void, boost::shared_
ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> >::invoke(boost::detail::function::function_buffer&, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const>) ()
#9  0x000000000048f2d0 in boost::function1<void, boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> >::operator()(boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> >
const>) const ()
#10 0x000000000048ca6d in ros::SubscriptionCallbackHelperT<boost::shared_ptr<sensor_msgs::PointCloud2_<std::allocator<void> > const> const&, void>::call(ros::SubscriptionCallbackHelperCallParams&) ()
#11 0x00007ffff78c5d8d in ros::SubscriptionQueue::call() () from /opt/ros/kinetic/lib/libroscpp.so
#12 0x00007ffff786b838 in ros::CallbackQueue::callOneCB(ros::CallbackQueue::TLS*) () from /opt/ros/kinetic/lib/libroscpp.so
#13 0x00007ffff786d23b in ros::CallbackQueue::callAvailable(ros::WallDuration) () from /opt/ros/kinetic/lib/libroscpp.so
#14 0x00007ffff78c9e39 in ros::SingleThreadedSpinner::spin(ros::CallbackQueue*) () from /opt/ros/kinetic/lib/libroscpp.so
#15 0x00007ffff78aee9b in ros::spin() () from /opt/ros/kinetic/lib/libroscpp.so
#16 0x00000000004692fd in main ()

from skimap_ros.

m4nh avatar m4nh commented on July 26, 2024

@BrunoEduardoCSantos this is not related with Skimap, it is a bug related to your code.

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024

@m4nh Related with PointCloud2Message problem?

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024

Thanks for your feedback.

from skimap_ros.

brunoeducsantos avatar brunoeducsantos commented on July 26, 2024

So, I found the solution: the map resolution was too low. The resolution should be at least 0.05.

from skimap_ros.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.