Skip to content

Commit

Permalink
[visualization] Repair meldis --host option
Browse files Browse the repository at this point in the history
  • Loading branch information
rpoyner-tri committed Jul 11, 2022
1 parent ba73941 commit f54acba
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion bindings/pydrake/visualization/meldis.py
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,8 @@ def __init__(self, *, meshcat_host=None, meshcat_port=None):
lcm_url = self._lcm.get_lcm_url()
_logger.info(f"Meldis is listening for LCM messages at {lcm_url}")

params = MeshcatParams(host="localhost", port=meshcat_port,
params = MeshcatParams(host=meshcat_host or "localhost",
port=meshcat_port,
show_stats_plot=False)
self.meshcat = Meshcat(params=params)

Expand Down

0 comments on commit f54acba

Please sign in to comment.