Skip to content
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

The following error occurred while running the code: 'cv::OutputArray::create(cv::Size<int>, int, int, bool, cv::_OutputArray::DepthMask) const #23

Open
nanbwrn opened this issue Nov 12, 2024 · 0 comments

Comments

@nanbwrn
Copy link

nanbwrn commented Nov 12, 2024

Has anyone encountered this issue? I would greatly appreciate any insights or assistance. Thank you!

I only modified the topic names as needed and added print statements, without changing any other parts of the code. After following the tutorial steps to start the simulation, this error appeared in the terminal. How can I resolve it? When setting a target point in RViz, no path is generated in RViz, and the robot's collision volume and reachable volume do not move as expected.

error:
cv::OutputArray::create(cv::Size, int, int, bool, cv::_OutputArray::DepthMask) const () from /lib/aarch64-linux-gnu/libopencv_core.so.4.2

The detailed content is as follows:
0x0000fffff64713a4 in cv::OutputArray::create(cv::Size, int, int, bool, cv::_OutputArray::DepthMask) const () from /lib/aarch64-linux-gnu/libopencv_core.so.4.2
(gdb) bt

#0 0x0000fffff64713a4 in cv::OutputArray::create(cv::Size, int, int, bool, cv::_OutputArray::DepthMask) const ()
from /lib/aarch64-linux-gnu/libopencv_core.so.4.2
#1 0x0000fffff612876c in cv::morphOp(int, cv::_InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Point, int, int, cv::Scalar const&) () from /lib/aarch64-linux-gnu/libopencv_imgproc.so.4.2
#2 0x0000fffff6128f84 in cv::dilate(cv::_InputArray const&, cv::OutputArray const&, cv::InputArray const&, cv::Point, int, int, cv::Scalar const&) () from /lib/aarch64-linux-gnu/libopencv_imgproc.so.4.2
#3 0x0000fffff7987684 in art_planner::dilateAndErodeMatrix(Eigen::Matrix<float, -1, -1, 0, -1, -1> const&, int) ()
from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner.so
#4 0x0000fffff7977770 in art_planner::processors::Basic::setMaskedElevationAndTraversability(std::unique_ptr<grid_map::GridMap, std::default_delete<grid_map::GridMap> > const&) ()
from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner.so
#5 0x0000fffff7979178 in art_planner::processors::Basic::operator()(std::unique_ptr<grid_map::GridMap, std::default_delete<grid_map::GridMap> > const&) ()
from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner.so
#6 0x0000fffff797509c in art_planner::Map::setMap(std::unique_ptr<grid_map::GridMap, std::default_delete<grid_map::GridMap> >&&) ()
from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner.so
--Type for more, q to quit, c to continue without paging--c
#7 0x0000fffff797bc80 in art_planner::Planner::setMap(std::unique_ptr<grid_map::GridMap, std::default_delete<grid_map::GridMap> >&&) () from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner.so
#8 0x0000fffff7f65ccc in art_planner::PlannerRos::updateMap() () from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner_ros.so
#9 0x0000fffff7f6759c in art_planner::PlannerRos::updateMapAndPlanFromCurrentRobotPose(ompl::base::ScopedStateompl::base::StateSpace const&) () from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner_ros.so
#10 0x0000fffff7f6a200 in art_planner::PlannerRos::planFromCurrentRobotPose() () from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner_ros.so
#11 0x0000fffff7f650a8 in art_planner::PlannerRos::planContinuouslyThread() () from /home/ubuntu/disk/catkin_art_planner/devel/lib/libart_planner_ros.so
#12 0x0000fffff7c23f9c in ?? () from /lib/aarch64-linux-gnu/libstdc++.so.6
#13 0x0000fffff6a83624 in start_thread (arg=0xfffff7c23f80) at pthread_create.c:477
#14 0x0000fffff7a9162c in thread_start () at ../sysdeps/unix/sysv/linux/aarch64/clone.S:78
(gdb) q
A debugging session is active.
art_planner1
art_planner0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant