Skip to content

Commit 0ff67c2

Browse files
committed
deploy: 09d2ad8
1 parent 733254b commit 0ff67c2

66 files changed

Lines changed: 41 additions & 125 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
-14 KB
Binary file not shown.
-4.79 KB
Binary file not shown.
-4.79 KB
Binary file not shown.

clips_executive/_sources/tutorials/index.rst.txt

Lines changed: 0 additions & 26 deletions

clips_executive/_sources/user_docs/tutorials/index.rst.txt

Lines changed: 0 additions & 26 deletions

clips_executive/objects.inv

-17 Bytes
Binary file not shown.

clips_executive/plugins/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@
9898
</ul>
9999
</dd>
100100
</dl>
101-
<p>See also the tutorial on <a class="reference internal" href="../user_docs/tutorials/index.html#writing-a-plugin"><span class="std std-ref">Writing a Plugin</span></a> to learn how to write your own plugins.</p>
101+
<p>See also the tutorial on <span class="xref std std-ref">Writing a Plugin</span> to learn how to write your own plugins.</p>
102102
<p>The ROS2 CLIPS-Executive provides several plugins out-of-the-box that are described here.</p>
103103
<div class="toctree-wrapper compound">
104104
<ul>

clips_executive/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

clips_executive/tutorials/hello_world.html

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,23 @@
4949
<li class="toctree-l1"><a class="reference internal" href="../plugins/index.html">CLIPS Plugins</a></li>
5050
<li class="toctree-l1"><a class="reference internal" href="../plugin_generator/index.html">ROS Interface Plugin Generator</a></li>
5151
<li class="toctree-l1 current"><a class="reference internal" href="index.html">Tutorials</a><ul class="current">
52-
<li class="toctree-l2"><a class="reference internal" href="index.html#controlling-a-turtle-via-clips">Controlling a Turtle via CLIPS</a></li>
53-
<li class="toctree-l2 current"><a class="reference internal" href="index.html#writing-a-plugin">Writing a Plugin</a><ul class="current">
54-
<li class="toctree-l3 current"><a class="reference internal" href="index.html#callbacks-and-mutexes">Callbacks and Mutexes</a><ul class="current">
55-
<li class="toctree-l4 current"><a class="current reference internal" href="#">Hello World</a></li>
56-
<li class="toctree-l4"><a class="reference internal" href="ros_monitoring.html">Continuous Monitoring</a></li>
57-
<li class="toctree-l4"><a class="reference internal" href="writing_a_plugin.html">Writing a Plugin</a></li>
52+
<li class="toctree-l2 current"><a class="current reference internal" href="#">Hello World</a><ul>
53+
<li class="toctree-l3"><a class="reference internal" href="#background">Background</a></li>
54+
<li class="toctree-l3"><a class="reference internal" href="#prerequisites">Prerequisites</a></li>
55+
<li class="toctree-l3"><a class="reference internal" href="#id1">Hello World</a><ul>
56+
<li class="toctree-l4"><a class="reference internal" href="#workspace-setup">1 Workspace Setup</a></li>
57+
<li class="toctree-l4"><a class="reference internal" href="#install-directories-via-cmake">2 Install Directories via CMake</a></li>
58+
<li class="toctree-l4"><a class="reference internal" href="#adding-a-clips-file">3 Adding a CLIPS File</a></li>
59+
<li class="toctree-l4"><a class="reference internal" href="#configuring-the-cx">4 Configuring the ROS2 CLIPS-Executive</a></li>
60+
<li class="toctree-l4"><a class="reference internal" href="#running-the-code">5 Running The Code</a></li>
5861
</ul>
5962
</li>
63+
<li class="toctree-l3"><a class="reference internal" href="#summary">Summary</a></li>
64+
<li class="toctree-l3"><a class="reference internal" href="#next-steps">Next Steps</a></li>
6065
</ul>
6166
</li>
67+
<li class="toctree-l2"><a class="reference internal" href="ros_monitoring.html">Continuous Monitoring</a></li>
68+
<li class="toctree-l2"><a class="reference internal" href="writing_a_plugin.html">Writing a Plugin</a></li>
6269
</ul>
6370
</li>
6471
</ul>

clips_executive/tutorials/index.html

