Skip to content

TareqAlqutami/dji_ros_simulator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

dji_ros_simulator

This repository contains the necessary files for simulating DJI drones in ROS and Gazebo. It currently contains DJI M100 and DJI M600 models. This package is meant for Hardware in the Loop simulations where DJI drone is connected and DJI ROS SDK is running.

alt text

Dependencies

Installation

  • Install all the dependencies
  • Clone this package into your catkin workspace and build it

Usage

  • Connect a DJI drone and run DJI sdk ros node.

  • Run the simulation roslaunch:

    roslaunch dji_gazebo sim_{drone model}.launch

    where {drone model} is either m100 or m600.

    • You can select which sensor to simulate using the roslaunch arguments:

      roslaunch dji_gazebo sim_m600.launch lidar:=false realsense:=true realsense_name:=d435

    • You can add/modify sensors to the drone inside the urdf files dji_drone_description/urdf/dji_{drone model}_sensors.urdf.xacro in dji_drone_description package

    • You can modify the arguments of dji_gazebo_bridge node from roslaunch directly. For example, to change the drone name or to disable set_local_pos_ref service in dji sdk.

About

Hardware in the loop Simulation of DJI drones in ROS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages