basic_robotics.general.faser_high_performance module
Extension of Modern Robotics Numba Version.
- basic_robotics.general.faser_high_performance.IKinSpaceConstrained(screw_list, ee_home, ee_goal, theta_list, position_tolerance, rotation_tolerance, joint_mins, joint_maxs, max_iterations)[source]
Calculate IK to a certain goal within joint rotation constraints.
- Parameters:
screw_list – screw list
ee_home – home end effector position
ee_goal – Goal Position
theta_list – Initial thetas
position_tolerance – Positional tolerance
rotation_tolerance – Rotational tolerance
joint_mins – joint minimum rotations
joint_maxs – joint maximum rotations
max_iterations – Maximum Iterations before failure
- Returns:
ndarray – joint configuration boolean: success
- basic_robotics.general.faser_high_performance.SPIKinSpace(bottom_transform, top_transform, bottom_joints, top_joints, bottom_joint_locations, top_joint_locations)[source]
Calculate IK for a stewart platform.
- Parameters:
bottom_transform (ndarray) – bottom plae transformation matrix
top_transform (ndarray) – top plate transformation matrix
bottom_joints (ndarray) – bottom joints initial
top_joints (ndarray) – top joints initial
bottom_joint_locations (ndarray) – bottom joints current locations space
top_joint_locations (ndarray) – top joints current locations space
- Returns:
ndarray – leg lengths ndarray: bottom joint locations space ndarray: top joint locations space
- basic_robotics.general.faser_high_performance.SPFKinSpaceR(leg_lengths: ndarray[float], top_plate_init: ndarray[float], bottom_joints_init: ndarray[float], top_joints_init: ndarray[float], max_iterations: int, tol_f: float, tol_a: float, leg_ext_min: float)[source]
Calculate FK for a stewart platform.
- Parameters:
leg_lengths (ndarray) – leg lengths to calculate for
top_plate_inith (ndarray) – top plate initial guess position
bottom_joints_init (ndarray) – bottom joints local to bottom plate
top_joints_init (ndarray) – top joints local to top plate
max_iterations (int) – maximum number of iterations
tol_f (float) – leg length tolerance
tol_a (float) – plate tolerance
leg_ext_min (float) – leg length minimum
- Returns:
ndarray – top plate position int: iterations to completion