Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 235 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 237 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 305 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/wp-contact-form-7.php on line 66 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 3 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 4 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 5 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 7 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 8 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 9 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 10 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 11 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 12 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 13 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 14 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 15 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 16 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 17 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 18 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 19 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 24 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 305 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-dbase-cache/wp-cache.php on line 37 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-dbase-cache/wp-cache.php on line 41 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 305 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-multibyte-patch/wp-multibyte-patch.php on line 536 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 305 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-social-bookmarking-light/wp-social-bookmarking-light.php on line 43 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-social-bookmarking-light/wp-social-bookmarking-light.php on line 44 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-social-bookmarking-light/wp-social-bookmarking-light.php on line 45 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/wp-social-bookmarking-light/wp-social-bookmarking-light.php on line 46 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 310 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 311 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/functions.php on line 3746 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 11 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 14 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 17 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 20 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 23 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 26 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 29 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 32 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 35 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 38 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 41 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 44 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 47 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 50 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 53 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 56 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 59 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 62 Warning: require_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/default-widgets.php on line 65 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include_once(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/plugins/contact-form-7/settings.php on line 60 Warning: include(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 424 Warning: include(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-settings.php on line 426 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/functions.php on line 207 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-includes/template.php on line 690 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/functions.php on line 212 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/functions.php on line 213 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/functions.php on line 214 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/bizvektor_themes/003/003_custom.php on line 37 Warning: require(): Unable to allocate memory for pool. in /virtual/htdocs/ikou_www/wordpress/wp-content/themes/bizvektor-global-edition/functions.php on line 219 ロボットサービス(RSNPサーバ)の作成 | RSNPとは | ロボットサービスイニシアチブ -Robot Services initiative-
ロボットサービスの標準化を目指して

ロボットサービス(RSNPサーバ)の作成

ここでは、サンプルロボットサービスのServiceSampleを実行します。

構築するロボットサービスの概要と機能、システム構成

用意するもの

  • ノートPC

ロボットサービスの機能

  • ロボットにサーバからのメッセージを送信
  • ロボットから送付された画像を表示
  • ロボットの遠隔操作(今回はロボットを動かすことはないため、Eclipseのコンソール部分に移動方向を表示)

ロボットサービスの機能

開発環境の設定

ロボットサービスを開発するためにはロボットサービスの開発環境を構築してください。ロボットサービスの開発環境は、ロボットサービスの開発環境を整える(サーバ側)から設定できます。

ロボットサービスの利用を確認するために当ページではロボットアプリケーションを利用しています。ロボットアプリケーションの開発環境を構築してください。ロボットアプリケーションの開発環境は、ロボットアプリケーションの開発環境を整える(ロボット/PC側)から設定できます。

Eclipseの起動と環境設定

ここでは、本サイトのダウンロードページからサンプルコードのダウンロードを行い、Eclipseにインポートするまでを説明します。

ロボットクライアントプロジェクトをEclipseへインポート

  1. RobotSample.zipをダウンロードして下さい。ダウンロードしたzipファイルを、任意のフォルダに解凍してください。
  2. Eclipseを起動し、「ファイル」-「インポート」から「インポート」ダイアログを開き、「一般」-「既存をプロジェクトをワークスペースへ」を選択し、次へを押します。プロジェクトのインポートの画面が出てくるので、ルート・ディレクトリーの選択にチェックをし、参照ボタンを押して先ほど解凍したプロジェクトのフォルダの場所を追加してください。最後に、プロジェクト欄のプロジェクトにチェックを入れて完了ボタンを押してください。

ロボットクライアントプロジェクトをEclipseへインポート

ロボットサービスプロジェクトをEclipseへインポート

上記のロボットクライアントプロジェクトをEclipseへインポートを参考にしてServiceSampleをダウンロードしてEclipseへインポートしてください。

インポートしたプロジェクトのサーバへの追加と動作確認

ロボットサービス開発ベースの作成の開発用ペースの動作確認を参考に、Eclipseへインポートしたプロジェクトをサーバへ追加して、基本的な動作確認を行ってください。

ロボットサービスの実行、動作確認

アプリケーションの実行と動作確認を行います。

  1. Tomcat v6.0サーバを開始する

    Eclipseを起動し、『サーバ』ビューで「ローカル・ホストのTomcat v6.0 サーバ」を選択、右クリックしてポップアップメニューを開き、「開始」を選択します。『コンソール』ビューにエラーログが出されずに、『サーバ』ビューで状態が始動済みになることを確認します。

  2. ロボットサービスの実行、動作確認

  3. ロボットクライアントアプリケーションを実行して、サーバに接続する

    RobotSampleプロジェクトのRobotMain.javaを選択して、実行ボタンを押してください。

  4. Webブラウザからロボット制御画面を確認する

    webブラウザから以下のURLへアクセスし、ロボット制御画面を確認してみましょう。各々のサービス画面の上図がロボットサービス側の下図がロボットクライアント側の表示になっています。

    • コンテンツアップロードサービス画面(ロボットにサーバからのメッセージを送信) (http://localhost:8080/ServiceSample/contentsupload)
      ロボットサービスの実行、動作確認
      ロボットサービスの実行、動作確認
    • ロボット画像サービス画面(ロボットから送付された画像を表示) (http://localhost:8080/ServiceSample/robotcamera)ロボットサービスの実行、動作確認
      ロボットサービスの実行、動作確認
    • ロボット制御サービス画面(ロボットの遠隔操作)(http://localhost:8080/ServiceSample/robotcontrol)

    ロボットサービスの実行、動作確認
    ロボットサービスの実行、動作確認

  5. ロボットクライアントのサーバとの接続を切る

    ロボットアプリを停止するために、http://localhost:9000/にアクセスしてください。

  6. Tomcat v6.0サーバを停止する

    Eclipseの『サーバ』ビューで「ローカル・ホストのTomcat v6.0 サーバ」を選択、右クリックしてポップアップメニューを開き、「停止」を選択します。『サーバ』ビューで状態が始動済みになることを確認します。


PAGETOP