Wiki

Note: This tutorial assumes that you have completed the previous tutorials: Kobuki Installation.
(!) Please ask about problems and questions regarding this tutorial on answers.ros.org. Don't forget to include in your question the link to this page, the versions of your OS & ROS, and also add appropriate tags.

Examine Kobuki

Description: Start up your Kobuki and see what's going on inside.

Keywords: kobuki, start, examine, roslaunch, rostopic

Tutorial Level: BEGINNER

Next Tutorial: Kobuki Diagnostics

  Show EOL distros: 

New in groovy

Overview

In this tutorial you will learn how to start the basic software for Kobuki, inspect the sensors' state and send commands.

Launch Kobuki

First, start minimal.launch to bring up Kobuki's basic software (bootstrap layer). We use the argument --screen to get verbose output in the terminal.

> roslaunch kobuki_node minimal.launch --screen

This launch file starts a nodelet manager and loads the Kobuki nodelet (the ROS wrapper around Kobuki's driver).

Examine the topics

Next, take a look at Kobuki's topics.

$ rostopic list
/diagnostics
/diagnostics_agg
/diagnostics_toplevel_state
/joint_states
/mobile_base/commands/digital_output
/mobile_base/commands/external_power
/mobile_base/commands/led1
/mobile_base/commands/led2
/mobile_base/commands/motor_power
/mobile_base/commands/reset_odometry
/mobile_base/commands/sound
/mobile_base/commands/velocity
/mobile_base/debug/raw_data_command
/mobile_base/debug/raw_data_stream
/mobile_base/events/bumper
/mobile_base/events/button
/mobile_base/events/cliff
/mobile_base/events/digital_input
/mobile_base/events/power_system
/mobile_base/events/robot_state
/mobile_base/events/wheel_drop
/mobile_base/sensors/bump_pc
/mobile_base/sensors/core
/mobile_base/sensors/dock_ir
/mobile_base/sensors/imu_data
/mobile_base/sensors/imu_data_raw
/mobile_base/version_info
/odom
/rosout
/rosout_agg
/tf

In Hydro, a couple of new topics joined the list:

/mobile_base/commands/controller_info
/mobile_base/controller_info

As you see, Kobuki's data in- and output follows a structure:

Check sensors

Let's try out some topics.

Trigger stuff

Roboticists want to do things. So, let's do it!

Remark: rostopic pub works create with tab completion!

What's next

Now that you know how to launch the basics and work with Kobuki, it's time to take it for a ride.

Wiki: kobuki/Tutorials/Examine Kobuki (last edited 2017-03-28 03:43:39 by DanielStonier)