turtlebot/rbx1/mrobot uses follower to follow the human body (to solve the problem that the car does not move after running the follower)

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.launch
After 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.launch
If you are using turtlebot then enter

roscore
roslaunch turtlebot_bringup minimal.launch
3. Start the follower and let the car follow you

roslaunch turtlebot_follower follower.launch

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325562413&siteId=291194637