Mobile Robotics Simulation Toolbox: How to create different waypoints for each robots in multirobot simulation?
조회 수: 1 (최근 30일)
이전 댓글 표시
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?
댓글 수: 0
답변 (1개)
Jose Avendano Arbelaez
2022년 1월 20일
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).
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
참고 항목
카테고리
Help Center 및 File Exchange에서 Robotics에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!