How can I simulate a swarm of drones based on sensor input other that lidar
조회 수: 43 (최근 30일)
이전 댓글 표시
Hello,
I am trying to simulate a swarm of drones for a search and rescue scenario. I am not concerned about the flight dynamics, so a low resolution model would be enough. The scenario is described in the figure:
The drones communicate with ground stations through WiFi, and they use a different wireless technology to communicate between them. It is a FANET for which I am trying to test UAV mobility models aimed at improving coverage and maintaining connectivity between the ground nodes and the control station. I've been working with the uavPlatform object and it can mount different sensors, including lidar and GPS. The first question is: Can the uavPlatform object be used to simulate a variable number of drones? The second question is: Can I mount a custom sensor to replace the lidar? In my case, the wireless receivers can be considered sensors that deliver signal strength as an input to move and position the UAV (I was thinking of mounting a WiFi receiver from the WLAN Toolbox). Third: Can I mount more than one sensor simultaneously? Finally, is there any other way to achieve this other than using uavPlatform?
I appreciate your help.
댓글 수: 0
채택된 답변
Jianxin Sun
2022년 9월 8일
Hi William,
Can the uavPlatform object be used to simulate a variable number of drones?
A: You can put any number of drones into uavScenario using uavPlatform. However you cannot remove UAVs from scenario during simulation. You could park them somewhere in the scenario using the move method to teleport them if you don't want them to show up in the main simulation area.
Can I mount a custom sensor to replace the lidar? In my case, the wireless receivers can be considered sensors that deliver signal strength as an input to move and position the UAV (I was thinking of mounting a WiFi receiver from the WLAN Toolbox).
A: You can use the uav.SensorAdaptor class to adapt your own sensor model and use it in the uavScenario. You can check the following examples for how to implement sensor adaptor for IMU and Radar sensor:
Can I mount more than one sensor simultaneously?
A: Yes, you can mount any amount of sensors on a UAV. The following examples show how to do sensor fusion using both Lidar and Radar sensors: https://www.mathworks.com/help/uav/ug/lidar-and-radar-fusion-in-an-urban-air-mobility-scenario.html
Is there any other way to achieve this other than using uavPlatform?
A: Alternative tool for scenario simulation could be using Unreal based Simulation in Simulink. However, it doesn't support custom sensors and only work in Simulink.
댓글 수: 1
VAIBHAV
2023년 6월 17일
Hello
i want to make master slave configration with drone ..1 master 4 slave and both should in motion ,do anyone have refernce code of that
추가 답변 (1개)
William Paredes
2022년 9월 9일
댓글 수: 4
Jianxin Sun
2022년 9월 13일
Hi William,
The following example would show how to move the platforms according to sensor input and motion planning algorithm:
It shows a scenario with two UAVs, one along pre-defined trajectory, the other are moved according to a simple controller to avoid collision.
The move can only apply to one platform at a time, so a for loop would be needed if you want to loop through each UAV and move them
참고 항목
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!