-
Notifications
You must be signed in to change notification settings - Fork 67
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
Add noetic-devel branch to merge working port to #210
Comments
Good job my friend ! |
@arne48 Thanks for making the changes. Unfortunately, I was not able to get STDR simulation to work on my Ubuntu 20.04 machine with ROS neotic, although I was successful in running STDR simulation on a different machine with Ubuntu 18.04 with ROS melodic. [stdr_server-3] process has died [pid 90787, exit code -11, cmd /home/aabuaish/catkin_ws/devel/lib/stdr_server/stdr_server_node /home/aabuaish/catkin_ws/src/stdr_simulator/stdr_resources/maps/sparse_obstacles.yaml __name:=stdr_server __log:=/home/aabuaish/.ros/log/2e94c504-070f-11ed-afe6-3da9dea6dbb2/stdr_server-3.log].
log file: /home/aabuaish/.ros/log/2e94c504-070f-11ed-afe6-3da9dea6dbb2/stdr_server-3*.log Then, I get an error message $ catkin_make -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
$ catkin_make -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt5 Everything appears to work normally using the provided launch files or by Your help is much much appreciated. |
Thank you for testing this branch @aabuaish. IMPORTANT EDIT: |
Excellent! I will take a closer look at your comments and the error messages. |
Hi there, Sorry for the late follow up. I ended up using my Ubuntu 18.04 machine to use STDR to meet my deadline. However, this week I debugged the code, and the issue is due to the Boost library version. I had versions 1.5x.xx and 1.71.xx on the Ubuntu 18.04 and 20.04 machines, respectively. The code line 638 in file ros::Duration(5.0).toBoost() I simply replaced that ROS-based duration object with the boost duration object boost::posix_time::seconds(5) Now STDR works fine. |
@aabuaish, sorry for the extremely long response time. As said it is good that you found a solution for your problem. I am asking about the root cause because the actual implementation on Noetic for "toBoost" looks like this: roscpp_core/rostime/include/ros/impl/duration.h
So as you can see the produced code should be comparable to yours except the addition of nano/microseconds. I am looking forward to your answer and maybe a small summary of your debugging process. |
I ported the stdr_simulator to noetic and have found no issues so far.
GUI works, Robot adding works, sensor publishing and control via teleop_twist_keyboard works, rviz shows data as expected.
My port is based on the newest indigo-devel.
As QT5 is now used I think it would make sense to create a branch for future versions using QT5.
I would be hesitant to create a PR to indigo-devel because I expect it to break the compatibility with all earlier releases.
My noetic-devel branch can be found here:
https://github.com/arne48/stdr_simulator
Maybe it can be tested from there and if you would like to integrate it, I would be happy to help with that.
The text was updated successfully, but these errors were encountered: