ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

Difference between turtlebot_bringup minimal.launch and turtlebot service?

asked 2012-02-20 17:41:14 -0500

Ryan Hickman gravatar image

The Turtlebot Bringup wiki doesn't describe what is different between the service and running minimal.launch manually. From my crude digging it seems that the service also runs minimal.launch but with some extra params and an argument added.

1) Is there a difference in methods to launch the Turtlebot?

2) How can I see the terminal output of the service (I often run the manual method just to see what's going on)?

3) Is there a way to remove the service from running at startup (admittedly stupid question but I'm stumped)?

Thanks, Ryan

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2012-04-04 08:33:49 -0500

mmwise gravatar image
  1. There are two ways to start the TurtleBot:

    a. Using the linux service:

    sudo service turtlebot start
    

    The service starts the TurtleBot drivers in the background by launching the turtlebot.launch file located in /etc/ros/electric (or fuerte or whatever distro you are running). The advantage of using the service is that it launches a file in user editable space, so you can configure and change your TurtleBot launch files without changing the debian install. You need to do this when calibrating your robot or changing the URDF when you add an arm or move the sensor locations.

    b. Using the default launch file:

    roslaunch turtlebot_bringup minimal.launch
    

    This launch file starts the TurtleBot with the default configuration (default URDF and calibration). Typically you should not edit this file because it is the default installation on your computer and typically if you need to add sudo to edit the file then you shouldn't do it.

  2. Unfortunately I don't know a good way to look at the output of a launch file running in the background. I recently added status to the turtlebot_dashboard to improve visibility into what was happening in the background.

  3. To stop the service from running at startup you need to remove /etc/init/turtlebot.conf. If you look at the install.sh script in turtlebot_bringup/upstart you'll see how the service is installed on your TurtleBot.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-02-20 17:41:14 -0500

Seen: 2,356 times

Last updated: Apr 04 '12