Description:
I encountered an error related to Multiplexer and InputPort when running the 02_hardware_station_io.ipynb notebook locally, though it functions correctly in Deepnote. Below is the problematic code snippet along with the error message:
Code Snippet:
scenario_data = """
directives:
- add_directives:
file: package://manipulation/clutter.dmd.yaml
model_drivers:
iiwa: !IiwaDriver
hand_model_name: wsg
wsg: !SchunkWsgDriver {}
"""
scenario = LoadScenario(data=scenario_data)
station = MakeHardwareStation(scenario, meshcat=meshcat)
context = station.CreateDefaultContext()
station.GetInputPort("wsg.position").FixValue(context, [0.1])
station.ForcedPublish(context) # Error occurs on this line
Error Message:
RuntimeError: InputPort::Eval(): required InputPort[0] (u0) of System ::station::IiwaDriver(iiwa)::velocity_interpolator::drake/systems/Multiplexer@000000017a50aad0 (Multiplexer<double>) is not connected
Environment Details:
Local setup: Manipulation 2024.4.22, Drake 1.28.0, MacOS 14.
Deepnote functions correctly with the same notebook and scenario.
Question:
Could this issue be due to version incompatibility between Manipulation and Drake? Any insights or solutions would be greatly appreciated!
Description: I encountered an error related to
Multiplexer
andInputPort
when running the02_hardware_station_io.ipynb
notebook locally, though it functions correctly in Deepnote. Below is the problematic code snippet along with the error message:Code Snippet:
Error Message:
Environment Details:
2024.4.22
, Drake1.28.0
, MacOS 14.Question: Could this issue be due to version incompatibility between Manipulation and Drake? Any insights or solutions would be greatly appreciated!