Skip to content

Commit 118db7d

Browse files
author
Guilhem Saurel
committed
1 parent ef80e69 commit 118db7d

35 files changed

+21
-1266
lines changed

CMakeLists.txt

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,6 @@ GENERATE_CONFIGURATION_HEADER(
3838
GENERATE_CONFIGURATION_HEADER(
3939
${HEADER_DIR}
4040
config-tracer-real-time.hh DG_TRACERREALTIME tracer_real_time_EXPORTS)
41-
GENERATE_CONFIGURATION_HEADER(
42-
${HEADER_DIR}
43-
config-shell-procedure.hh DG_SHELLPROCEDURE shell_procedure_EXPORTS)
4441
GENERATE_CONFIGURATION_HEADER(
4542
${HEADER_DIR}
4643
config-contiifstream.hh DG_CONTIIFSTREAM contiifstream_EXPORTS)
@@ -65,7 +62,6 @@ SEARCH_FOR_EIGEN()
6562

6663
ADD_SUBDIRECTORY(src)
6764
ADD_SUBDIRECTORY(include)
68-
ADD_SUBDIRECTORY(doc)
6965
ADD_SUBDIRECTORY(tests)
7066
ADD_SUBDIRECTORY(share)
7167

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ CHANGELOG
33

44
[Current]
55

6+
* remove shell
7+
68
[v3.0.0]
79
* Replace jrl-mal with eigen
810
* Add ostream and isteram operators for Eigen Classes

doc/CMakeLists.txt

Lines changed: 0 additions & 25 deletions
This file was deleted.

doc/additionalDoc/dgshell_doc.h

Lines changed: 0 additions & 14 deletions
This file was deleted.

doc/additionalDoc/package.h

Lines changed: 9 additions & 49 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ for a given problem. It is the basis for the stack of tasks operation.
3838
<p>To give a more concrete example, the real-time control used by the Gepetto group for the humanoid robot HRP-2
3939
is detailled.</p>
4040
<p>
41-
Real-time control system are usually driven by a cyclic computational node which
41+
Real-time control system are usually driven by a cyclic computational node which
4242
needs to send a control reference value to each motors of a robot. To compute this
4343
control reference values, sensor values need to be provided.
4444
In the Stack-Of-Tasks special entities called Device are used to
@@ -52,13 +52,13 @@ This control vector is the result of a computation solving a control problem.
5252
The entity in charge of solving this control problem is called "Solver" in the previous
5353
figure.
5454
In the SoT framework it is often cast as an optimization problem.
55-
This optimization problem is build using a control "Task" (not to be confused with the
55+
This optimization problem is build using a control "Task" (not to be confused with the
5656
general word task). A control "Task" regulates the difference with a "Feature" computed
5757
on the current robot state and a "Desired Feature". For instance when walking, the regulated
58-
feature is the robot's Center-Of-Mass (CoM) position. The "Feature" is computed using a
58+
feature is the robot's Center-Of-Mass (CoM) position. The "Feature" is computed using a
5959
library using the robot model and the sensor value. The entity making this computation is "Dyn".
6060
A walking pattern generator using foot-steps position given in advance generates the desired
61-
value for the CoM.
61+
value for the CoM.
6262
Note that the "Dyn" entity uses the sensor provided by the entity "Robot". </p>
6363
6464
<p>
@@ -90,7 +90,7 @@ See \ref scriptingabout
9090
9191
\subsection entity_definition General definition
9292
Despite the fact that it looks very similar to a ROS node or a CORBA/OpenRTM server, an entity is simply a C++ object.
93-
The main idea is that this entity is providing mostly a data-driven functionnality working at very high rate (\f$ 200 Hz\f$ or \f$ 1 kHz \f$)
93+
The main idea is that this entity is providing mostly a data-driven functionnality working at very high rate (\f$ 200 Hz\f$ or \f$ 1 kHz \f$)
9494
and should have a minimal computational time foot-print.
9595
9696
For this signals (or ports to use a more classical terminology) are providing a time dependency between data.
@@ -101,7 +101,7 @@ but in general the external data is based upon the sensor values provided by a "
101101
For this reason the signal evaluations are realized through the cascade of dependencies and start from the evaluation of an input
102102
signal of a periodic node (in general the device). This is realized inside a \b real-time thread.
103103
104-
To add flexibility to a node, it is possible to add command with arguments to modify the internal behavior of the entity
104+
To add flexibility to a node, it is possible to add command with arguments to modify the internal behavior of the entity
105105
or get information from the entity.
106106
As a command is in general asynchronous and rare with respect to the data-flow scheme for the signals the command is in general
107107
executed in a \b none-real-time thread.
@@ -123,8 +123,6 @@ the entities' names in the scripts; loading this file with the plugin loader wil
123123
enable creation of this entity through the factory.
124124
\li \ref tracerdoc
125125
\li \ref tracerrealtimedoc
126-
\li ShellProcedure
127-
\li \ref shellfunctions_doc
128126
129127
\subsection specific_semantics Specific semantics with entities
130128
@@ -152,10 +150,10 @@ The class \ref dynamicgraph::FactoryStorage is a singleton which register the en
152150
\subsection pool Pool
153151
The class \ref dynamicgraph::PoolStorage keeps track of the entities instanciated with the factory.
154152
The entities are the graph nodes. Signals are constructed during the class instanciation, they do not live independently
155-
from the entities. Signals are the directed edges of the graph.
156-
The pool can write a file representing the graph of entities.
153+
from the entities. Signals are the directed edges of the graph.
154+
The pool can write a file representing the graph of entities.
157155
158-
\subsection scriptingabout Building the graph
156+
\subsection scriptingabout Building the graph
159157
160158
This package provides a scripting language allows entities to define their own commands, and
161159
provides a basic framework to build dynamically the computational graph.
@@ -175,16 +173,6 @@ register them in the Pool, where they can be listed, accessed, and acted upon
175173
(see PoolStorage documentation). Basic commands defined by entities include
176174
signal connection graph file generation, help and name print, and signals.
177175
178-
Finally, a shell (command-line) interface is made available thanks to the
179-
Interpreter class (see the file test_shell.cpp for an example). Objects deriving from
180-
Entity can expose their own commands by overriding the Entity's default
181-
commandLine() method. It is possible to load a plugin to register custom
182-
shell commands; see shell-functions and shell-procedure for an example.
183-
184-
Some basic shell functions, and support for procedures, are also included.
185-
For a complete list of those, load the plugin shell-functions.so and type 'help'
186-
at the command line.
187-
188176
The singletons made available by including the corresponding headers in this
189177
module are:
190178
\li dynamicgraph::FactoryStorage
@@ -193,13 +181,6 @@ module are:
193181
For an example of a program creating entities in C++, see the unit test
194182
test_pool.cpp (in your package source directory/unitTesting).
195183
196-
\subsection use_scripts Through scripts
197-
The program \ref dgshell_doc can be used to have scripting access to the dynamic-graph
198-
library, where you can execute scripts and commands, load plugins, create entities and connect signals.
199-
200-
Here is a typical use case for programmers:
201-
\image html figures/use-case.png
202-
203184
\subsection Tutorial
204185
A tutorial is available <a href="http://stack-of-tasks.github.io/dynamic-graph-tutorial/">here</a>
205186
\section references References
@@ -217,25 +198,6 @@ IEEE Trans. on Robotics, 23(1):60-72, February 2007
217198
218199
\namespace dynamicgraph This is the namespace where every object and class of this library is located.
219200
220-
\defgroup gshellfunctions Notes about the scripting language
221-
@{
222-
A couple of functions are built-in in the interpreter and provides low-level features such as file sourcing or
223-
plug-in loading.\n
224-
These functions are:\n
225-
\code plug <obj1.sig1> <obj2.sig2> \endcode plugs the signal sig1 of obj1 to the signal sig2 of obj2. sig1 and sig2
226-
have to be of the same type. sig1 has to be an output signal and sig2 an input signal.
227-
\code new <class> <object> \endcode instantiates an object object of class class. object has to be a free identifier and
228-
class an existing entity.
229-
\code destroy <object> \endcode deletes an instance previously created.
230-
\code run <script.txt> \endcode sources (i.e. read and interpret) an external file.
231-
\code loadPlugin <file.so> <directory> \endcode loads a plugin called file.so and located in the directory directory.
232-
\code unloadPlugin <path/file.so> \endcode unloads a plugin.
233-
\code help \endcode lists available functions.
234-
\code set <obj.signal> <value> \endcode defines an input signal to a specific, constant, value.
235-
\code get <obj.signal> <value> \endcode prints out a signal value.
236-
\code compute <obj.sig> <time> \endcode computes an output signal and sets the associated time to time.
237-
@}
238-
239201
\defgroup dgraph Core classes and objects
240202
@{
241203
@@ -258,8 +220,6 @@ Signals can be grouped together using dynamicgraph::SignalArray.
258220
259221
Signals implement a caching mechanism by storing the last computation time tick.
260222
261-
Some signals can be plugged ("plug" script command) into one another or set through shell commands.
262-
263223
For more information, please see the individual signal pages.
264224
265225
\b Samples

doc/additionalDoc/shellfunctions_doc.h

Lines changed: 0 additions & 45 deletions
This file was deleted.

doc/additionalDoc/tracer-real-timedoc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,7 @@ The \b TracerRealTime entity monitors a set of signals with real-time constraint
55
function is very similar to the Tracer, except that all traces are recorded to a
66
memory buffer, which can be emptied at any time.
77
\section commands Commands
8-
The \b commands that this entity exposes are (you can also type [entity name].help at the
9-
dynamic-graph shell command line to see this list):
8+
The \b commands that this entity exposes are:
109
\code
1110
empty (discards all buffers)
1211
buffersize (sets buffer size for recording)

doc/additionalDoc/tracerdoc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,7 @@ the tracked signal values are recorded and traced to a file. The behavior of the
66
function can be changed, from printing to a file immediately after recording, to printing out
77
only when asked explicitly.
88
\section commands Commands
9-
The \b commands that this entity exposes are (you can also type [entity name].help at the
10-
dynamic-graph shell command line to see this list):
9+
The \b commands that this entity exposes are:
1110
\code
1211
open, close (a file);
1312
add (a signal)

doc/dg-shell-plugin.pod.in

Lines changed: 0 additions & 27 deletions
This file was deleted.

doc/dg-shell.pod.in

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)