-
Notifications
You must be signed in to change notification settings - Fork 5
Closed
Labels
bugSomething isn't workingSomething isn't working
Milestone
Description
Describe the bug
Need to verify if dSPACE/Simulink client can properly reconnect to TrafficLayer after restart. Previously, reconnection failed after first use. Issue #66 added graceful shutdown, but unclear if this fully resolves dSPACE reconnection.
To Reproduce
- Start TrafficLayer.exe with
EnableXil: true(XIL port 420) - Connect dSPACE/Simulink model - verify simulation works
- Stop Simulink model
- Close TrafficLayer.exe (any method)
- Restart TrafficLayer.exe
- Attempt to reconnect Simulink model
- Check if connection succeeds or fails
Expected Behavior
After #66 graceful shutdown, dSPACE should reconnect without errors.
Investigation Needed
- Test reconnection with current code (post PR #66/graceful shutdown #74)
- Verify shutdown signal (state=0) reaches XIL clients
- Check Simulink S-function handles shutdown properly
- Verify socket cleanup on both sides
Environment
- MATLAB/Simulink/dSPACE version: 2024a
- SUMO version: 1.21
Additional context
Related to closed #66 (graceful shutdown). May need dSPACE-side socket cleanup or SO_REUSEADDR configuration. Test with config_RS_SimulinkRS.yaml.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working