Skip to content

Commit

Permalink
Deploying to gh-pages from @ d0e5f05 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
whoenig committed Oct 24, 2023
1 parent a36cd02 commit ba09b71
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 2 deletions.
13 changes: 12 additions & 1 deletion _sources/howto.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,15 @@ To close the logblocks again, run:
.. code-block:: bash
ros2 service call /cf2/remove_logging crazyflie_interfaces/srv/RemoveLogging "{topic_name: 'topic_test'}"
ros2 service call /cf2/remove_logging crazyflie_interfaces/srv/RemoveLogging "{topic_name: 'pose'}"
ros2 service call /cf2/remove_logging crazyflie_interfaces/srv/RemoveLogging "{topic_name: 'pose'}"
Run Tests Locally
-----------------

This requires some updated pip packages for testing, see https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html, otherwise the reported failures will be inconsistent with CI.

Then execute:

```
colcon test --event-handlers=console_cohesion+ --return-code-on-test-failure --packages-select crazyflie_py
```
9 changes: 9 additions & 0 deletions howto.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,7 @@
<li class="toctree-l2"><a class="reference internal" href="#debugging">Debugging</a></li>
<li class="toctree-l2"><a class="reference internal" href="#usage-from-the-command-line">Usage from the command line</a></li>
<li class="toctree-l2"><a class="reference internal" href="#enabling-logblocks-at-runtime">Enabling Logblocks at runtime</a></li>
<li class="toctree-l2"><a class="reference internal" href="#run-tests-locally">Run Tests Locally</a></li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="faq.html">Frequently Asked Questions</a></li>
Expand Down Expand Up @@ -159,6 +160,14 @@ <h2>Enabling Logblocks at runtime<a class="headerlink" href="#enabling-logblocks
</pre></div>
</div>
</section>
<section id="run-tests-locally">
<h2>Run Tests Locally<a class="headerlink" href="#run-tests-locally" title="Link to this heading"></a></h2>
<p>This requires some updated pip packages for testing, see <a class="reference external" href="https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html">https://docs.ros.org/en/humble/Installation/Alternatives/Ubuntu-Development-Setup.html</a>, otherwise the reported failures will be inconsistent with CI.</p>
<p>Then execute:</p>
<p><code class="docutils literal notranslate"><span class="pre">`</span>
<span class="pre">colcon</span> <span class="pre">test</span> <span class="pre">--event-handlers=console_cohesion+</span> <span class="pre">--return-code-on-test-failure</span> <span class="pre">--packages-select</span> <span class="pre">crazyflie_py</span>
<span class="pre">`</span></code></p>
</section>
</section>


Expand Down
Loading

0 comments on commit ba09b71

Please sign in to comment.