MATLAB Answers

Leader following robot?

17 views (last 30 days)
Hi. I have to create an algorithm that would measure the distance from an object, based on lidar scans, and then follow that object keeping desired distance. But Im new to Robotisc Toolbox and to be fair I dont quite know where or how to start, so far I've only been using MatLab and Simulink for easy school projects. I would be very greatful for any points and tips and help to get me started.

Accepted Answer

Cam Salzberger
Cam Salzberger on 17 Mar 2021
Hello Dominika,
We have a similar example that demonstrates a robot (either real or simulated in Gazebo) following an object. It uses a camera and uses blob detection to target the object, and its "follow" algorithm is fairly simplistic, but this could give you a functional framework to start inserting your own algorithm.
Just be sure to check the prerequisites to get your robot environment set up.
-Cam
  1 Comment
Dominika Krason
Dominika Krason on 17 Mar 2021
Thank you very much :)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!