Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support multiple robot connections #3

Open
elenzil opened this issue Jul 25, 2018 · 3 comments
Open

Support multiple robot connections #3

elenzil opened this issue Jul 25, 2018 · 3 comments

Comments

@elenzil
Copy link
Contributor

elenzil commented Jul 25, 2018

Current the API simply connects to the single robot which best satisfies the conditions. (Robot type, Robot Name, Signal Strength).

An option for extending this might be to have multiple 'robot specifiers' on the command-line, so that we could require one Dash and one Dot, for example.

eg instead of separate top-level options for --connect-type, --connect-name, it could be multiple --connect arguments, each of which is compound:
--connect "num:2 type:dash" --connect "type:dot".
That example would require connection to 2 dash robots and one dot robot.

@hawflakes
Copy link
Contributor

Would it be possible to connect to a particular robot by name?

@elenzil
Copy link
Contributor Author

elenzil commented Sep 4, 2018

@hawflakes,
currently it does accept a list of robot names as part of the 'robot filter'.
there are so many permutations of connection behavior that probably it would be best to provide more callbacks and functions at the API level. eg "OnDiscoveredRobot()" and "RobotManager.connect()" and so on.

@onofreicl
Copy link

How would someone be able to use the present implementation to connect to 2 robots? Is there a quick way of doing it? I would love to demo a short interaction between 2 robots using this lib. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants