Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaronzguan/Sampling-based-Planning-for-Robot-Arm
/ functions
Functions
95 in github.com/aaronzguan/Sampling-based-Planning-for-Robot-Arm
⨍
Functions
95
◇
Types & classes
13
↓ 11 callers
Method
get_point
(self, node_id)
prm.py:33
↓ 11 callers
Method
get_point
(self, node_id)
ob_prm.py:34
↓ 5 callers
Method
jacobian
Calculate the jacobians analytically using your forward kinematics Arguments: array of joint positions (rad) Returns: A numpy
franka_robot.py:163
↓ 4 callers
Method
_is_seg_valid
Check if the edge between q0 and q1 is collision free by interpolating the segment
prm.py:74
↓ 4 callers
Method
_is_seg_valid
Check if the edge between q0 and q1 is collision free by interpolating the segment
ob_prm.py:84
↓ 4 callers
Method
ee
Arguments: array of joint positions (rad) Returns: A numpy array that contains the [x, y, z, roll, pitch, yaw] location of the end-ef
franka_robot.py:148
↓ 4 callers
Method
find_nearest_point
Find the point in the tree that minimizes the distance to the query. Args: query (:obj:`tuple` of float or int): Stores the posit
kdtree.py:175
↓ 4 callers
Method
get_node
(self, node_id)
kdtree.py:85
↓ 4 callers
Method
insert
Insert a new node in the tree. Args: point (:obj:`tuple` of float or int): Stores the position of the node.
kdtree.py:105
↓ 3 callers
Method
add_edge
(self, node_id, neighbor_id)
prm.py:26
↓ 3 callers
Method
add_edge
(self, node_id, neighbor_id)
ob_prm.py:27
↓ 3 callers
Method
constrained_extend
TODO: Implement extend for RRT Connect - Only perform self.project_to_constraint if constraint is not None - Use self._is_seg
rrt_connect.py:79
↓ 3 callers
Method
construct_path_to_root
(self, leaf_node_id)
rrt_connect.py:32
↓ 3 callers
Method
forward_kinematics
Calculate the position of each joint using the dh_params Arguments: array of joint positions (rad) Returns: A numpy array tha
franka_robot.py:111
↓ 3 callers
Method
get_collision_boxes_poses
(self, joints)
franka_robot.py:300
↓ 3 callers
Method
get_neighbor_within_radius
Return a list of node_id within the radius
prm.py:39
↓ 3 callers
Method
get_neighbor_within_radius
Return a list of node_id within the radius
ob_prm.py:40
↓ 3 callers
Method
get_parent
(self, child_id)
prm.py:30
↓ 3 callers
Method
get_parent
(self, child_id)
ob_prm.py:31
↓ 3 callers
Method
get_point
(self, node_id)
rrt_connect.py:26
↓ 3 callers
Method
insert_new_node
(self, point)
prm.py:22
↓ 3 callers
Method
insert_new_node
(self, point)
ob_prm.py:23
↓ 3 callers
Method
insert_new_node
(self, point, parent=None)
rrt_connect.py:17
↓ 2 callers
Method
find_points_within_radius
(self, query, radius, dist_fun=euclidean_dist)
kdtree.py:205
↓ 2 callers
Method
getDistance
(self, p)
rrt_connect.py:105
↓ 2 callers
Method
get_nearest_node
(self, point)
rrt_connect.py:29
↓ 2 callers
Method
get_point
(self, node_id)
rrt.py:23
↓ 2 callers
Method
insert_new_node
(self, point, parent=None)
rrt.py:14
↓ 2 callers
Function
interval_condition
Checks if value belongs to the interval [inf - dist, sup + dist].
kdtree.py:17
↓ 2 callers
Method
new_node
(self, point, region, axis, data)
kdtree.py:163
↓ 2 callers
Method
plan
(self, q_start, q_target, constraint=None, args=None)
prm.py:201
↓ 2 callers
Method
publish_boxes
(self, boxes)
collision_boxes_publisher.py:11
↓ 1 callers
Method
_is_seg_valid
(self, q0, q1)
rrt_connect.py:72
↓ 1 callers
Method
check_box_collision
Arguments: joints represents the current location of the robot box contains the position of the center of the box [x, y, z
franka_robot.py:242
↓ 1 callers
Method
check_self_collision
Arguments: joints represents the current location of the robot Returns: A boolean where True means the arm has self-collision and fal
franka_robot.py:201
↓ 1 callers
Method
extend
TODO: Implement the constraint extend function. Input: tree - a SimpleTree object containing existing nodes
rrt.py:95
↓ 1 callers
Method
get_nearest_node
(self, point)
rrt.py:26
↓ 1 callers
Method
get_parent
(self, child_id)
rrt.py:20
↓ 1 callers
Method
get_parent
(self, child_id)
rrt_connect.py:23
↓ 1 callers
Function
get_plan_quality
(plan)
plan.py:128
↓ 1 callers
Function
nearest_point
Find the point in the tree that minimizes the distance to the query. This method implements the nearest_point query for any structure impleme
kdtree.py:267
↓ 1 callers
Function
neighbor_within_radius
(query, radius, root_id, get_properties, dist_fun=euclidean_dist)
kdtree.py:211
↓ 1 callers
Method
preprocess
(self, graph, constraint=None)
prm.py:93
↓ 1 callers
Method
preprocess
(self, graph, constraint=None)
ob_prm.py:103
↓ 1 callers
Method
project_to_constraint
(self, q0, constraint)
prm.py:84
↓ 1 callers
Method
project_to_constraint
TODO: Implement projecting a configuration to satisfy a constraint function using gradient descent. Please use the following paramet
rrt.py:65
↓ 1 callers
Method
project_to_constraint
(self, q0, constraint)
ob_prm.py:94
↓ 1 callers
Method
project_to_constraint
(self, q0, constraint)
rrt_connect.py:63
↓ 1 callers
Method
publish_collision_boxes
(self, joints)
franka_robot.py:311
↓ 1 callers
Method
publish_joints
(self, joints)
franka_robot.py:289
↓ 1 callers
Method
sample_near_joints
(self, q)
ob_prm.py:76
↓ 1 callers
Method
sample_valid_joints
The sampled configuration must be within the joint limits, but it does not check for collisions.
prm.py:67
↓ 1 callers
Method
sample_valid_joints
TODO: Implement sampling a random valid configuration. The sampled configuration must be within the joint limits, but it does not ch
rrt.py:50
↓ 1 callers
Method
sample_valid_joints
The sampled configuration must be within the joint limits, but it does not check for collisions.
ob_prm.py:69
↓ 1 callers
Method
sample_valid_joints
(self)
rrt_connect.py:58
↓ 1 callers
Method
search
(self, graph)
prm.py:143
↓ 1 callers
Method
search
(self, graph)
ob_prm.py:166
↓ 1 callers
Method
smoothPath
(self, path, constraint)
rrt_connect.py:113
↓ 1 callers
Method
smooth_path
(self, path)
prm.py:118
↓ 1 callers
Method
smooth_path
(self, path)
ob_prm.py:139
Method
__init__
(self, name)
collision_boxes_publisher.py:8
Method
__init__
(self, dim, capacity=100000)
prm.py:13
Method
__init__
(self)
prm.py:47
Method
__init__
(self, fr, is_in_collision)
prm.py:53
Method
__init__
(self)
franka_robot.py:81
Method
__init__
(self, k=2, capacity=100000, limits=None)
kdtree.py:68
Method
__init__
(self, dim)
rrt.py:10
Method
__init__
(self, fr, is_in_collision)
rrt.py:32
Method
__init__
(self, dim, capacity=100000)
ob_prm.py:14
Method
__init__
(self)
ob_prm.py:48
Method
__init__
(self, fr, is_in_collision)
ob_prm.py:54
Method
__init__
(self, dim)
rrt_connect.py:10
Method
__init__
(self, fr, is_in_collision)
rrt_connect.py:47
Method
__iter__
(self)
kdtree.py:81
Method
__len__
(self)
prm.py:19
Method
__len__
(self)
kdtree.py:78
Method
__len__
(self)
ob_prm.py:20
Method
__len__
(self)
rrt_connect.py:14
Method
deactivate
Deactivate the node identified by node_id. Deactivates the node corresponding to node_id, which means that it can never be the output
kdtree.py:88
Function
ee_upright_constraint
TODO: Implement constraint function and its gradient. This constraint should enforce the end-effector stays upright. Hint: U
plan.py:109
Function
euclidean_dist
(point1, point2)
kdtree.py:23
Method
getDistance
(p)
prm.py:120
Method
getDistance
(p)
ob_prm.py:142
Method
get_heuristic
(graph, cur_id, target_id, use_heur=False)
prm.py:145
Method
get_heuristic
(graph, cur_id, target_id, use_heur=False)
ob_prm.py:168
Method
get_nearest_node
(self, point)
prm.py:36
Method
get_nearest_node
(self, point)
ob_prm.py:37
Method
get_num_nodes
(self)
rrt_connect.py:41
Method
get_properties
(node_id)
kdtree.py:200
Method
inverse_kinematics
Arguments: desired_ee_pos which is a np array of [x, y, z, r, p, y] which represent the desired end-effector position of the robot
franka_robot.py:181
Function
is_in_collision
(joints)
plan.py:97
Method
plan
(self, q_start, q_target, constraint=None)
rrt.py:145
Method
plan
(self, q_start, q_target, constraint=None, args=None)
ob_prm.py:225
Method
plan
(self, q_start, q_target, constraint=None)
rrt_connect.py:129
Function
str2bool
(v)
plan.py:13