LaserScan in TurtleBot examples
조회 수: 3 (최근 30일)
이전 댓글 표시
Dear friends,
I tried to experiment with the TurtleBot examples in the related robotics toolbox. The issue that I have is that my laserscan is not similar to the example's picture (Exploring Basic Behavior of the TurtleBot). It is just a line
I don't think that is reasonable for a simulation environment like that
Is something wrong? I just followed the example like
laser = rossubscriber('/scan');
scan = receive(laser,3)
plot(scan);
댓글 수: 0
답변 (1개)
Sebastian Castro
2015년 6월 24일
The commands certainly look correct. Have you tried changing the maximum scan range to a nondefault value? For example:
plot(scan,'MaximumRange',10);
Also, what happens as you move/rotate the robot? Do the plots change or stay the same?
- Sebastian
참고 항목
카테고리
Help Center 및 File Exchange에서 Network Connection and Exploration에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!