Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
D
dynamic-graph
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Stack Of Tasks
dynamic-graph
Commits
e5aee687
Commit
e5aee687
authored
14 years ago
by
Francois Bleibel
Browse files
Options
Downloads
Patches
Plain Diff
Expanded documentation.
parent
e213ab30
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
doc/additionalDoc/dgshell_doc.h
+9
-5
9 additions, 5 deletions
doc/additionalDoc/dgshell_doc.h
doc/additionalDoc/package.h
+9
-9
9 additions, 9 deletions
doc/additionalDoc/package.h
with
18 additions
and
14 deletions
doc/additionalDoc/dgshell_doc.h
+
9
−
5
View file @
e5aee687
/**
\page dgshell_doc dg-shell executable
D
ynamic-graph shell program "dg-shell" allows access to the dynamic-graph library's
The d
ynamic-graph shell program "dg-shell" allows access to the dynamic-graph library's
Interpreter class, which can execute commands and scripts from the command line.
It can be found in the installlation prefix's bin/ directory.
It can be found in the installation prefix's bin/ directory.
There is also a linux shell script available, dg-shell-plugin, that creates a
and loads a default script whose goal is to load useful plugins at startup
(shell-functions and shell-procedure).
For an example of shell commands and scripts, see \ref scriptingabout .
There is also a linux shell script available, dg-shell-plugin, that runs
dg-shell with a default script, which in turns loads useful plugins as
shell-functions and shell-procedure.
**/
This diff is collapsed.
Click to expand it.
doc/additionalDoc/package.h
+
9
−
9
View file @
e5aee687
...
...
@@ -37,7 +37,7 @@ Functionality:
\li Type-safe connection of input and output signals
\li On-demand signal computation as well as a caching system for signal values allow fast
computation of signal values, which is a critical point for real-time systems\n
*
See \ref scriptingabout
See \ref scriptingabout
\section overview Code overview
...
...
@@ -62,7 +62,7 @@ are also templated after the type of data they accept or provide. For example:
(example)
For a more detailed programmer-oriented description of signals, please see \ref signals
\section scriptingabout Note about the scripting language
\section scriptingabout Note
s
about the scripting language
The scripting language allows entities to define their own commands, and
provides a basic framework for working with the dynamic-graph.
...
...
@@ -79,11 +79,11 @@ class an existing entity.
\code unloadPlugin <path/file.so> \endcode unloads a plugin.
\code help \endcode lists available functions.
\code set <obj.signal> <value> \endcode defines an input signal to a specific, constant, value.
\code get <obj.signal> <value> \endcode
\code get <obj.signal> <value> \endcode
prints out a signal value.
\code compute <obj.sig> <time> \endcode computes an output signal and sets the associated time to time.
\section usecase How to use this package
1) Programmatically
1) Programmatically
\n
This code implements the factory design pattern, making creation of entities
available to packages depending on the dynamic-graph API.
...
...
@@ -95,7 +95,7 @@ examples in the SOT documentation to learn how).
The Factory can then create instances of these objects and subsequently
register them in the Pool, where they can be listed, accessed, and acted upon
(see
sot
PoolStorage documentation). Basic commands defined by entities include
(see PoolStorage documentation). Basic commands defined by entities include
signal connection graph file generation, help and name print, and signals.
Finally, a shell (command-line) interface is made available thanks to the
...
...
@@ -114,10 +114,10 @@ corresponding headers in this module are:
\li g_pool: dynamicgraph::PoolStorage
\li g_shell: dynamicgraph::Interpreter
For an example of a program creating entities
programmatically
, see the unit test
For an example of a program creating entities
in C++
, see the unit test
test_pool.cpp (in your package source directory/unitTesting).
2) Through scripts
2) Through scripts
\n
The program \ref dgshell_doc can be used to have scripting access to the dynamic-graph
library, where you can execute scripts and commands, load plugins, create entities and connect signals.
...
...
@@ -138,12 +138,12 @@ IEEE Trans. on Robotics, 23(1):60-72, February 2007
\ingroup dgraph
@{
Classes that make up the core of the dynamic-graph library are listed here.
Classes
, entities and binaries
that make up the core of the dynamic-graph library are listed here.
@}
\ingroup signals
@{
This part provides the mechanism to transfer information
from one
feature
to another. There are three main types of signals,
from one
entity
to another. There are three main types of signals,
all deriving from the common class dynamicgraph::SignalBase :
\li dynamicgraph::Signal
\li dynamicgraph::SignalPtr
...
...
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