Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
ArmarXGui
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Container Registry
Model registry
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Software
ArmarX
ArmarXGui
Commits
37f779d5
Commit
37f779d5
authored
4 years ago
by
Rainer Kartmann
Browse files
Options
Downloads
Patches
Plain Diff
Update doc
Signed-off-by:
Rainer Kartmann
<
rainer.kartmann@kit.edu
>
parent
cd77f159
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
etc/doxygen/pages/HowTos.dox
+24
-11
24 additions, 11 deletions
etc/doxygen/pages/HowTos.dox
with
24 additions
and
11 deletions
etc/doxygen/pages/HowTos.dox
+
24
−
11
View file @
37f779d5
...
...
@@ -2,10 +2,12 @@
\page ArmarXGui-HowTos ArmarXGui HowTos
- \subpage ArmarXGui-HowTos-Build-Gui-Plugin
- \subpage ArmarXGui-HowTos-Build-Gui-Plugin
"Create your own GUI plugin"
- \subpage ArmarXGui-HowTos-Add-Proxy-To-StatechartContext
- \subpage ArmarXGui-HowTos-Statechart-Editor-Migration "Migrate to Statechart Editor codegenerator"
- \subpage ArmarXGui-HowTos-Add-DataType-To-StatechartContext
- \subpage ArmarXGui-HowTos-Statechart-Editor-Migration "Migrate to Statechart Editor codegenerator"
\page ArmarXGui-HowTos-Build-Gui-Plugin How to create your own gui plugin
Every plugin consits of:
...
...
@@ -66,13 +68,18 @@ QTimer or timerEvent(QTimerEvent) are running in the same thread as the main app
suitable for network calls.
Especially periodic network calls like updating data should be in a seperate thread.
\page ArmarXGui-HowTos-Add-Proxy-To-StatechartContext How to add your own interfaces to a statechart context
In the Statechart Editor in the statechart group settings dialog it is possible to specify which
components should be accessible from states inside of this statechart group.
This list of interfaces is specified in VariantInfo-${PACKAGENAME}.xml files in each package.
This file is located in each package at ${PACKAGENAME}/data/${PACKAGENAME}/VariantInfo-${PACKAGENAME}.xml.
This file might look like this:
In the Statechart Editor, in the statechart group settings dialog, it is possible to specify which
topics and components (proxies) should be accessible from states inside this statechart group.
To make new topics and components (proxies) available in this dialog, they need to be specified and
described in the `VariantInfo-${PACKAGENAME}.xml` file of the containing package.
This file is located in each package at `${PACKAGENAME}/data/${PACKAGENAME}/VariantInfo-${PACKAGENAME}.xml`.
The file might look like this:
\verbatim
<?xml version="1.0" encoding="utf-8"?>
<VariantInfo>
...
...
@@ -97,14 +104,20 @@ This file might look like this:
</VariantInfo>
\endverbatim
To add a new proxy, add another *Proxy*-tag with the content like in the example matching to your proxy.
To add a new proxy, add another `Proxy` tag with the content like in the example matching to your proxy.
The same can be done for topics using the `Topic` tag.
If the file is in your own package, you also need to add your package to the
default
packages:
In ~/.armarx/default.cfg add the line (the package list speficies the global default packages for all applications):
If the file is in your own package, you also need to add your package to the
additional
packages:
In
`
~/.armarx/default.cfg
`
add the line (the package list speficies the global default packages for all applications):
\verbatim
ArmarX.
Default
Packages=${YOURPACKAGENAME},Armar
XCore, ArmarXGui, MemoryX, RobotAPI, RobotComponents, RobotSkillTemplates, ArmarXSimulation, VisionX
ArmarX.
Additional
Packages=${YOURPACKAGENAME},Armar
6Skills,...
\endverbatim
If not done already, you might also have to add the path to your package to the Statechart Groups
Search Paths. This is done by clicking the settings wheel icon (right of the save button) in the
Statechart Editor and choosing "Add Path".
\page ArmarXGui-HowTos-Add-DataType-To-StatechartContext How to add your own data type to a statechart
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment