-
Notifications
You must be signed in to change notification settings - Fork 17
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
2D map not appear #5
Comments
Hello @darissa , sorry for the late reply. I hope you succeed running and trying the code. The packages and launches were developed and mostly tested with ROS Kinetic. We provided some portability instructions for the turtlebot2 and TF's for Melodic here https://github.com/verlab/3DSemanticMapping_JINT_2020/blob/master/docs/INSTALL_MELODIC.md. Maybe the map/turtlebot2 TF can be the reason why the 2D occupancy map don't show up. |
Yes, I have followed the installation guide for melodic. Already surrender =D. But went back to your page as I still cannot solve my problem. I have same objective like yours. Just need to replace the config & weight file as I want to detect Tree. Plus I need display Tree in 2D map just like Doors in your 2D map. Please help if you have any idea or link or somewhere that I can refer. Thank you. |
@renatojmsdh Btw, what version opencv do you used? I got error during compile:
I am using opencv-4.5.3. |
Hello @darissa, The opencv version was the one used in darknet_ros package: 2.4.9.1 (it also the one provided by default in the software manager of ubuntu xenial). And there have been indeed strong changes that happened from opencv 2.x to opencv 3.x and to opencv 4.x. I think it is unlike you will be able to install this version of darknet with opencv4.x because of c++11 support required now on. If you can use opencv 3.4 I think these modifications can work for compiling darknet_ros: Please replace the following lines in darknet_ros/darknet_ros/src/YoloObjectDetector.cpp for fixing opencv renamed functions including resizeWindow, namedWindow, ... since opencv 3.x:
if (!demoPrefix_ && viewImage_) {
cv::namedWindow("YOLO V3", cv::WINDOW_NORMAL);
if (fullScreen_) {
cv::setWindowProperty("YOLO V3", cv::WND_PROP_FULLSCREEN, cv::WINDOW_FULLSCREEN);
} else {
cv::moveWindow("YOLO V3", 0, 0);
cv::resizeWindow("YOLO V3", 640, 480);
IplImage* YoloObjectDetector::getIplImage()
{
boost::shared_lock<boost::shared_mutex> lock(mutexImageCallback_);
IplImage ROS_img = cvIplImage(camImageCopy_);
return &ROS_img;
} best |
Were you able to finish the porting process for noetic? I'm attempting to set this on melodic. map frame seems to be missing from tf |
I have the same problem,Were you able to finish the porting process for noetic? |
Same question +1, thank you! |
sorry guys as I was not able to solve this. |
Hi Verlab,
I am new to ROS. I have follow the step by step that you provided. However, on rviz, only tf odom appear. 2D map not generated. I am using ubuntu 18.04, ros Melodic, cuda 10.2.
The text was updated successfully, but these errors were encountered: