Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
S
sot-core
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
sot-core
Commits
6b028cce
Commit
6b028cce
authored
2 years ago
by
Florent Lamiraux
Browse files
Options
Downloads
Patches
Plain Diff
[Event] Add documentation.
parent
54e1202d
No related branches found
No related tags found
No related merge requests found
Pipeline
#19982
failed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/sot/core/event.hh
+21
-0
21 additions, 0 deletions
include/sot/core/event.hh
with
21 additions
and
0 deletions
include/sot/core/event.hh
+
21
−
0
View file @
6b028cce
...
...
@@ -18,6 +18,27 @@
namespace
dynamicgraph
{
namespace
sot
{
/// Event
///
/// This entity detects changes in value of an input boolean signal
///
/// Input signal is
/// - condition (boolean),
/// Output signal is
/// - check
/// output value is true if value of input signal changes with respect to the
/// evaluation.
///
/// Method addSignal stores signals that are recomputed each time the output
/// signal is recomputed and the value is true. One typical use case of this
/// feature consists in plugging the output signal to a ROS topic using
/// dynamicgraph::RosPublish entity (see dynamic_graph_bridge) and to call
/// addSignal with the trigger signal of the RosPublish entity as the input.
/// Thus each time the output signal changes value, the new value is published
/// to the ROS topic.
///
/// If command setOnlyUp is called with true as input, signals are recomputed
/// only if the output value switches from false to true.
class
SOT_CORE_DLLAPI
Event
:
public
dynamicgraph
::
Entity
{
DYNAMIC_GRAPH_ENTITY_DECL
();
...
...
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