Skip to content

Commit

Permalink
deploy: a9677d0
Browse files Browse the repository at this point in the history
  • Loading branch information
LSinterbotix authored and LSinterbotix committed Nov 2, 2023
1 parent 247dad0 commit bb636ce
Show file tree
Hide file tree
Showing 5 changed files with 49 additions and 3 deletions.
26 changes: 26 additions & 0 deletions _sources/troubleshooting.rst
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,32 @@ Create® 3 base not responding to commands, can't see topics or webserver from L
.. _`adapter board`: https://iroboteducation.github.io/create3_docs/hw/adapter/
.. _`iRobot® Create® 3 Releases`: https://iroboteducation.github.io/create3_docs/releases/overview/

You want to reset the Create® 3 base's odometry but don't want to power cycle it
--------------------------------------------------------------------------------

The Create® 3 base's odometry is reset only when it is power cycled. To reset the odometry without
power cycling the base, you can use the ``ros2 service call`` command line tool to call the
``reset_pose`` service.

.. tabs::

.. group-tab:: ROS 1

The ROS 2 distribution and Create® 3 messages workspace must be sources first since the
service is only available in ROS 2.

.. code-block:: console
$ source /opt/ros/galactic/setup.bash
$ source ~/create3_ros2_ws/install/setup.bash
$ ros2 service call /mobile_base/reset_pose irobot_create_msgs/srv/ResetPose {}
.. group-tab:: ROS 2

.. code-block:: console
$ ros2 service call /mobile_base/reset_pose irobot_create_msgs/srv/ResetPose {}
Less Common Issues
==================

Expand Down
2 changes: 1 addition & 1 deletion ros_interface/ros1/software_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ <h3><a class="toc-backref" href="#id5">AMD64 Architecture</a><a class="headerlin
to run the software installation yourself.</p>
</div>
<div class="sphinx_collapse docutils container">
<input class="sphinx_collapse__input" id="29a16e62-9b01-4212-8436-8141b28edd38" name="29a16e62-9b01-4212-8436-8141b28edd38" type="checkbox"><label class="sphinx_collapse__label" for="29a16e62-9b01-4212-8436-8141b28edd38"><i class="sphinx_collapse__icon"></i>Click here to reveal installation steps, acknowledging the note above.</label><div class="sphinx_collapse__content docutils container">
<input class="sphinx_collapse__input" id="f967829f-f37d-4ef2-b4bd-14f66e7e53be" name="f967829f-f37d-4ef2-b4bd-14f66e7e53be" type="checkbox"><label class="sphinx_collapse__label" for="f967829f-f37d-4ef2-b4bd-14f66e7e53be"><i class="sphinx_collapse__icon"></i>Click here to reveal installation steps, acknowledging the note above.</label><div class="sphinx_collapse__content docutils container">
<p>After powering on the NUC, a login screen should appear with <code class="docutils literal notranslate"><span class="pre">locobot</span></code> as the user name.
Conveniently, the password is the same as the user name so type <code class="docutils literal notranslate"><span class="pre">locobot</span></code> and hit
<kbd class="kbd docutils literal notranslate">Enter</kbd>. Next, update the computer by performing the following steps.</p>
Expand Down
2 changes: 1 addition & 1 deletion ros_interface/ros2/software_setup.html
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ <h3><a class="toc-backref" href="#id5">AMD64 Architecture</a><a class="headerlin
to run the software installation yourself.</p>
</div>
<div class="sphinx_collapse docutils container">
<input class="sphinx_collapse__input" id="e4874180-0ceb-4485-ba86-79d30808d1af" name="e4874180-0ceb-4485-ba86-79d30808d1af" type="checkbox"><label class="sphinx_collapse__label" for="e4874180-0ceb-4485-ba86-79d30808d1af"><i class="sphinx_collapse__icon"></i>Click here to reveal installation steps, acknowledging the note above.</label><div class="sphinx_collapse__content docutils container">
<input class="sphinx_collapse__input" id="062eaa17-bda8-4a8b-b023-5cc75e26a37e" name="062eaa17-bda8-4a8b-b023-5cc75e26a37e" type="checkbox"><label class="sphinx_collapse__label" for="062eaa17-bda8-4a8b-b023-5cc75e26a37e"><i class="sphinx_collapse__icon"></i>Click here to reveal installation steps, acknowledging the note above.</label><div class="sphinx_collapse__content docutils container">
<p>After powering on the NUC via the steps in the previous section, a login screen should appear
with <code class="docutils literal notranslate"><span class="pre">locobot</span></code> as the user name. Conveniently, the password is the same as the user name so
type <code class="docutils literal notranslate"><span class="pre">locobot</span></code> and hit <kbd class="kbd docutils literal notranslate">Enter</kbd>. Next, update the computer by performing the following
Expand Down
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

