Skip to content

Commit e40998c

Browse files
1 parent c0b7999 commit e40998c

File tree

4 files changed

+38
-2
lines changed

4 files changed

+38
-2
lines changed

doxygen_cxx/classdrake_1_1lcm_1_1_drake_lcm.html

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,8 @@
168168
<div class="contents">
169169
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
170170
<div class="textblock"><p>A wrapper around a <em>real</em> LCM instance. </p>
171-
<p>See <a class="el" href="group__allow__network.html">DRAKE_ALLOW_NETWORK</a> for an environment variable option to disable LCM network traffic (i.e., only allowing <code>memq://</code> URLs). </p>
171+
<p>See <a class="el" href="group__allow__network.html">DRAKE_ALLOW_NETWORK</a> for an environment variable option to disable LCM network traffic (i.e., only allowing <code>memq://</code> URLs).</p>
172+
<p>For network issues on macOS, see <a href="https://drake.mit.edu/troubleshooting.html#lcm-macos">https://drake.mit.edu/troubleshooting.html#lcm-macos</a>. </p>
172173
</div>
173174
<p><code>#include &lt;drake/lcm/drake_lcm.h&gt;</code></p>
174175
<table class="memberdecls">

pydrake/pydrake.lcm.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,8 @@
131131
<p>See allow_network “DRAKE_ALLOW_NETWORK” for an environment variable
132132
option to disable LCM network traffic (i.e., only allowing <code class="docutils literal notranslate"><span class="pre">memq://</span></code>
133133
URLs).</p>
134+
<p>For network issues on macOS, see
135+
<a class="reference external" href="https://drake.mit.edu/troubleshooting.html#lcm-macos">https://drake.mit.edu/troubleshooting.html#lcm-macos</a>.</p>
134136
<dl class="py method">
135137
<dt class="sig sig-object py" id="pydrake.lcm.DrakeLcm.__init__">
136138
<span class="sig-name descname"><span class="pre">__init__</span></span><span class="sig-paren">(</span><em class="sig-param"><span class="o"><span class="pre">*</span></span><span class="n"><span class="pre">args</span></span></em>, <em class="sig-param"><span class="o"><span class="pre">**</span></span><span class="n"><span class="pre">kwargs</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#pydrake.lcm.DrakeLcm.__init__" title="Permalink to this definition"></a></dt>

pydrake/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.

troubleshooting.html

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -170,6 +170,10 @@ <h5>Table of Contents</h5>
170170
<li><a href="#build-oom" id="markdown-toc-build-oom">Out of memory</a></li>
171171
</ul>
172172
</li>
173+
<li><a href="#network-configuration" id="markdown-toc-network-configuration">Network Configuration</a> <ul>
174+
<li><a href="#lcm-macos" id="markdown-toc-lcm-macos">LCM on macOS</a></li>
175+
</ul>
176+
</li>
173177
</ul>
174178

175179
</div>
@@ -415,6 +419,35 @@ <h2 id="build-oom">Out of memory</h2>
415419
propagate through to affect the concurrency of most of Drake’s build steps; you
416420
need to configure the dotfile in order to control the build concurrency.</p>
417421

422+
<h1 id="network-configuration">Network Configuration</h1>
423+
424+
<h2 id="lcm-macos">LCM on macOS</h2>
425+
426+
<p>When building and testing Drake from source on macOS 15 (Sequoia), you may
427+
encounter issues with <a href="https://lcm-proj.github.io/lcm/index.html">LCM</a>.
428+
In particular, an error message that can arise is: “LCM self test failed!!
429+
Check your routing tables and firewall settings.” LCM relies on
430+
<a href="https://lcm-proj.github.io/lcm/content/multicast-setup.html">UDP Multicast</a>
431+
over loopback, so multicast traffic must be enabled over the loopback
432+
interface on your computer in order for it to work.</p>
433+
434+
<p>Sometimes this is not explicitly enabled on macOS. If you see this error,
435+
check the routing table by running <code class="language-plaintext highlighter-rouge">netstat -nr</code>. The following entry in the
436+
IPv4 table is correct:</p>
437+
438+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>Internet:
439+
Destination Gateway Flags Netif Expire
440+
...
441+
224.0.0/4 lo0 UmS lo0
442+
</code></pre></div> </div>
443+
444+
<p>If you see a different interface for this address, such as <code class="language-plaintext highlighter-rouge">en0</code>, then
445+
run the following to change it to loopback (<code class="language-plaintext highlighter-rouge">lo0</code>):</p>
446+
447+
<div class="language-plaintext highlighter-rouge"><div class="highlight"><pre class="highlight"><code>sudo route -nv delete 224.0.0.0/4
448+
sudo route -nv add -net 224.0.0.0/4 -interface lo0
449+
</code></pre></div> </div>
450+
418451
<!-- Links to the various Drake doxygen pages.
419452
Order determined by directory structure first and names second.
420453
-->

0 commit comments

Comments
 (0)