-
Notifications
You must be signed in to change notification settings - Fork 23
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
Dock instance level parameters and dock_backwards depending on dock plugin #44
Comments
Why not? The dock plugins could themselves have parameters that you could create and read in. But, if there's just
It highly depends on your situation, detection type, and how close they really are practically. This has been tested in a room with a wall full of docks without a problem.
Doesn't that example make the dock backwards a feature of the robot platform? The robot's charging contacts are in the front/back no matter what specific dock is used. |
This is what I would like to do, but as far as I can see, parameters can only be set at the dock type (plugin) level, not the specific dock with specific marker id (instance) level. (Aren't I right? The instance parameters are hardcoded here. Or maybe you're referring to creating a different type for each marker and have just one instance of each? Though I thought the goal was to have few types and many instances.
Well no, if we take "docking" in the broader sense of not only docking to the charger but also to tables, shelves etc. |
Interesting, yeah that would be the more natural place, wouldn't it? I think we could add in an optional I was thinking that the dock plugin itself could have the list of dock tag IDs within it, but that's alot less natural of a solution than having the dock instances themselves containing their attributes.
I suppose it didn't occur to me that someone would use a single docking server instance for both charge-docking and infra-docking. I would have made 2 to keep things separated, since they're very lightweight and have a |
Honestly this didn't occur to me, it could work just fine. Then I'm not even sure we need the additional id field. Do you think it's needed? Otherwise we can close this.
Also didn't think of it, then I guess it is solved. |
Honestly I think its a good idea. That way you can have
Still worth filing on the ticket I linked to since I think this is a good detail I missed in the original design. |
I opened a PR (#46) to add the id. |
I have a few questions about parameter scopes, as the title suggests.
Firstly, how do you deal with docking stations that are close to each other, each of the same type but different markers. As I understand, the instantiated dock plugins cannot have arbitrary parameters, so these would have to be implemented as different dock types and set the marker id parameter on the plugin level, right?
The other question is, doesn't it make sense to set the dock_backwards parameter on a per dock type basis? For example on a delivery robot, where the trays face to the front, it would dock to tables forward. And if the charging outlet is on the back, it would dock backwards.
The text was updated successfully, but these errors were encountered: