-
Notifications
You must be signed in to change notification settings - Fork 304
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Feature summary
When the dashboard_client is started, it will try to automatically connect to the UR robot. If the robot is not connected yet or off, it will fail and exit.
Would it be possible to let the user decide if autoconnect? I see that there are 2 services that can connect and disconnect the robot, so it would be possible to connect afterwards
The "problematic" line is this one:
| connect(); |
Possible solution
Add a parameter to autoconnect and let the default true so that there is no behavior change:
node_->declare_parameter<bool>("autoconnect", true);
bool autoconnect = node_->get_parameter("autoconnect").as_bool();
if(autoconnect){
connect();
}If implemented, would be great to backport it to Jazzy.
Thank you for your work!
Tasks
To complete this issue involves
- Implement the feature
- Make documentation
- Make Unit test
- Make example
- Test on real hardware
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request