メインコンテンツ

このページの内容は最新ではありません。最新版の英語を参照するには、ここをクリックします。

ロボット アプリケーション

センサー情報に基づいてロボットを制御する

TurtleBot® から収集されたセンサー データはロボットの制御に使用できます。センサー データを使用して TurtleBot の制御を決定する一般的なアプリケーションの例を以下に示します。

関数

すべて展開する

getColorImageGet color image from TurtleBot camera
getLaserScanGet laser scan sensor readings from TurtleBot
getOdometryGet odometry reading from TurtleBot
setVelocitySend linear and angular velocities to TurtleBot

オブジェクト

turtlebotConnect to TurtleBot

トピック

  • Get Image Data from TurtleBot at a Fixed Rate

    This example shows how to get image data from the TurtleBot and display it at a fixed rate. ROS Toolbox Support Package for TurtleBot-Based Robots enables you to connect to TurtleBot hardware and get the color, grayscale, and depth images from it. In this example, use the getColorImage function to get color images off the TurtleBot to display them. To collect images at a fixed rate, use rateControl.

  • Plot Turtlebot Odometry

    This example shows how to get, store, and display odometry data from a TurtleBot® as it drives in an environment.

  • Create a UI for TurtleBot

    This example shows how to create a UI for collecting sensor data and controlling a TurtleBot® robot. You can use the UI to get and display odometry data and laser scan readings and to teleoperate the robot by sending it velocity commands.

  • Track and Follow an Object Using a TurtleBot

    This example shows how to track an object based on color using a TurtleBot® robot connected via a ROS network. ROS Toolbox Support Package for TurtleBot-Based Robots enables you to capture images to find an object in the environment and send velocity commands to navigate toward the object. To follow the object, you use the getColorImage and setVelocity functions along with image processing techniques.