From e3f0c48130540c933d5f948282d955046f4f93cc Mon Sep 17 00:00:00 2001 From: "Christian Y. Brenninkmeijer" Date: Mon, 3 Feb 2025 14:58:19 +0000 Subject: [PATCH] don't pass a module as a parameter --- examples/external_devices_examples/pushbot_ethernet_example.py | 2 +- examples/external_devices_examples/pushbot_light_follower.py | 2 +- .../external_devices_examples/pushbot_spinnaker_link_example.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/external_devices_examples/pushbot_ethernet_example.py b/examples/external_devices_examples/pushbot_ethernet_example.py index 852089e8..eea29f43 100644 --- a/examples/external_devices_examples/pushbot_ethernet_example.py +++ b/examples/external_devices_examples/pushbot_ethernet_example.py @@ -82,7 +82,7 @@ )) retina_viewer = p.external_devices.PushBotRetinaViewer( - retina_resolution, pushbot_retina.label, p) + retina_resolution, pushbot_retina.label) p.external_devices.activate_live_output_for( pushbot_retina, database_notify_port_num=retina_viewer.port) diff --git a/examples/external_devices_examples/pushbot_light_follower.py b/examples/external_devices_examples/pushbot_light_follower.py index ef0052fe..a932edd0 100644 --- a/examples/external_devices_examples/pushbot_light_follower.py +++ b/examples/external_devices_examples/pushbot_light_follower.py @@ -41,7 +41,7 @@ retina_label = "Retina" retina_viewer = p.external_devices.PushBotRetinaViewer( - retina_resolution, retina_label, p) + retina_resolution, retina_label) # Simulate with 1 ms time step p.setup(1.0) diff --git a/examples/external_devices_examples/pushbot_spinnaker_link_example.py b/examples/external_devices_examples/pushbot_spinnaker_link_example.py index ba9cce6a..30437527 100644 --- a/examples/external_devices_examples/pushbot_spinnaker_link_example.py +++ b/examples/external_devices_examples/pushbot_spinnaker_link_example.py @@ -81,7 +81,7 @@ label="Retina") retina_viewer = p.external_devices.PushBotRetinaViewer( - retina_resolution, pushbot_retina.label, p) + retina_resolution, pushbot_retina.label) p.external_devices.activate_live_output_for( pushbot_retina, database_notify_port_num=retina_viewer.port)