Go to the source code of this file.
Namespaces | |
| update_joint_limits | |
Variables | |
| update_joint_limits.args = sys.argv | |
| update_joint_limits.conf_pkg = roslib.packages.get_pkg_dir("denso_robot_moveit_config") | |
| update_joint_limits.cur_elem = None | |
| update_joint_limits.data_lines = f_limits.read() | |
| update_joint_limits.descs_pkg = roslib.packages.get_pkg_dir("denso_robot_descriptions") | |
| update_joint_limits.elem_joints = et_urdf.getroot().findall("joint") | |
| update_joint_limits.et_urdf = ET.parse(path_urdf) | |
| update_joint_limits.f_limits = open(path_limits, "r+") | |
| update_joint_limits.index = data_lines.find(": ") | |
| update_joint_limits.line = f_limits.readline() | |
| update_joint_limits.m = r_joint.search(line) | |
| update_joint_limits.new_data = re.sub(r':([\w\.]+)', r': \1', data_lines) | |
| bool | update_joint_limits.new_joint = False |
| string | update_joint_limits.path_conf = conf_pkg + "/config/" + rob_name + "_config" |
| string | update_joint_limits.path_desc = descs_pkg + "/" + rob_name + "_description" |
| update_joint_limits.path_limits = args[2] | |
| string | update_joint_limits.path_urdf = path_desc + "/" + rob_name + ".urdf" |
| update_joint_limits.r_has_vel_limit = re.compile("has_velocity_limits: (\w+)") | |
| update_joint_limits.r_joint = re.compile("(joint_\d+):") | |
| update_joint_limits.r_max_vel = re.compile("max_velocity: ([\d\.]+)") | |
| update_joint_limits.rob_name = args[1] | |