Skip to content

user interfaces

Janno Lunenburg edited this page Nov 21, 2017 · 6 revisions

User Interfaces

There are a number of Graphical User Interfaces available to have the robots doing their thing:

  • adashboard starts the dashboard (at <host>:9090) to start, stop, home, and reset the hardware. This also contains the indicators for battery and emergency button status. N.B.: for other robots, there are other aliases. The use of the hardware dashboard is explained in Starting up and shutting down AMIGO
  • The mobile-ui can be used to move the robots directly, e.g., to move the base, the arms and to have the robot say things.
  • RViz is the ROS visualization tool. This shows the robots view of the world, e.g., the map of the environment, where the robot is in this environment and where all objects are located. This UI is used to give a robot navigation goals or to set the (initial) pose of the localization algorithm. This can only be run on a laptop.
  • Open Challenge UI to see the world through the robots eyes and to swipe furniture objects into the world model.

N.B. in the following, <host> refers to the network host where the required web server is running. In case of AMIGO, e.g., the server is running on amigo1 (192.168.44.91), in case of SERGIO, this is sergio1 (192.168.44.71) etc.

RViz

  • To visualize RViz, start a terminal (Ctrl+Alt+t) and enter amigo-core to indicate that you want to communicate with the roscore that is running on the robot. N.B. if you want to use another robot, replace amigo by the respective robot name. N.N.B.: you have to enter amigo-core on every new terminal that you start.
  • Enter amigo-rviz (or another robot) to start rviz with a proper configuration.

Mobile UI

The mobile UI can be found by accessing <host>:8000/amigo_mobile_ui/dist/ (you can even run this tool on your mobile phone if it is connected to the RoboCupAtHome network). This contains a number of functionalities:

  • On the 'Teleop' page you can directly move the base (forward and rotate)
  • On the 'Custom poses' page you can request the robot to perform a number of pre-programmed motion with arms or torso (currently not working)
  • On 'Presentation' you can have the robot introduce itself in either Dutch or English
  • On the soundboard you can have the robot speak a number of pre-programmed sentences
  • On 'Text to Speech' you can enter custom sentences for the robot to pronounce.
  • On 'Amigo hear' you can help the robot in case it doesn't hear you

Open challenge UI

The Open Challenge UI can be accessed by entering <host>:8000/challenge_open/dist in your favorite web browser (most convenient is to use the iPad for this purpose).

  • See the world through the robot's eyes
  • Move the base (drive forward/backward and rotate) using the bottom-left area of the page
  • Move the head using the bottom-right area of the page
  • Swipe furniture objects into the world model. Make sure that the robot stands in front of the front of the furniture object to fit and that the robot has the front edges of the furniture object in view. In case you make a mistake, you can undo your swiping action using the 'Undo' button.
  • Using the 'Create walls' button you can extrude the gmapping map into a 3D wall representation.
  • The button 'AMIGO' sends the command gpsr over the amigo/trigger topic. After this, you can give commands through natural speech (either spoken or using a graphics user interface). Look under 'Speech input' below for a list of possible commands.

ED UI

  • ToDo

Speech input

The list of possible commands is as follows:

  • <<navigate/go/drive>> to the <furniture>
  • inspect the <furniture>
  • <<bring/deliver/give>> me the <object> from the <furniture>
  • carry the <object> from the <furniture> to the <furniture>
  • <present/introduce> yourself [in dutch]
  • <<say/tell>> <<a joke/what time it is/your name/your teams name/the day of the month/the day of the week/the date>>

Here, you need to replace <furniture> by one of the furniture objects that is in the world model, e.g., because you swiped them in using the UI. The <object> needs to be one of the objects in the object set; look at the labels to know their names. Concerning the options with double brackets, you have to select one of the options. Text between square brackets is optional.

Clone this wiki locally