-
Notifications
You must be signed in to change notification settings - Fork 79
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
Port the ros bridge to galactic #279
Port the ros bridge to galactic #279
Conversation
Hi @mateusz-lichota, Thanks a lot! I'll try to build and run this version later today. Is there a specific reason why the fs_msgs are copied? Other wise we just make it a submodule aswell |
The fs_msgs are copied because they are now built with ament_cmake and rosidl_generators instead of catkin, so we cannot reuse the exact same repo as a submodule, and cannot make changes to the fs_msgs repo because it would break compatibility with the ros1 version. If we want this to be a submodule, we could either make a new repo called fs_msgs2 or a 'ros2' branch on the fs_msgs repo, and I'm rather leaning towards having a new branch, because a large majority of the messages code is unchanged |
I agree, let's make it a separate branch, both will also be a lot easier to merge, since there is not a lot of code anyway |
I don't think I can make a separate branch in the fs_msgs repo, as I'm not a collaborator there. Would you mind creating it (as an exact copy of master), so that I can make a pull request to that branch? |
I don't have the right permissions either, @davidoort or @SijmenHuizenga would you be able to add a ros2 branch to the fs_msgs repo? |
Nice work here! @wouter-heerwegh you should have an invitation for access to the fs_msgs repo. With that you should be able to create branches and such. |
Thanks @SijmenHuizenga! @mateusz-lichota a ros2 branch has been made, so you can go ahead and make a pull request |
Just built and tested basic running of the simulator, I had 2 issues for now:
I do not have a lot of experience with ROS2 so feel free to educate me 😄 |
I've had the setup.bash issue you describe. Surprisingly, running local_setup.bash fixed it for me. I've had this issue in another project and never figured out how to solve it, or even what causes it. |
I've made a few improvements. In the commit order:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found why the package kept not getting found. The directory to the package did not get added in the AMENT_PREFIX_PATH, which needs an export in the package.xml file.
I haven't been able to test all the sensors yet, but as far as I can see, everything looks fine. So unless @mateusz-lichota you've still got any comments, we can merge this 😄
This was an experiment that shouldn't have ended up on gihtub
I've reverted settings.json to what they were before I accidentally overwrote them. Other than that, that's all from me and we're ready to merge. |
This is my initial attempt at porting the ros bridge to galactic. Noteworthy changes:
On the upside, the whole build is now purely ROS2, without any bridging, catkin or other ROS1 dependencies.
From my initial tests, the lidar, imu, gps, transforms, cameras and sending control commands work. Try it out and lmk if there's something I missed.