![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/868675/image.png)
Mobile Robotics Simulation Toolbox: How to create different waypoints for each robots in multirobot simulation?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Hello, I'm currently learning to use mobile robotics simulation toolbox and am wondering if it's possible to program each robot to follow their own respective waypoints in the simulation with the multirobot visualizer?
I tried to make a program where I combine mrsDiffDrivePathFollowing.m and mrsMultiRobotLidar.m so that each robot can follow their own waypoints in the simulation. Currently, I'm not sure what to do to connect each respective waypoints to the multirobot environment block.
I've included a screenshot to show my current progress but don't know how to proceed from here.
I've seen that it's possible for the multi-robot environment block to accept waypoints in its block parameter, but how should the waypoints of respective robots be arranged before connected to the multi-robot environment block?
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/868165/image.png)
0 Kommentare
Antworten (1)
Jose Avendano Arbelaez
am 20 Jan. 2022
To pass more than one set of waypoints you can use the concatenate block to join signals with several sets of waypoints (See image, From and GoTo tags might also help keep the model clean if needed).
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/868675/image.png)
Currently the Multi-Robot Environment block does not have distinction for different waypoints. If you would be interested in changing the properties of the individual waypoint markers, you can find the source file "MultiRobotEnv.m" (Lines 216 and 277) and make modifications to the block source to change graphics properties.
0 Kommentare
Siehe auch
Kategorien
Mehr zu Robotics finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!