Whether turtlebot or roslaunch turtlebot_follower follower.launch can be implemented according to mrobot and rbx1, but if you do not modify the original launch file and run this command, the car still cannot be moved.
Install the driver for your 3D sensor before the following steps, if you are using Kinect, you can install it through this post
http://blog.csdn.net/qq_35379989/article/details/79017125
1. Modify your follower.launch file
Open follower.launch with gedit
roscd turtlebot_follower/launch sudo gedit follower.launchAfter opening, find the two lines as shown in the figure
change this to
close after saving
2. Start your car , for example, my car uses the mrobot program, so enter
roscore roslaunch mrobot_bringup mrobot.launchIf you are using turtlebot then enter
roscore roslaunch turtlebot_bringup minimal.launch3. Start the follower and let the car follow you
roslaunch turtlebot_follower follower.launch