20 changes: 20 additions & 0 deletions troubleshooting.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
<script src="_static/doctools.js"></script>
<script src="_static/clipboard.min.js"></script>
<script src="_static/copybutton.js"></script>
<script src="_static/tabs.js"></script>
<script src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
Expand Down Expand Up @@ -82,6 +83,7 @@
<li class="toctree-l3"><a class="reference internal" href="#can-t-see-topics-published-by-locobot-on-remote-using-ros-2">Can't see topics published by LoCoBot on remote using ROS 2</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-3-base-stutters-or-reflexed-are-triggered-when-driven">Create® 3 base stutters or reflexed are triggered when driven</a></li>
<li class="toctree-l3"><a class="reference internal" href="#create-3-base-not-responding-to-commands-can-t-see-topics-or-webserver-from-locobot-computer-ros-1-or-ros-2">Create® 3 base not responding to commands, can't see topics or webserver from LoCoBot computer (ROS 1 or ROS 2)</a></li>
<li class="toctree-l3"><a class="reference internal" href="#you-want-to-reset-the-create-3-base-s-odometry-but-don-t-want-to-power-cycle-it">You want to reset the Create® 3 base's odometry but don't want to power cycle it</a></li>
</ul>
</li>
<li class="toctree-l2"><a class="reference internal" href="#less-common-issues">Less Common Issues</a><ul>
Expand Down Expand Up @@ -191,6 +193,24 @@ <h3>Create® 3 base not responding to commands, can't see topics or webserver fr
</li>
</ul>
</div>
<div class="section" id="you-want-to-reset-the-create-3-base-s-odometry-but-don-t-want-to-power-cycle-it">
<h3>You want to reset the Create® 3 base's odometry but don't want to power cycle it<a class="headerlink" href="#you-want-to-reset-the-create-3-base-s-odometry-but-don-t-want-to-power-cycle-it" title="Permalink to this headline"></a></h3>
<p>The Create® 3 base's odometry is reset only when it is power cycled. To reset the odometry without
power cycling the base, you can use the <code class="docutils literal notranslate"><span class="pre">ros2</span> <span class="pre">service</span> <span class="pre">call</span></code> command line tool to call the
<code class="docutils literal notranslate"><span class="pre">reset_pose</span></code> service.</p>
<div class="sphinx-tabs docutils container">
<div aria-label="Tabbed content" class="closeable" role="tablist"><button aria-controls="panel-0-Uk9TIDE=" aria-selected="true" class="sphinx-tabs-tab group-tab" id="tab-0-Uk9TIDE=" name="Uk9TIDE=" role="tab" tabindex="0">ROS 1</button><button aria-controls="panel-0-Uk9TIDI=" aria-selected="false" class="sphinx-tabs-tab group-tab" id="tab-0-Uk9TIDI=" name="Uk9TIDI=" role="tab" tabindex="-1">ROS 2</button></div><div aria-labelledby="tab-0-Uk9TIDE=" class="sphinx-tabs-panel group-tab" id="panel-0-Uk9TIDE=" name="Uk9TIDE=" role="tabpanel" tabindex="0"><p>The ROS 2 distribution and Create® 3 messages workspace must be sources first since the
service is only available in ROS 2.</p>
<div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span><span class="nb">source</span><span class="w"> </span>/opt/ros/galactic/setup.bash
<span class="gp">$ </span><span class="nb">source</span><span class="w"> </span>~/create3_ros2_ws/install/setup.bash
<span class="gp">$ </span>ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w"> </span>/mobile_base/reset_pose<span class="w"> </span>irobot_create_msgs/srv/ResetPose<span class="w"> </span><span class="o">{}</span>
</pre></div>
</div>
</div><div aria-labelledby="tab-0-Uk9TIDI=" class="sphinx-tabs-panel group-tab" hidden="true" id="panel-0-Uk9TIDI=" name="Uk9TIDI=" role="tabpanel" tabindex="0"><div class="highlight-console notranslate"><div class="highlight"><pre><span></span><span class="gp">$ </span>ros2<span class="w"> </span>service<span class="w"> </span>call<span class="w"> </span>/mobile_base/reset_pose<span class="w"> </span>irobot_create_msgs/srv/ResetPose<span class="w"> </span><span class="o">{}</span>
</pre></div>
</div>
</div></div>
</div>
</div>
<div class="section" id="less-common-issues">
<h2>Less Common Issues<a class="headerlink" href="#less-common-issues" title="Permalink to this headline"></a></h2>
Expand Down

0 comments on commit bb636ce

Please sign in to comment.