How can I simulate a swarm of drones based on sensor input other that lidar
39 ビュー (過去 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!