iq_sim icon indicating copy to clipboard operation
iq_sim copied to clipboard

Implementation in ROS2

Open peakyquest opened this issue 2 years ago • 10 comments

Can we use the same gazebo simulation for ros2?

peakyquest avatar Apr 18 '24 09:04 peakyquest

+1 ROS2 uses the colcan build system as well. When I try to build it I get an error due to the dependency on catkin.

dp1140a avatar May 18 '24 19:05 dp1140a

any updates?

abdullah-zmoosa avatar May 28 '24 17:05 abdullah-zmoosa

I am going to work on making a ROS2 compatible version of this package. Ill keep you updated to how far I get, it will be on the ros2-humble branch on my fork of this repo. https://github.com/marksoulier/iq_sim.git

marksoulier avatar Jun 28 '24 21:06 marksoulier

I think I would be able to help you get those updated if you would like some help. Ive been going to town on a few ROS2 courses and feel pretty comfortable

dp1140a avatar Jun 28 '24 22:06 dp1140a

Awesome that would be great. It doesn't look like it will be too bad as we will just need to alter the CMakeLists.txt, package.xml and launch files I believe to be compatible with MAVROS. I would like to convert over the launch files from XML to python launch files which are suggested for ROS2 packages. What are your thoughts?

marksoulier avatar Jun 28 '24 22:06 marksoulier

You know the package better than I do. But definitely migrate the launch files. There is a move to colcon in Humble. I know its a different repo and all but are you also thinking about updating the tutorials as well.?

dp1140a avatar Jun 30 '24 19:06 dp1140a

I know I have not been really been actively maintaining this package. I will admit I haven't used a lot of ROS2 or tried to run any of my stuff in ROS2. I am willing to help test and merge any PR that adds support for ROS2.

ericjohnson97 avatar Jun 30 '24 21:06 ericjohnson97

I am also willing to help you. Launch files or any other help you need. Moreover, you can also use launch file as xml, it will be much more easier for you to convert your code into ROS2. What I am worried about plugins. Also I have suggestion that, we can use ardupilot ros2 package, and use mavros to control the drone.

peakyquest avatar Jul 01 '24 16:07 peakyquest

Look at this repositories of arducopter link for Ros2

peakyquest avatar Jul 01 '24 16:07 peakyquest