[Documentation] [TitleIndex] [WordIndex

Note: This tutorial assumes that you have completed the previous tutorials: Customise Service Configurations.
(!) 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.

Enable Web Interactions

Description: how to access and interact with concert via web

Keywords: rocon concert solution service web rocon_interactions

Tutorial Level: BEGINNER

Next Tutorial: Advanced Solution Customisation

Goal

This tutorial guides you how to enable web app interactions for concert. It describes how to enable rosbridge, and configure web interactions.

Enable rosbridge in Concert

rosbridge needs to be enabled in order to use concert with web apps. Concert Master provides four arguments to enable web interactions

   1 <launch>
   2   <arg name="services"          default="my_concert/solution.services"/>  <!-- "<package_name>/<file>.services"  tuple-->
   3   <arg name="concert_name"      default="My Concert"/>
   4   <arg name="concert_description" default="This is my concert"/>
   5 
   6   <!-- To enable webapp interations -->
   7   <arg name="enable_rosbridge"  default="false"/>
   8   <arg name="rosbridge_address" default="localhost"/>
   9   <arg name="rosbridge_port"    default="9090"/>
  10   <arg name="webserver_address" default="webapp.robotconcert.org"/>
  11 
  12   <!--autoenable services, e.g. [admin, teleop] services which auto enabled on start up or 'all' to enable all services -->
  13   <arg name="default_auto_enable_services" default="all"/>
  14 
  15   <include file="$(find concert_master)/launch/concert_master.launch">
  16     <arg name="concert_name"                  value="$(arg concert_name)"/>
  17     <arg name="concert_description"           value="$(arg concert_description)"/>
  18     <arg name="services"                      value="$(arg services)"/>
  19 
  20     <arg name="default_auto_enable_services"  value="$(arg default_auto_enable_services)"/>
  21     <arg name="enable_rosbridge"              value="$(arg enable_rosbridge)"/>
  22     <arg name="rosbridge_address"             value="$(arg rosbridge_address)"/>
  23     <arg name="rosbridge_port"                value="$(arg rosbridge_port)"/>
  24     <arg name="webserver_address"             value="$(arg webserver_address)"/>
  25   </include>
  26 </launch>

Configure Web Interactions

Please check Web App Interactions Tutorial in rocon_interactions to use webapp.

What's Next?


2019-07-13 13:04