-
Notifications
You must be signed in to change notification settings - Fork 3
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
How to run demo_in_ros.py? #5
Comments
My goal in implementing the If you want to run the script, you can download the KITTI dataset and generate the rosbag with some open source tools (for example, kitti2bag). When playing the rosbag, the two rostopics As for your own rosbag, I think you'll need to study the code and implement a new |
Hi shangjie-li, Thank you so much for your useful comments and suggestions. |
Hi. Could you please let me know whether it worked in ROS2 Humble and Ubuntu 22.04 because I want to try the same. Thank you. |
Hi, |
Hi Abbas. Thanks a lot for the update. I will let you know if I try this. |
Hi Prabuddhi-05, I hope you are doing well. I was wondering if you've had a chance to run PointPillars on ROS2. Please let me know and thank you! |
Hi everyone, I was wondering if you guys already solve the PointPillars with Ros2 Humble or not. I also learn to run PointPillars in Ros2. Let me know and thank you! |
Hi shangjie-li,
I am new to use Ros. I have installed Ros2 Humble on my Ubuntu 22.04. In order to run the code on Ros2, I think I should create a Ros2 package using
demo_in_ros.py
. Then, copy all other folders and python codes from Pointpillars to the Ros2 package (indemo_in_ros.py
folder).I have a Pointcloud2 message (
ros2 bag play ousterbag/SegmentedandFiltered_0.db3 -l
) and topic (ros2 topic echo /ouster_front/filtered_obstacle_points
) running on two different Ros2 terminals. I think I need to replace/ouster_front/filtered_obstacle_points
in the code (line 54 (sub_lidar)), replacerospy
module withrclpy
(for Ros2), replace line 22 withsys.path.remove('/opt/ros/humble/lib/python3.10/site-packages')
,and modify otherarg parameters
.Also, since I do not have 2D images and calibration files, comment all
sub_image
andclib_file
lines in the code.Is this procedure correct? Which other lines should I change to run the code on Ros2?
Thank you for your help.
Abbas
The text was updated successfully, but these errors were encountered: