LCM 自检失败,检查路由表和防火墙设置

LCM self test failed, Check your routing tables and firewall settings

我有 ubuntu 20.04,我安装了 drake 并尝试了 运行 示例。 当我尝试 运行 bazel-bin/tools/drake_visualizer & bazel-bin/examples/multibody/inclined_plane_with_body/inclined_plane_with_body 时出现错误:

[1] 121628
LCM self test failed!!
Check your routing tables and firewall settings
LCM self test failed!!
Check your routing tables and firewall settings
*** buffer overflow detected ***: terminated
LCM self test failed!!
Check your routing tables and firewall settings
[1]+  Aborted                 (core dumped) bazel-bin/tools/drake_visualizer

LCM 的网络配置出现问题。例如,如果没有 lo(环回)设备,或者它被禁用,或者配置奇怪。

有关提示,请参阅 https://lcm-proj.github.io/multicast_setup.html