slam_gmapping icon indicating copy to clipboard operation
slam_gmapping copied to clipboard

ROS2 eloquent

Open Repp-cattt opened this issue 3 years ago • 13 comments

Can I use it in the eloquent version of ros2? Or is there any other way for me to successfully build a map in ROS2?

Repp-cattt avatar Mar 15 '21 05:03 Repp-cattt

Yes. Please check the eloquent-devel branch.

shiveshkhaitan avatar Mar 15 '21 06:03 shiveshkhaitan

But when I use git clone to add eloquent-devel branch to download failed, in the source code did not find the version of eloquent, when I modified the source code compilation passed, but can not start the launch.py file normally, the error prompt that did not find the slam_gmapping package, this is why?

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月15日(星期一) 下午2:28 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

Yes. Please check the eloquent-devel branch.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 15 '21 06:03 Repp-cattt

I just added the eloquent-devel branch. Please try cloning the repo again.

shiveshkhaitan avatar Mar 15 '21 06:03 shiveshkhaitan

My download order is https://github.com/Project-MANAS/slam_gmapping My download order is git clone https://github.com/Project-MANAS/slam_gmapping --branch ros-eloquent-devel,I have also tried another method, that is git clone https://github.com/Project-MANAS/slam_gmapping/eloquent-devel  ,They all failed.

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月15日(星期一) 下午2:33 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

I just added the eloquent-devel branch. Please try cloning the repo again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 15 '21 06:03 Repp-cattt

This command should work: git clone https://github.com/Project-MANAS/slam_gmapping. Please try again.

shiveshkhaitan avatar Mar 15 '21 06:03 shiveshkhaitan

But your instruction did not specify a branch. I did use this instruction to download. When I finished compiling and wanted to run it, the system reported an error and did not find the slam_gmapping package.  In addition, I would like to ask a question, does this have anything to do with my inability to compile openslam_gmapping?

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月15日(星期一) 下午2:43 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

This command should work: git clone https://github.com/Project-MANAS/slam_gmapping. Please try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 15 '21 06:03 Repp-cattt

Yes I did not specify a branch because I have made eloquent-devel the default branch. You are probably getting error because that branch did not exist when you cloned the repo. That is why I am suggesting you to clone the repo once again.

Yes slam_gmapping requires openslam_gmapping without which it would not build.

Please remember to source your local workspace source install/setup.zsh after building since ros2 launch does not automatically detect newly built packages.

shiveshkhaitan avatar Mar 15 '21 06:03 shiveshkhaitan

I suddenly found that I could not use this command:  Git clone https://github.com/Project-MANAS/slam_gmapping.  To learn another way in Google, now use instructions:  Git clone git://github.com/Project-MANAS/slam_gmapping.  To download, does this have any effect?

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月15日(星期一) 下午2:43 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

This command should work: git clone https://github.com/Project-MANAS/slam_gmapping. Please try again.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 15 '21 07:03 Repp-cattt

That is ok. Should work as well

shiveshkhaitan avatar Mar 15 '21 07:03 shiveshkhaitan

Thank you for your reply. I'll try again!  I wish you a happy life and smooth work ~ good night

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月15日(星期一) 下午3:11 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

That is ok. Should work as well

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 15 '21 07:03 Repp-cattt

I'm sorry to bother you again, but after I ran the command "ros2 launch slam_gmapping slam_gmapping.launch.py", the expected map did not appear. Do I need to configure another radar topic / scan and odometer / odom topic?

Repp-cattt avatar Mar 17 '21 09:03 Repp-cattt

Yes. As already mentioned in the README.md, it would require laser scans on topic /scan and the transforms (tf) between odom -> base_link -> base_scan_link.

shiveshkhaitan avatar Mar 17 '21 09:03 shiveshkhaitan

I have changed the corresponding topic and transforms (tf), but when I run the "slam_gmapping.launch.py" file, I still can't see the map in rviz. Is it because I lack the robot_pose_ekf feature pack?  Later, I tried to use robot_pose_ekf in ros1 with gmapping through ros1_bridge, but I couldn't get the expected results.  I really can't figure out what went wrong.  I'm so sad.(:」∠)_

------------------ 原始邮件 ------------------ 发件人: "Project-MANAS/slam_gmapping" @.>; 发送时间: 2021年3月17日(星期三) 下午5:54 @.>; @.@.>; 主题: Re: [Project-MANAS/slam_gmapping] ROS2 eloquent (#4)

Yes. As already mentioned in the README.md, it would require laser scans on topic /scan and the transforms (tf) between odom -> base_link -> base_scan_link.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

Repp-cattt avatar Mar 22 '21 07:03 Repp-cattt