Variables
update_joint_limits Namespace Reference

Variables

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

Detailed Description

 Software License Agreement (MIT License)

 @copyright Copyright (c) 2017 DENSO WAVE INCORPORATED

 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:

 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.

 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.

Variable Documentation

◆ args

update_joint_limits.args = sys.argv

Definition at line 36 of file update_joint_limits.py.

◆ conf_pkg

update_joint_limits.conf_pkg = roslib.packages.get_pkg_dir("denso_robot_moveit_config")

Definition at line 54 of file update_joint_limits.py.

◆ cur_elem

update_joint_limits.cur_elem = None

Definition at line 81 of file update_joint_limits.py.

◆ data_lines

update_joint_limits.data_lines = f_limits.read()

Definition at line 87 of file update_joint_limits.py.

◆ descs_pkg

update_joint_limits.descs_pkg = roslib.packages.get_pkg_dir("denso_robot_descriptions")

Definition at line 53 of file update_joint_limits.py.

◆ elem_joints

update_joint_limits.elem_joints = et_urdf.getroot().findall("joint")

Definition at line 75 of file update_joint_limits.py.

◆ et_urdf

update_joint_limits.et_urdf = ET.parse(path_urdf)

Definition at line 74 of file update_joint_limits.py.

◆ f_limits

update_joint_limits.f_limits = open(path_limits, "r+")

Definition at line 84 of file update_joint_limits.py.

◆ index

update_joint_limits.index = data_lines.find(": ")

Definition at line 88 of file update_joint_limits.py.

◆ line

update_joint_limits.line = f_limits.readline()

Definition at line 96 of file update_joint_limits.py.

◆ m

update_joint_limits.m = r_joint.search(line)

Definition at line 98 of file update_joint_limits.py.

◆ new_data

update_joint_limits.new_data = re.sub(r':([\w\.]+)', r': \1', data_lines)

Definition at line 90 of file update_joint_limits.py.

◆ new_joint

bool update_joint_limits.new_joint = False

Definition at line 82 of file update_joint_limits.py.

◆ path_conf

string update_joint_limits.path_conf = conf_pkg + "/config/" + rob_name + "_config"

Definition at line 69 of file update_joint_limits.py.

◆ path_desc

string update_joint_limits.path_desc = descs_pkg + "/" + rob_name + "_description"

Definition at line 59 of file update_joint_limits.py.

◆ path_limits

update_joint_limits.path_limits = args[2]

Definition at line 44 of file update_joint_limits.py.

◆ path_urdf

string update_joint_limits.path_urdf = path_desc + "/" + rob_name + ".urdf"

Definition at line 64 of file update_joint_limits.py.

◆ r_has_vel_limit

update_joint_limits.r_has_vel_limit = re.compile("has_velocity_limits: (\w+)")

Definition at line 78 of file update_joint_limits.py.

◆ r_joint

update_joint_limits.r_joint = re.compile("(joint_\d+):")

Definition at line 77 of file update_joint_limits.py.

◆ r_max_vel

update_joint_limits.r_max_vel = re.compile("max_velocity: ([\d\.]+)")

Definition at line 79 of file update_joint_limits.py.

◆ rob_name

update_joint_limits.rob_name = args[1]

Definition at line 43 of file update_joint_limits.py.



denso_robot_bringup
Author(s): DENSO WAVE INCORPORATED
autogenerated on Sat Feb 18 2023 04:06:00