See it in action: https://youtu.be/XpQpfcJzsFU
A very simple implementation for ROS to make a mobile robot follow a target. Either using a Laser Range Finder to follow the closest object or an RGB-D camera to follow a specific color. It was developed for a Robotnik 'Summit XL' robot but should work anywhere (You might have to change the topics in the python files though).
The visual tracker might be of some interest as an example for a very basic and naive approach at tracking colored 3D objects.
Download the simple_follower folder into the src folder in your catkin workspace. e.g.:
roscd ; cd ../src
git clone https://github.com/rauwuckl/ros_simple_follower.git
cd ..
catkin_make
roslaunch simple_follower laser_follower.launch
or roslaunch simple_follower visual_follower.launch
respectively.
There are three nodes. They can be independently launched using the .launch files in simple_follower/launch/nodes folder:
DISCLAIMER: I wrote this code to familiarize myself with robotics and it probably does not follow best practices.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。