Lines changed: 3 additions & 29 deletions
Original file line numberDiff line numberDiff line change
@@ -49,16 +49,9 @@
4949
<li class="toctree-l1"><a class="reference internal" href="../plugins/index.html">CLIPS Plugins</a></li>
5050
<li class="toctree-l1"><a class="reference internal" href="../plugin_generator/index.html">ROS Interface Plugin Generator</a></li>
5151
<li class="toctree-l1 current"><a class="current reference internal" href="#">Tutorials</a><ul>
52-
<li class="toctree-l2"><a class="reference internal" href="#controlling-a-turtle-via-clips">Controlling a Turtle via CLIPS</a></li>
53-
<li class="toctree-l2"><a class="reference internal" href="#writing-a-plugin">Writing a Plugin</a><ul>
54-
<li class="toctree-l3"><a class="reference internal" href="#callbacks-and-mutexes">Callbacks and Mutexes</a><ul>
55-
<li class="toctree-l4"><a class="reference internal" href="hello_world.html">Hello World</a></li>
56-
<li class="toctree-l4"><a class="reference internal" href="ros_monitoring.html">Continuous Monitoring</a></li>
57-
<li class="toctree-l4"><a class="reference internal" href="writing_a_plugin.html">Writing a Plugin</a></li>
58-
</ul>
59-
</li>
60-
</ul>
61-
</li>
52+
<li class="toctree-l2"><a class="reference internal" href="hello_world.html">Hello World</a></li>
53+
<li class="toctree-l2"><a class="reference internal" href="ros_monitoring.html">Continuous Monitoring</a></li>
54+
<li class="toctree-l2"><a class="reference internal" href="writing_a_plugin.html">Writing a Plugin</a></li>
6255
</ul>
6356
</li>
6457
</ul>
@@ -89,23 +82,6 @@
8982

9083
<section id="tutorials">
9184
<span id="id1"></span><h1>Tutorials<a class="headerlink" href="#tutorials" title="Link to this heading"></a></h1>
92-
<div class="admonition-todo admonition" id="id2">
93-
<p class="admonition-title">Todo</p>
94-
<p>Add tutorials here</p>
95-
</div>
96-
<section id="controlling-a-turtle-via-clips">
97-
<h2>Controlling a Turtle via CLIPS<a class="headerlink" href="#controlling-a-turtle-via-clips" title="Link to this heading"></a></h2>
98-
</section>
99-
<section id="writing-a-plugin">
100-
<span id="id3"></span><h2>Writing a Plugin<a class="headerlink" href="#writing-a-plugin" title="Link to this heading"></a></h2>
101-
<section id="callbacks-and-mutexes">
102-
<h3>Callbacks and Mutexes<a class="headerlink" href="#callbacks-and-mutexes" title="Link to this heading"></a></h3>
103-
<p>It can be tricky to interface between ROS callbacks and CLIPS environments, especially if locks are guarding said callbacks that are not visible to the end user.
104-
As CLIPS environment access must also guarded by locks (as access is not thread-safe), this can easily create deadlocks in situations, where other functions can be called from clips that also try to acquire the lock held by a callback.</p>
105-
<p>Example: The feedback callback for action clients is guarded by a mutex that is also used by client goal handles to access members in a thread-safe manner (such as get_status()).</p>
106-
<p>A CLIPS rule that calls ClientGoalHandle::get_status() will therefore attempt to lock such a mutex while the clips lock is being held by the thread running the clips environment.
107-
If a callback is received right before, then the clips environment will stall as the function call is stuck (mutex is held by the callback function), while the callback function is stuck because it tries to acquire the lock for the clips environment (because it wants to pass the callback content to the clips environment).</p>
108-
<p>In these cases special care must be taken, e.g., by deferring CLIPS access out of scope of the mutexes guarding the callbacks.</p>
10985
<div class="toctree-wrapper compound">
11086
<ul>
11187
<li class="toctree-l1"><a class="reference internal" href="hello_world.html">Hello World</a><ul>
@@ -132,8 +108,6 @@ <h3>Callbacks and Mutexes<a class="headerlink" href="#callbacks-and-mutexes" tit
132108
</li>
133109
</ul>
134110
</div>
135-
</section>
136-
</section>
137111
</section>
138112

139113

0 commit comments

Comments
 (0)