Repository navigation
Added freedrive button to drt ur gui - #6
Conversation
…tton to send URScripts over the Primary Interface, a text box for to send multi-line URScripts, and ip address assigning for the robot. Have not tested this on the robot and have not tested beyond mock pinging.
…anager, untested on hardware
…o commit on the computer downstairs so i am making a big commit here
…rdware tests to come
…tested on hardware yet
…returnign current controllers for get active controllers
…ck to get the list of all controllers
…cs/drt_ur_gui into freedrive-button
…cs/drt_ur_gui into freedrive-button
…ake it more readable. also streamlined the switch controllers method
… idea is to pull it out and then call switch controllers
…ned up the process of switching controllers
scastro-nasa
left a comment
There was a problem hiding this comment.
Looks good -- only minor style comments, really.
Also make sure you run the formatter with pre-commit run -a to fix those failures
…cs/drt_ur_gui into freedrive-button
ndunkelb-nasa
left a comment
There was a problem hiding this comment.
General comments, mostly just on style, but the overall structure is good!
…g instead of a list. freedrive parameter is calledfreedrive mode controller name instead of freedrive direction.
scastro-nasa
left a comment
There was a problem hiding this comment.
LGTM from a code standpoint -- assuming it still works let's go!
| freedrive_mode_controller_name: "left_" | ||
| robot.name: "UR" | ||
| arm.name: "Left Arm" | ||
| program: "ext_ctrl.urp" | ||
| script_command_topic: "/script_command" |
There was a problem hiding this comment.
why does two_arm_left.yaml have the extra line for script_command_topic but the right config doesn't? Just missed it?
| ) | ||
| self.freedrive_active = False | ||
| self.active_controllers = [] | ||
| self.freedrive_controllers = f"{self.freedrive_mode_controller_name}freedrive_mode_controller" |
There was a problem hiding this comment.
also nitpick on the config stuff -- it may be a little confusing to have the freedrive mode controller name just be a prefix.
If you call the variable self.freedrive_mode_controller_prefix} then it will read
f"{self.freedrive_mode_controller_prefix}freedrive_mode_controller"
Freedrive button architecture:
To enable freedrive:
To disable freedrive:
Tested on CLR hardware, both standalone and during MoveIt demonstrations