LaserScan in TurtleBot examples
4 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Sebastian Castro
on 24 Jun 2015
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
1 Comment
See Also
Categories
Find more on Network Connection and Exploration in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!