Search code examples
rosdji-sdk

Problem with the simulation of dji matrice 100 with ros


I'm trying to use ROS with dji matrice 100, i followed the tutorial on the website and i connected the drone and got the correct parameters. The problem is that i cannot run simulation and give commands because the signal of the gps is low. I'm working in a small office with a notebook and a pc desktop connected to the drone, is there a way to bypass the gps and run the simulation, or the only solution is to move in a place where gps signal is high?

Another question is how can i put my program (wrote in python using ros) on the drone?


Solution

  • Another question is how can i put my program (wrote in python using ros) on the drone?

    I assume you're referring to controlling the drone with your ROS program without a simulator?

    You need to connect the drone to a PC using the UART port on the M100. My setup involves a USB to serial Cable which is connected to a JETSON TX1. If you're using ROS, edit the details of the sdk.launch here. Your PC needs to be small enough to fit on the drone. A raspberry pi will do the trick. For more details, take a look at the hardware setup guide at this link. I think the M100 + PC/Linux machine should work well for you. Good luck.