Repository navigation
Add external-controller relay channels - #40
Merged
Merged
Conversation
Adds two channels to the relay so an external experiment pipeline can join the existing robot <-> neuronavigation conversation: - a new from_external_controller event; messages arriving on it are forwarded to to_robot and to_neuronavigation - robot and neuronavigation traffic is additionally copied to to_external_controller 19 lines, additive only -- the existing from_robot / from_neuronavigation behavior and payloads are unchanged, so current clients keep working unmodified.
Replace exact pins with compatible ranges so the robot controller can share the NeuroPilot environment. Keep the numpy 1.26 line and the robot's socketio, scipy, matplotlib, and requests APIs within their existing major versions.
rmatsuda
marked this pull request as ready for review
November 21, 2026 12:05
Collaborator
|
Awesome!! Thanks! Merging |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of the NeuroPilot project.
Summary
Let an external experiment pipeline join the existing robot <-> neuronavigation
relay conversation.
Changes
from_external_controllerSocket.IO event.to_robotandto_neuronavigation.to_external_controller.from_robotandfrom_neuronavigationforwarding behavior andpayloads unchanged.
environment while staying within the existing major API versions.
Why
The NeuroPilot controller needs to observe robot and navigation traffic and
send its own commands without changing the existing robot or InVesalius
clients.