LaserScan in TurtleBot examples
4 ビュー (過去 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!