AirSim icon indicating copy to clipboard operation
AirSim copied to clipboard

Enable ROS and Gazebo integration

Open JiamingSuen opened this issue 9 years ago • 20 comments

Testing control algorithms with SITL plugin + Gazebo + ROS is now the common way, while Gazebo only provides poor visual simulations which is not realistic enough for Deep Learning/Reinforcement Learning research. Is there any plan for AirSim of such kind of integration with ROS? In specific this would allow us to retrieve state information and camera view etc from AirSim, and we can use tools like mavros to send control command to the vehicle. Thanks for this incredible work!

JiamingSuen avatar Feb 25 '17 07:02 JiamingSuen

Yes, we do have plan to enable ROS for AirSim. We have some code that was working with Matrice underROS which we will port to AirSim. This will essentially make possible to call our APIs as ROS services and request publication of sensor data.

I'll change the title of this issue to reflect this and keep this open.

sytelus avatar Feb 25 '17 09:02 sytelus

Have anyone tried to integrate SITL to AirSim?

AlexandreBorowczyk avatar Mar 28 '17 13:03 AlexandreBorowczyk

Hi, Is there any update on the ROS integration?

zaddan avatar Jun 22 '17 22:06 zaddan

Not yet. We are heads down on making Linux build fully work first and create standalone flight controller for next two weeks or so. After that ROS integration would take priority.

sytelus avatar Jul 19 '17 08:07 sytelus

@sytelus Are there any examples or readme's you could point to that show the kind of AirSim ROS adapter you mentioned in #333?

togaen avatar Sep 30 '17 15:09 togaen

Not yet. Basically the plan is to use RpcApi to transmit ROS messages.

sytelus avatar Oct 06 '17 06:10 sytelus

Hi @sytelus ! Do you have any update on the ROS integration? Would be feasible to create a ROS node, use the remote API and to convert the data to ROS messages ?

Thank you!

jokla avatar Oct 19 '17 09:10 jokla

Hi Guys, just checking back about ROS integration. I'm just learning about AirSim and compared to the others this has many desirable characteristics. Really nice work Chris et. al.! however i would like to drive it using a higher level mission-autonomy computer running ROS.

Also, i would like to run a SITL version using the PX4 stack. the sitl.md file recommended above doesn't seem to exist anymore. If there are anymore recent developments please let know.

Thanks! Paul

pdebitetto-tft avatar Dec 13 '17 18:12 pdebitetto-tft

Hello, i'm intrested in ROS integration. Is there any update on this matter?

HarrisSym avatar Jan 31 '18 09:01 HarrisSym

Hi,This would be a great addition to the simulation environment. Is the pull request number 842 rosbridge_first_test the official addition of this feature or a different version being worked on by the AirSim team. Would be great to know the status. Really appreciate the great work being done by the AirSim team :)

Thanks, ykhedar

ykhedar avatar Apr 03 '18 13:04 ykhedar

rosbridge_first_test is by one of our users and is under review. Please feel free to review/provider feedback for this PR.

sytelus avatar Apr 11 '18 23:04 sytelus

We're making progress on the bridge. With the new API, is the car coordinate system still NED, or has that changed?

n1ckfg avatar Apr 25 '18 15:04 n1ckfg

Everything is still NED.

sytelus avatar Apr 25 '18 22:04 sytelus

Waiting for the ROS integration as well.

This simulator looks Damn Good guys, Great Work :+1:

MohamedAliRashad avatar May 13 '18 00:05 MohamedAliRashad

Very promising work! This would easily blow my other options for a quad simulator out the water (TUM simulator, Hector Quadcoter) but the lacking ROS/MoveIt! integration is my only hold out

imndaiga avatar Jun 06 '18 13:06 imndaiga

You can find some simple examples I contributed yesterday for publishing AirSim data in ROS nodes using PythonClient in my PR here:

https://github.com/Microsoft/AirSim/pull/1135

Please try them and let me know if you have any issues running them. I will be contributing additional examples in the near future.

Sounds like a complete ROS integration solution is in the works, but in the meantime, these examples should help you get started.

TritonSailor avatar Jun 06 '18 20:06 TritonSailor

@TritonSailor Thanks a ton, exactly what I needed!

imndaiga avatar Jun 09 '18 18:06 imndaiga

Please see airsim_ros_pkgs and airsim_tutorial_pkgs for a ros wrapper over the multirotor API

madratman avatar May 13 '19 23:05 madratman

Interested in ros and mavros integration. Is there any progress yet?

xlong0513 avatar Nov 27 '19 08:11 xlong0513