Package Summary

Tags No category tags.
Version 0.0.4
License Apache 2.0
Build type CATKIN
Use RECOMMENDED

Repository Summary

Checkout URI https://github.com/ipa320/airbus_coop.git
VCS Type git
VCS Version master
Last Updated 2017-10-17
Dev Status MAINTAINED
CI status Continuous Integration
Released RELEASED
Tags No category tags.
Contributing Help Wanted (0)
Good First Issues (0)
Pull Requests to Review (0)

Package Description

The airbus_cobot_gui package

Additional Links

No additional links.

Maintainers

  • Ludovic Delval

Authors

  • Martin Matignon

airbus_cobot_gui

This repository holds a graphical user interface tool

Contents

  1. Execution
  2. Configuration

1. Execution:

roslaunch airbus_cobot_gui default.launch config_path:='${PKG_NAME}/folder' file_name:='file.conf'


By default:

roslaunch airbus_cobot_gui default.launch config_path:='${airbus_cobot_gui}/config' file_name:='default.conf'


2. Configuration:

Example of configuration file:

<?xml version="1.0"?>

<app mode="debug">
    <translate type="en"/>
    <window display-mode="-d">
        <default-size>
            <width>1280</width>
            <height>720</height>
        </default-size>
        <header>
            <dashboards src="${airbus_cobot_gui}/config/default_dashboards_register.xml">
               <dashboard name="ExampleDashboard"/>
            </dashboards>
        </header>
        <launcher default-view="Rviz" default-mode="manu">
            <plugins src="${airbus_cobot_gui}/config/default_plugins_register.xml">
                <plugin name="Rviz"/>
                <plugin name="Rqt"/>
                <group name="Monitoring" icon="${airbus_cobot_gui}/resources/images/icon_monitoring.png">
                    <plugin name="NodeManager"/>
                    <plugin name="LogManager"/>
                </group>
           </plugins>
        </launcher>
    </window>
</app>


Line by line explanation :

<app mode="debug">
   ...
</app>

Set the mode to 'debug' or 'release'. This may be usefull when you want to get some informations only in debug mode.

<translate type="en"/>

The default language of you GUI. It can be set to 'en', 'fr', 'de' or 'es'. The function "onTranslate" of every plugins is called when you change the language in the GUI. You may create a xml file like this one :

<resources>
    <strings default-lng="en">
        <string id="hello">
            <en>Hello world !</en>
            <fr>Bonjour le monde !</fr>
            <de>Hallo Welt !</de>
            <es>Hola Mundo !</es>
        </string>
    </strings>
</resources>

Ane call the QLabel "setText" function with the language in parameter in the "onTranslate"

<window display-mode="-d">
    <default-size>
       <width>1280</width>
       <height>720</height>
    </default-size>
    ...
</window>

The display mode can be set to either '-d' wihch is default size then you have to specified the size, or '-f' which is full size.

<header>
   <dashboards src="${airbus_cobot_gui}/config/default_dashboards_register.xml">
      <dashboard name="ExampleDashboard"/>
   </dashboards>
</header>

This is used to set dashboard on the header of the gui. In the 'src' you specified the path to the dashboards register xml file. Then you can pick which dashboard(s) you want to use by calling it(them).

<launcher default-view="Rviz" default-mode="manu">
     <plugins src="${airbus_cobot_gui}/config/default_plugins_register.xml">
        <plugin name="Rviz"/>
        <plugin name="Rqt"/>
        <group name="Monitoring" icon="${airbus_cobot_gui}/resources/images/icon_monitoring.png">
           <plugin name="NodeManager"/>
           <plugin name="LogManager"/>
        </group>
     </plugins>
</launcher>

In the launcher, you choose which plugins you want to launch. You can set in 'default-view' the plugin name you want to start on and in 'default-mode' if you want to start in manual('manu') or automatic('auto'). Some buttons can be hidden / not work in some mode depending on the plugin. In the 'src' you enter the path to the plugins register xml file then you list the plugins you want to use. The order matter ! . It will be in this order that your plugins are gonna be displayed. If you want to group multiple plugins under one button, you can use "group" and set a path to an icon.

top

CHANGELOG

^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ Changelog for package airbus_cobot_gui ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0.0.4 (2017-09-13)

  • Merge pull request #36 from ipa-led/master Added dotgraph viewer to ssm_plugin
  • removed a debug print
  • Merge pull request #35 from ipa-led/master Improvements on the ssm_core packages
  • removed templates from the config file
  • fixed default view set to rviz
  • Contributors: Nadia Hammoudeh Garc

Wiki Tutorials

See ROS Wiki Tutorials for more details.

Source Tutorials

Not currently indexed.

Launch files

  • launch/default.launch
      • config_path [default: ${airbus_cobot_gui}/config]
      • file_name [default: default.conf]
      • emergency_stop_topic_name [default: /emergency_stop/state]
      • diagnostics_toplevel_topic_name [default: /diagnostics_toplevel_state]
      • diagnostics_topic_name [default: /diagnostics_agg]

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged airbus_cobot_gui at Robotics Stack Exchange