-
Notifications
You must be signed in to change notification settings - Fork 68
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
fix bugs for Ubuntu 20.04 and ROS noetic #1
Comments
我用起来没什么问题,我的issue上还有一个问题,需要在一buildReferenceFromStates那个函数后面添加一个return true,这个不改在高版本C++里面会导致程序崩溃 |
I add return true to the function you mentioned but I still had the error after putting the goal pose. I think there is a segment fault in my Ubuntu 20 in Release mode. I have the results in Debug mode via modifying CMakeLists.txt. |
You could try replacing "/path_optimizer/test/demo.cpp" with |
@BorisVandermeer Still not working changing demo.cpp in Release mode. I think some params are not initialized, which results in the segment fault. In debug mode, it works well in Ubuntu 16.04 ros kinetic. |
@BorisVandermeer you can modify the "/map" to "map" in the demo.cpp |
demonode.cpp around line 135
In ROS noetic , It seems that a "mark_frame_id" can't be named begin with '/'
In reference_path_impl.cpp , In function ' buildReferenceFromStates ' around the tenth line from the bottom
" return true " is forgotten by mistake, which lead to a mistake like :
" double free or corruption (!prev) " or " free(): double free detected in tcache 2 "
Interestingly, in Ubuntu 16.04 or older this function seems to return true by default.
The text was updated successfully, but these errors were encountered: