ethz-asl / rotors_simulator

RotorS is a UAV gazebo simulator
1.2k stars 756 forks source link

Interfacing MavROS SITL from Ardupilot/PX4? #649

Closed evandanrao closed 3 years ago

evandanrao commented 3 years ago

(Beginner, Please bear) Hey I see that RotorS provides quite good Xacro and Wind Plugin options but I wish to connect an SITL from Ardupilot/ PX4 as a backend for the simulation on RotorS Simulator. Where do I open up a UDP Port in RotorS? I only see Mavlink Interface Enable, But can it take in a UDP connection ?

Jaeyoung-Lim commented 3 years ago

@evandanrao If you are using PX4, everything is already integrated into px4 in https://github.com/PX4/PX4-SITL_gazebo which has started from rotorS.

You can find the documentation in: https://dev.px4.io/master/en/simulation/ros_interface.html