plateform
stringclasses
1 value
repo_name
stringlengths
13
113
name
stringlengths
3
74
ext
stringclasses
1 value
path
stringlengths
12
229
size
int64
23
843k
source_encoding
stringclasses
9 values
md5
stringlengths
32
32
text
stringlengths
23
843k
github
brennanyama/robotx-master
showpose.m
.m
robotx-master/pathplanning/Version_02/vision/@SphericalCamera/showpose.m
2,058
utf_8
88f40aff83b0ff3c39ccfc8241d01cbb
% Copyright (C) 1993-2011, by Peter I. Corke % % This file is part of The Robotics Toolbox for Matlab (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Free Software Foundation, either version 3 of the License, or...
github
brennanyama/robotx-master
sph2.m
.m
robotx-master/pathplanning/Version_02/vision/@SphericalCamera/sph2.m
8,749
utf_8
bf102641f4eb08fca2939d8f6e2b8d89
%SPH Implement spherical IBVS for point features % % results = sph(T) % results = sph(T, params) % % Simulate IBVS with for a square target comprising 4 points is placed % in the world XY plane. The camera/robot is initially at pose T and is % driven to the orgin. % % Two windows are shown and animated: % 1....
github
brennanyama/robotx-master
sph.m
.m
robotx-master/pathplanning/Version_02/vision/@SphericalCamera/sph.m
8,636
utf_8
7baa17bf2ef09e737e77919fb8854c48
%SPH Implement spherical IBVS for point features % % results = sph(T) % results = sph(T, params) % % Simulate IBVS with for a square target comprising 4 points is placed % in the world XY plane. The camera/robot is initially at pose T and is % driven to the orgin. % % Two windows are shown and animated: % 1....
github
brennanyama/robotx-master
visjac_p.m
.m
robotx-master/pathplanning/Version_02/vision/@SphericalCamera/visjac_p.m
2,045
utf_8
06eaf2d5221de167b31d57b5fd2a129c
%SphericalCamera.visjac_p Visual motion Jacobian for point feature % % J = C.visjac_p(PT, Z) is the image Jacobian (2Nx6) for the image plane % points PT (2xN) described by phi (longitude) and theta (colatitude). % The depth of the points from the camera is given by Z which is a scalar, % for all points, or a vector (...
github
brennanyama/robotx-master
visjac_e.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/visjac_e.m
2,164
utf_8
3b286708d3f0f6384981c76e02f6e623
%CentralCamera.visjac_e Visual motion Jacobian for point feature % % J = C.visjac_e(E, PL) is the image Jacobian (5x6) for the ellipse % E (5x1) described by u^2 + E1v^2 - 2E2uv + 2E3u + 2E4v + E5 = 0. The % ellipse lies in the world plane PL = (a,b,c,d) such that aX + bY + cZ + d = 0. % % The Jacobian gives the rate...
github
brennanyama/robotx-master
flowfield.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/flowfield.m
1,425
utf_8
e0541a081acde937ddc104ff98683c15
%CentralCamera.flowfield Optical flow % % C.flowfield(V) displays the optical flow pattern for a sparse grid % of points when the camera has a spatial velocity V (6x1). % % See also QUIVER. % Copyright (C) 1993-2011, by Peter I. Corke % % This file is part of The Robotics Toolbox for Matlab (RTB). % % RTB is free sof...
github
brennanyama/robotx-master
estpose.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/estpose.m
1,295
utf_8
e294b17c9382580d4ae384f60c5fd419
%CentralCamera.estpose Estimate pose from object model and camera view % % T = C.estpose(XYZ, UV) is an estimate of the pose of the object defined by % coordinates XYZ (3xN) in its own coordinate frame. UV (2xN) are the % corresponding image plane coordinates. % % Reference:: % "EPnP: An accurate O(n) solution to the...
github
brennanyama/robotx-master
visjac_l.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/visjac_l.m
2,088
utf_8
60e0b516a3cb393343ccab5db0b6f745
%CentralCamera.visjac_l Visual motion Jacobian for line feature % % J = C.visjac_l(L, PL) is the image Jacobian (2Nx6) for the image plane % lines L (2xN). Each column of L is a line in theta-rho format, and the % rows are theta and rho respectively. % % The lines all lie in the plane PL = (a,b,c,d) such that aX + b...
github
brennanyama/robotx-master
visjac_p.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/visjac_p.m
2,020
utf_8
9913324a59b21ca9e87c9a3ed6ba3273
%CentralCamera.visjac_p Visual motion Jacobian for point feature % % J = C.visjac_p(UV, Z) is the image Jacobian (2Nx6) for the image plane % points UV (2xN). The depth of the points from the camera is given by Z % which is a scalar for all points, or a vector (Nx1) of depth for each point. % % The Jacobian gives the...
github
brennanyama/robotx-master
visjac_p_polar.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/visjac_p_polar.m
2,441
utf_8
ad99cd4f8e084cabd206a06a688b25cb
%CentralCamera.visjac_p_polar Visual motion Jacobian for point feature % % J = C.visjac_p_polar(RT, Z) is the image Jacobian (2Nx6) for the image plane % points RT (2xN) described in polar form, radius and theta. The depth of the % points from the camera is given by Z which is a scalar for all point, or a % vector ...
github
brennanyama/robotx-master
showpose.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/..@Camera/showpose.m
1,745
utf_8
ff381da08167ce6200570274e9e4d00c
%SHOWPOSE Display a camera icon in 3D % % h = cam.showpose(T) % % Create a new camera at pose T, and return the graphics handle. % % The camera is depicted as a pyramid with the apex as the camera % origin and the base plane normal to the optical axis. % The sides are colored red, green, blue corresponding to the X,...
github
brennanyama/robotx-master
efficient_pnp_gauss.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/private/efficient_pnp_gauss.m
7,985
utf_8
361396729ae9c9291df547c60c062e74
function [R,T,Xc,best_solution,opt]=efficient_pnp_gauss(x3d_h,x2d_h,A) % EFFICIENT_PNP_GAUSS Main Function to solve the PnP problem % as described in: % % Francesc Moreno-Noguer, Vincent Lepetit, Pascal Fua. % Accurate Non-Iterative O(n) Solution to the PnP Problem. % In Proceedings of ICCV, ...
github
brennanyama/robotx-master
invhomog.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/private/invhomog.m
4,024
utf_8
3012932f5882b83a79324dceae80a143
%INVHOMOG Decompose an homography % % S = INVHOMOG(H, OPTIONS) decomposes the homography H (3x3)into the camera motion % and the normal to the plane. % % In practice there are multiple solutions and S is a vector of structures % with elements: % T camera motion as a homogeneous transform matrix (4x4), translation n...
github
brennanyama/robotx-master
efficient_pnp.m
.m
robotx-master/pathplanning/Version_02/vision/@CentralCamera/private/efficient_pnp.m
6,550
utf_8
b1b02989deb052da7480f60d06be7010
function [R,T,Xc,best_solution]=efficient_pnp(x3d_h,x2d_h,A) % EFFICIENT_PNP Main Function to solve the PnP problem % as described in: % % Francesc Moreno-Noguer, Vincent Lepetit, Pascal Fua. % Accurate Non-Iterative O(n) Solution to the PnP Problem. % In Proceedings of ICCV, 2007. % % ...
github
brennanyama/robotx-master
pHRIWARE.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/pHRIWARE.m
4,150
utf_8
9c4da75a1183eebe277967d66b15e143
%pHRIWARE physical HRI worspace analysis, research and evaluation % % pHRIWARE (pron. 'freeware') provides tools to analyse, research and % evaluate physical human-robot interactions. Many of these tools also % requires the Robotics Toolbox for MATLAB(R) (RTB), developed by Peter % Corke. This may be downloaded at www...
github
brennanyama/robotx-master
h2fsu.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/h2fsu.m
9,566
utf_8
a1f50edbf454e8d96dee46b5123c01bb
%H2FSU Convert hand data to forearm, swivel, and upper arm frames % % Returns the corresponding forearm, swivel and upper arm frame(s) for % given hand frame(s) or point(s). If hand data is be given in a N-D % array, the outputs will be of same shape. The swivel angle can be % resolved using a number of methods (see I...
github
brennanyama/robotx-master
gikine.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/gikine.m
2,503
utf_8
2afa5594f629cca2f15f846b5b02986f
%GIKINE Shoulder inverse kinematics of HAL-like right shoulder % % Computes the inverse kinematics of the right shoulder which is the % same kinematically as a HAL object. This function is mainly useful % for procedures which require many, many calls, so time can be saved % by not referencing a HAL object. % % Copyr...
github
brennanyama/robotx-master
wikine.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/wikine.m
2,701
utf_8
dcf601603602f9b3c3a4d9e89c419f7f
%WIKINE Wrist inverse kinematics of HAL-like right wrist % % Computes the inverse kinematics of the right wrist which is the % same kinematically as a HAL object. Either the hand and wrist frames % can be entered separately, or a relative rotation used. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the G...
github
brennanyama/robotx-master
d2r.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/util/d2r.m
1,151
utf_8
6bd6efe48721ee4bba9f22561bb7d209
%D2R Convert degrees into radians % % Convert an angle which is expressed in degrees into radians % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see full file for full statement % % Syntax: % (1) rad = d2r(deg) % (2) rad = d2r() % % (2) is as per (1) with deg = 1 ...
github
brennanyama/robotx-master
r2d.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/util/r2d.m
1,152
utf_8
caab187d58d93147bf0ae052129f5837
%R2D Convert radians into degrees % % Convert an angle which is expressed in radians into degrees % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see full file for full statement % % Syntax: % (1) deg = r2d(rad) % (2) deg = r2d() % % (2) is as per (1) with rad = 1 ...
github
brennanyama/robotx-master
sym2func.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Functions/util/sym2func.m
1,487
utf_8
206b8225e15727a2ced9672dccf10b0c
%SYM2FUNC Convert a sym object to an anonymous functions % % While the function matlabFunction can be used for the same purpose, % AND and OR operators when using this function cannot be made bitwise. % This function converts AND and OR operators to be bitwise. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed unde...
github
brennanyama/robotx-master
anthroData.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Data/anthroData.m
4,287
utf_8
1769d1ce3aea758cefcbc7cdcdb7cb64
%ANTHRODATA Load anthropometric data % % Retrieve anthropometric data for a 50th percentile male. Data is % taken from two sources, surveyed on US Army personnel and matched to % US Marine Corps personnel. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see full file ...
github
brennanyama/robotx-master
cmdl_arm.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Data/collision models/cmdl_arm.m
2,143
utf_8
995fbf7528a5d0c682b05242f7b41941
%CMDL_ARM Create a CollisionModel object of the human arm % % Returns a CollisionModel object of the human upper arm and forearm. % Link lengths may be specified or anthropometric data can be used. The % Upper arm is a cylinder, and the forearm is a cylindrical frustum % (Curvilinear), to accomodate for the change in t...
github
brennanyama/robotx-master
cmdl_hat.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Data/collision models/cmdl_hat.m
2,307
utf_8
f3290d8655ffa889bf56d925a3cc2d9d
%CMDL_HAT Create a CollisionModel object of the human HAT % % Returns a CollisionModel object of the human head and torso segment % (also includes neck). The model may be given for any shoulder frame % transformation (synonymous with the base transform of a HAL object). % The head is a sphere, the neck a cylinder, the ...
github
brennanyama/robotx-master
cmdl_trophy.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Data/collision models/cmdl_trophy.m
2,062
utf_8
b35628504883c5136453e9deaeea2526
%CMDL_TROPHY Create a CollisionModel object of a grand trophy % % Used for demos. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see full file for full statement % % Syntax: % (1) trophy = cmdl_trophy % % See also CollisionModel demo_collisionmodel demo_collisions ...
github
brennanyama/robotx-master
ikunc.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/ikunc.m
3,327
utf_8
43dec76833447c8f590a31f3d8cc1b10
%IKUNC Compute inverse kinematics without considering joint limits % % Computes the inverse kinematics for an arbitrary SerialLink % manipulator. Requires fminunc from the optimization toolbox. ikunc % works by minimizing the error between the forward kinematics of the % joint angle solution and the end-effector frame ...
github
brennanyama/robotx-master
qmincon.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/qmincon.m
2,650
utf_8
e232f1884c4bdc09bfafc68b8c02d2c0
%QMINCON Resolve redundancy in robots by avoiding joint limits % % A popular way to resolve redundant robots is to keep joints away from % their mechanical limits to allow freer motion. This function will do % that process. Requires fmincon from the optimization toolbox. % % Copyright (C) Bryan Moutrie, 2013-2014 % Lic...
github
brennanyama/robotx-master
grav.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/grav.m
4,126
utf_8
a179d90e418f0f1897b6f0dc218fac12
% GRAV Quick non-mex gravload and jacob0 for SerialLink objects % % Calculates the joint loads due to gravity for SerialLink objects. The % world frame Jacobian can also be returned. The gravity vector is % defined by the SerialLink property if not explicitly given. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licens...
github
brennanyama/robotx-master
gravload.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/gravload.m
2,143
utf_8
a4257a1b597dbd1b2bd9ae27835118d8
% GRAVLOAD Joint loads due to gravity % % Uses either the rne MEX file, from RTB, or the grav function, from % pHRIWARE, depending on being able to use the MEX file and if the % Jacobian is requested to be returned % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see...
github
brennanyama/robotx-master
collisions.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/collisions.m
4,999
utf_8
2e07e7b359a9934ea69b26721e7932fc
%COLLISIONS Conduct collision checking for SerialLink objects % % Uses the point data stored in the points property of SerialLink % objects to conduct point-primitive collision checking with objects of % the CollisionModel class. The function does not currently check the % base of the SerialLink object! % % Copyright (...
github
brennanyama/robotx-master
pay.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/pay.m
2,621
utf_8
e8df4491625a558c3b10780f729de9ea
%PAY Joint forces from payload for SerialLink objects % % Calculates the joint loads due to a payload for SerialLink objects, % It uses the formula Q = J'w, where w is a wrench vector applied at % the end effector, w = [Fx Fy Fz Mxx Myy Mzz]'. The Jacobian can be % supplied or computed by RTB % % Copyright (C) Bryan Mo...
github
brennanyama/robotx-master
ikcon.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/ikcon.m
3,631
utf_8
5faa6d4f9f0f510cb615217373b829ea
%IKCON Compute inverse kinematics considering joint limits % % Computes the inverse kinematics for an arbitrary SerialLink % manipulator. Requires fmincon from the optimization toolbox. ikcon % works by minimizing the error between the forward kinematics of the % joint angle solution and the end-effector frame as an op...
github
brennanyama/robotx-master
paycap.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/@SerialLinked/paycap.m
2,703
utf_8
e85cce199f51a5894a3a54bc7f180fc6
%PAYCAP Compute the static payload capacity of a SerialLink object % % Find the maximum magnitude of a wrench applied at the end-effector % for a given pose. The wrench may be referenced in the world frame or % end-effector frame. How loads are calculated vary to minimise time. % % Copyright (C) Bryan Moutrie, 2013-201...
github
brennanyama/robotx-master
islimit.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Classes/@HAL/islimit.m
2,476
utf_8
a13b796e34c45131ccfc72674e6eef4a
%ISLIMIT Test if HAL joint angles are within their limits % % Returns a matrix the same size as the matrix of joint angles input % (where each row is a joint angle set), whose elements are false if % within joint limits or true if not. The formulae by Lenarcic & Umek % (1994) are used to calculate the shoulder range of...
github
brennanyama/robotx-master
ikine.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Classes/@HAL/ikine.m
2,958
utf_8
77a240e44c5f04e2c993589f96a22414
%IKINE Inverse kinematics of HAL objects % % Executes the inverse kinematics of a HAL (human arm-like) object. % It returns the two sets of possible solutions for the shoulder and % wrist in two of the four possible permutations - the other two may be % created from the others. % % Copyright (C) Bryan Moutrie, 2013-20...
github
brennanyama/robotx-master
reachable.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Classes/@HAL/reachable.m
3,113
utf_8
482fade2cdb805c5937decc7ca3878bf
%REACHABLE Find if a pose is reachable % % Tests if a pose, described by two sets of joint angles (such as that % from ikine), is reachable or not. Will output the permutation of the % two sets, which is reachable. % % Copyright (C) Bryan Moutrie, 2013-2014 % Licensed under the GNU Lesser General Public License % see f...
github
brennanyama/robotx-master
runscript.m
.m
robotx-master/pathplanning/Version_02/contrib/pHRIWARE/Help/Demos/runscript.m
7,187
utf_8
5e6cbdf3a3da19124b626a132f58e8b3
%RUNSCRIPT Run an M-file in interactive fashion % % RUNSCRIPT(FNAME, OPTIONS) runs the M-file FNAME and pauses after every % executable line in the file until a key is pressed. Comment lines are shown % without any delay between lines. % % Options:: % 'delay',D Don't wait for keypress, just delay of D seconds (defa...
github
brennanyama/robotx-master
protectfig.m
.m
robotx-master/pathplanning/Version_02/common/protectfig.m
880
utf_8
bfbe38cc3824ed02cbc2cf900295c8b3
% Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Free Software Foundation, either version 3 of the License, or...
github
brennanyama/robotx-master
e2h.m
.m
robotx-master/pathplanning/Version_02/common/e2h.m
1,006
utf_8
2cb9b356b913bc4034f8ff954a3af7cb
%E2H Euclidean to homogeneous % % H = E2H(E) is the homogeneous version (K+1xN) of the Euclidean % points E (KxN) where each column represents one point in R^K. % % See also H2E. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you...
github
brennanyama/robotx-master
distributeblocks.m
.m
robotx-master/pathplanning/Version_02/common/distributeblocks.m
2,606
utf_8
b11652fa2e6274e5299ac02f68996794
%DISTRIBUTEBLOCKS Distribute blocks in Simulink block library % % distributeBlocks(MODEL) equidistantly distributes blocks in a Simulink % block library named MODEL. % % Notes:: % - The MATLAB functions to create Simulink blocks from symbolic % expresssions actually place all blocks on top of each other. This % fu...
github
brennanyama/robotx-master
ccodefunctionstring.m
.m
robotx-master/pathplanning/Version_02/common/ccodefunctionstring.m
7,645
utf_8
47447f45c3b6b9ef935fe5c69d6c94c1
%CCODEFUNCTIONSTRING Converts a symbolic expression into a C-code function % % [FUNSTR, HDRSTR] = ccodefunctionstring(SYMEXPR, ARGLIST) returns a string % representing a C-code implementation of a symbolic expression SYMEXPR. % The C-code implementation has a signature of the form: % % void funname(double[][n_o...
github
brennanyama/robotx-master
Polygon.m
.m
robotx-master/pathplanning/Version_02/common/Polygon.m
43,679
utf_8
f9aecaaeb67549736f9e5a897382c8f4
%POLYGON Polygon class % % A general class for manipulating polygons and vectors of polygons. % % Methods:: % plot Plot polygon % area Area of polygon % moments Moments of polygon % centroid Centroid of polygon % perimeter Perimter of polygon % transform Transform polygo...
github
brennanyama/robotx-master
plot_ellipse.m
.m
robotx-master/pathplanning/Version_02/common/plot_ellipse.m
5,075
utf_8
dc3a048c3ebbe615580730aee7e0e297
%PLOT_ELLIPSE Draw an ellipse or ellipsoid % % PLOT_ELLIPSE(A, OPTIONS) draws an ellipse defined by X'AX = 0 on the % current plot, centred at the origin. % % PLOT_ELLIPSE(A, C, OPTIONS) as above but centred at C=[X,Y]. If % C=[X,Y,Z] the ellipse is parallel to the XY plane but at height Z. % % H = PLOT_ELLIPSE(A, C, ...
github
brennanyama/robotx-master
edgelist.m
.m
robotx-master/pathplanning/Version_02/common/edgelist.m
4,519
utf_8
9dbcf362180f27696a907d35e54a9736
%EDGELIST Return list of edge pixels for region % % EG = EDGELIST(IM, SEED) is a list of edge pixels (Nx2) of a region in the % image IM starting at edge coordinate SEED=[X,Y]. The edgelist has one row per % edge point coordinate (x,y). % % EG = EDGELIST(IM, SEED, DIRECTION) as above, but the direction of edge % fol...
github
brennanyama/robotx-master
cone.m
.m
robotx-master/pathplanning/Version_02/common/cone.m
2,037
utf_8
062138b6d64ecfd4a8a605a89e1dd763
% Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Free Software Foundation, either version 3 of the License, or...
github
brennanyama/robotx-master
plot2.m
.m
robotx-master/pathplanning/Version_02/common/plot2.m
1,511
utf_8
bfd954f5beb6f7fc4fb81eb31a3787c3
%PLOT2 Plot trajectories % % PLOT2(P) plots a line with coordinates taken from successive rows of P. P % can be Nx2 or Nx3. % % If P has three dimensions, ie. Nx2xM or Nx3xM then the M trajectories are % overlaid in the one plot. % % PLOT2(P, LS) as above but the line style arguments LS are passed to plot. % % See als...
github
brennanyama/robotx-master
diff2.m
.m
robotx-master/pathplanning/Version_02/common/diff2.m
1,284
utf_8
f6e6e63ad2f2932ff0c0f6cc8d30e137
%DIFF2 First-order difference % % D = DIFF2(V) is the first-order difference (1xN) of the series data in % vector V (1xN) and the first element is zero. % % D = DIFF2(A) is the first-order difference (MxN) of the series data in % each row of the matrix A (MxN) and the first element in each row is zero. % % Notes:: % ...
github
brennanyama/robotx-master
count_unique.m
.m
robotx-master/pathplanning/Version_02/common/count_unique.m
5,211
utf_8
39a305208a526a92097e0c0708ac96bc
% Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Free Software Foundation, either version 3 of the License, or...
github
brennanyama/robotx-master
colnorm.m
.m
robotx-master/pathplanning/Version_02/common/colnorm.m
949
utf_8
4debc9bb5d072db097080daf3f4a0e0d
%COLNORM Column-wise norm of a matrix % % CN = COLNORM(A) is vector (1xM) of the normals of each column of the % matrix A (NxM). % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the ...
github
brennanyama/robotx-master
plot_arrow.m
.m
robotx-master/pathplanning/Version_02/common/plot_arrow.m
1,200
utf_8
b0e028d67838f7797ea962dbf227f836
%PLOT_ARROW Draw an arrow % % PLOT_ARROW(P, OPTIONS) draws an arrow from P1 to P2 where P=[P1; P2]. % % Options:: % All options are passed through to arrow3. Pass in a single character % MATLAB colorspec (eg. 'r') to set the color. % % See also ARROW3. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is par...
github
brennanyama/robotx-master
filt1d.m
.m
robotx-master/pathplanning/Version_02/common/filt1d.m
2,047
utf_8
44f8c0b3d8db5c1156b880bd5330be36
%FILT1D 1-dimensional rank filter % % Y = FILT1D(X, OPTIONS) is the minimum, maximum or median value (1xN) of the % vector X (1xN) compute over an odd length sliding window. % % Options:: % 'max' Compute maximum value over the window (default) % 'min' Compute minimum value over the window % 'median' ...
github
brennanyama/robotx-master
yaxis.m
.m
robotx-master/pathplanning/Version_02/common/yaxis.m
1,309
utf_8
5f4320f0c98172efe34b97d002fc128e
%YAYIS set Y-axis scaling % % YAXIS(MAX) set y-axis scaling from 0 to MAX. % % YAXIS(MIN, MAX) set y-axis scaling from MIN to MAX. % % YAXIS([MIN MAX]) as above. % % YAXIS restore automatic scaling for y-axis. % % See also YAXIS. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbo...
github
brennanyama/robotx-master
plot_poly.m
.m
robotx-master/pathplanning/Version_02/common/plot_poly.m
2,318
utf_8
297b18bbd3140b314fc2a5221f378aea
%PLOT_POLY Draw a polygon % % PLOT_POLY(P, OPTIONS) draws a polygon defined by columns of P (2xN), in the current plot. % % OPTIONS:: % 'fill',F the color of the circle's interior, MATLAB color spec % 'alpha',A transparency of the filled circle: 0=transparent, 1=solid. % % Notes:: % - If P (3xN) the polygon is d...
github
brennanyama/robotx-master
doesblockexist.m
.m
robotx-master/pathplanning/Version_02/common/doesblockexist.m
1,638
utf_8
5151a98c79945c7b9f3843582b6e9f34
%DOESBLOCKEXIST Check existence of block in Simulink model % % RES = doesblockexist(MDLNAME, BLOCKADDRESS) is a logical result that % indicates whether or not the block BLOCKADDRESS exists within the % Simulink model MDLNAME. % % Author:: % Joern Malzahn, (joern.malzahn@tu-dortmund.de) % % See also symexpr2slblock, ...
github
brennanyama/robotx-master
findjobj.m
.m
robotx-master/pathplanning/Version_02/common/findjobj.m
146,886
utf_8
5bf86e9b8eb0479ca962f6df1f390f73
% Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Free Software Foundation, either version 3 of the License, or...
github
brennanyama/robotx-master
gauss2d.m
.m
robotx-master/pathplanning/Version_02/common/gauss2d.m
1,287
utf_8
c9329a3cf21df2eb02cc83da94f1b08b
%GAUSS2D Gaussian kernel % % OUT = GAUSS2D(IM, SIGMA, C) is a unit volume Gaussian kernel rendered into % matrix OUT (WxH) the same size as IM (WxH). The Gaussian has a standard % deviation of SIGMA. The Gaussian is centered at C=[U,V]. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Rob...
github
brennanyama/robotx-master
ishomog.m
.m
robotx-master/pathplanning/Version_02/common/ishomog.m
1,399
utf_8
7a7028bf8f013a80ff13d3f65d302bc4
%ISHOMOG Test if SE(3) homogeneous transformation % % ISHOMOG(T) is true (1) if the argument T is of dimension 4x4 or 4x4xN, else % false (0). % % ISHOMOG(T, 'valid') as above, but also checks the validity of the rotation % sub-matrix. % % Notes:: % - The first form is a fast, but incomplete, test for a transform is S...
github
brennanyama/robotx-master
homtrans.m
.m
robotx-master/pathplanning/Version_02/common/homtrans.m
2,020
utf_8
269013d453832d4d270e61b718aeaa65
%HOMTRANS Apply a homogeneous transformation % % P2 = HOMTRANS(T, P) applies homogeneous transformation T to the points % stored columnwise in P. % % - If T is in SE(2) (3x3) and % - P is 2xN (2D points) they are considered Euclidean (R^2) % - P is 3xN (2D points) they are considered projective (P^2) % - If T is i...
github
brennanyama/robotx-master
colorname.m
.m
robotx-master/pathplanning/Version_02/common/colorname.m
6,627
utf_8
5b9410f99b98845655d3b5db94b1ba4f
%COLORNAME Map between color names and RGB values % % RGB = COLORNAME(NAME) is the RGB-tristimulus value (1x3) corresponding to % the color specified by the string NAME. If RGB is a cell-array (1xN) of % names then RGB is a matrix (Nx3) with each row being the corresponding % tristimulus. % % XYZ = COLORNAME(NAME, 'xy...
github
brennanyama/robotx-master
simulinkext.m
.m
robotx-master/pathplanning/Version_02/common/simulinkext.m
1,565
utf_8
f0f596f564cd2826b87fd8018f868a77
%SIMULINKEXT Return file extension of Simulink block diagrams. % % str = simulinkext() is either % - '.mdl' if Simulink version number is less than 8 % - '.slx' if Simulink version numberis larger or equal to 8 % % Notes:: % The file extension for Simulink block diagrams has changed from Matlab 2011b to Matlab 2012a. ...
github
brennanyama/robotx-master
angdiff.m
.m
robotx-master/pathplanning/Version_02/common/angdiff.m
1,937
utf_8
5466432a2f94cc0a891bdd989b9a2312
%ANGDIFF Difference of two angles % % D = ANGDIFF(TH1, TH2) returns the difference between angles TH1 and TH2 on % the circle. The result is in the interval [-pi pi). If TH1 is a column % vector, and TH2 a scalar then return a column vector where TH2 is modulo % subtracted from the corresponding elements of TH1. % ...
github
brennanyama/robotx-master
h2e.m
.m
robotx-master/pathplanning/Version_02/common/h2e.m
1,080
utf_8
84e0bb752e6dd55a3cee6298272b3b87
%H2E Homogeneous to Euclidean % % E = H2E(H) is the Euclidean version (K-1xN) of the homogeneous % points H (KxN) where each column represents one point in P^K. % % See also E2H. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: yo...
github
brennanyama/robotx-master
plot_point.m
.m
robotx-master/pathplanning/Version_02/common/plot_point.m
3,060
utf_8
2463bf8f14a1eb27c785a601bb3e3c0b
%PLOT_POINT Draw a feature point % % PLOT_POINT(P, OPTIONS) adds point markers to the current plot, where P (2xN) % and each column is the point coordinate. % % Options:: % 'textcolor', colspec Specify color of text % 'textsize', size Specify size of text % 'bold' Text in bold font. % ...
github
brennanyama/robotx-master
isrot.m
.m
robotx-master/pathplanning/Version_02/common/isrot.m
1,296
utf_8
cf538053835bb35b2ad96f75fb03ff73
%ISROT Test if SO(3) rotation matrix % % ISROT(R) is true (1) if the argument is of dimension 3x3 or 3x3xN, else false (0). % % ISROT(R, 'valid') as above, but also checks the validity of the rotation % matrix. % % Notes:: % - A valid rotation matrix has determinant of 1. % % See also ISHOMOG, ISVEC. % Copyright (C)...
github
brennanyama/robotx-master
peak2.m
.m
robotx-master/pathplanning/Version_02/common/peak2.m
4,175
utf_8
a319fce5e09261e3d464a50c2a6d0682
%PEAK2 Find peaks in a matrix % % ZP = PEAK2(Z, OPTIONS) are the peak values in the 2-dimensional signal Z. % % [ZP,IJ] = PEAK2(Z, OPTIONS) as above but also returns the indices of the % maxima in the matrix Z. Use SUB2IND to convert these to row and column % coordinates % % Options:: % 'npeaks',N Number of peak...
github
brennanyama/robotx-master
polydiff.m
.m
robotx-master/pathplanning/Version_02/common/polydiff.m
1,028
utf_8
6d06f990e6189bddac233036f35d0ba6
%POLYDIFF Differentiate a polynomial % % PD = POLYDIFF(P) is a vector of coefficients of a polynomial (1xN-1) which is the % derivative of the polynomial P (1xN). % % See also POLYVAL. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software...
github
brennanyama/robotx-master
isvec.m
.m
robotx-master/pathplanning/Version_02/common/isvec.m
1,392
utf_8
16021602c566eda7a9492b254784b92b
%ISVEC Test if vector % % ISVEC(V) is true (1) if the argument V is a 3-vector, else false (0). % % ISVEC(V, L) is true (1) if the argument V is a vector of length L, % either a row- or column-vector. Otherwise false (0). % % Notes:: % - Differs from MATLAB builtin function ISVECTOR, the latter returns true % for th...
github
brennanyama/robotx-master
optparse.m
.m
robotx-master/pathplanning/Version_02/common/optparse.m
8,703
utf_8
68fbcc75e3bc760b6f5aa80bf4cb8237
%OPTPARSE Standard option parser for Toolbox functions % % [OPTOUT,ARGS] = OPTPARSE(OPT, ARGLIST) is a generalized option parser for % Toolbox functions. It supports options that have an assigned value, boolean % or enumeration types (string or int). % % The software pattern is: % % function(a, b, c, varargin) ...
github
brennanyama/robotx-master
randinit.m
.m
robotx-master/pathplanning/Version_02/common/randinit.m
977
utf_8
b857fbea6a9f67aa92df35f510824e7e
%RANDINIT Reset random number generator % % RANDINIT resets the defaul random number stream. % % See also RandStream. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the...
github
brennanyama/robotx-master
plot_ellipse_inv.m
.m
robotx-master/pathplanning/Version_02/common/plot_ellipse_inv.m
2,795
utf_8
8ebd71fe63043fb44ef27dfe7d79543a
%PLOT_ELLIPSE_INV Draw an ellipse or ellipsoid % % PLOT_ELLIPSE_INV(A, OPTIONS) draws an ellipse defined by X'.inv(A).X = 0 on the % current plot, centred at the origin. % % PLOT_ELLIPSE_INV(A, C, OPTIONS) as above but centred at C=[X,Y]. If % C=[X,Y,Z] the ellipse is parallel to the XY plane but at height Z. % % H = ...
github
brennanyama/robotx-master
plot_circle.m
.m
robotx-master/pathplanning/Version_02/common/plot_circle.m
3,561
utf_8
65e37ae914a661f5ee2cd3cb242c081d
%PLOT_CIRCLE Draw a circle % % PLOT_CIRCLE(C, R, options) draws a circle on the current plot with % centre C=[X,Y] and radius R. If C=[X,Y,Z] the circle is drawn in the % XY-plane at height Z. % % H = PLOT_CIRCLE(C, R, options) as above but return handles. For multiple % circles H is a vector of handles, one per circ...
github
brennanyama/robotx-master
imeshgrid.m
.m
robotx-master/pathplanning/Version_02/common/imeshgrid.m
2,602
utf_8
d3fe6d0eb10386964af50355b9bc6299
%IMESHGRID Domain matrices for image % % [U,V] = IMESHGRID(IM) are matrices that describe the domain of image IM % and can be used for the evaluation of functions over the image. U and V are % the same szie as IM. The element U(v,u) = u and V(v,u) = v. % % [U,V] = IMESHGRID(IM, N) as above but... % % [U,V] = IMESHGRID...
github
brennanyama/robotx-master
plot_homline.m
.m
robotx-master/pathplanning/Version_02/common/plot_homline.m
1,867
utf_8
28aa17324b9f8e4c891c3a5f192c6c31
%PLOT_HOMLINE Draw a homogeneous % % PLOT_HOMLINE(L, LS) draws a line in the current plot L.X = 0 where L % (3x1). The current axis limits are used to determine the endpoints of % the line. MATLAB line specification LS can be set. If L (3xN) then N % lines are drawn, one per column. % % H = PLOT_HOMLINE(L, LS) as ab...
github
brennanyama/robotx-master
xaxis.m
.m
robotx-master/pathplanning/Version_02/common/xaxis.m
1,831
utf_8
b0c7ded511fc33d4776f74bf8c5ba924
%XAXIS Set X-axis scaling % % XAXIS(MAX) set x-axis scaling from 0 to MAX. % % XAXIS(MIN, MAX) set x-axis scaling from MIN to MAX. % % XAXIS([MIN MAX]) as above. % % XAXIS restore automatic scaling for x-axis. % % See also YAXIS. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolb...
github
brennanyama/robotx-master
dockfigs.m
.m
robotx-master/pathplanning/Version_02/common/dockfigs.m
1,179
utf_8
aa49ffae7eeff25c8b951ee388a9dcf3
%DOCKFIGS Control figure docking in the GUI % % dockfigs causes all new figures to be docked into the GUI % % dockfigs(1) as above. % % dockfigs(0) causes all new figures to be undocked from the GUI % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB i...
github
brennanyama/robotx-master
circle.m
.m
robotx-master/pathplanning/Version_02/common/circle.m
2,066
utf_8
2d421a9c7d25e747a34f5630d9f97e4d
%CIRCLE Compute points on a circle % % CIRCLE(C, R, OPT) plots a circle centred at C (1x2) with radius R on the current % axes. % % X = CIRCLE(C, R, OPT) is a matrix (2xN) whose columns define the % coordinates [x,y] of points around the circumferance of a circle % centred at C (1x2) and of radius R. % % C is normall...
github
brennanyama/robotx-master
ishomog2.m
.m
robotx-master/pathplanning/Version_02/common/ishomog2.m
1,412
utf_8
054e73efc29b2cdb248ea4ffb3753f04
%ISHOMOG2 Test if SE(2) homogeneous transformation % % ISHOMOG2(T) is true (1) if the argument T is of dimension 3x3 or 3x3xN, else % false (0). % % ISHOMOG2(T, 'valid') as above, but also checks the validity of the rotation % sub-matrix. % % Notes:: % - The first form is a fast, but incomplete, test for a transform i...
github
brennanyama/robotx-master
pickregion.m
.m
robotx-master/pathplanning/Version_02/common/pickregion.m
3,009
utf_8
e14dab60bf3aab44aa5f4003a48b5c7c
%PICKREGION Pick a rectangular region of a figure using mouse % % [p1,p2] = PICKREGION() initiates a rubberband box at the current click point % and animates it so long as the mouse button remains down. Returns the first % and last coordinates in axis units. % % Options:: % 'axis',A The axis to select from (defaul...
github
brennanyama/robotx-master
xyzlabel.m
.m
robotx-master/pathplanning/Version_02/common/xyzlabel.m
954
utf_8
bb86aa1eeff27a679d494908526664dd
%XYZLABEL Label X, Y and Z axes % % XYZLABEL label the x-, y- and z-axes with 'X', 'Y', and 'Z' % respectiveley % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU ...
github
brennanyama/robotx-master
homline.m
.m
robotx-master/pathplanning/Version_02/common/homline.m
1,303
utf_8
f14119545a317500a53f1bd2808c63b0
%HOMLINE Homogeneous line from two points % % L = HOMLINE(X1, Y1, X2, Y2) is a vector (3x1) which describes a line in % homogeneous form that contains the two Euclidean points (X1,Y1) and (X2,Y2). % % Homogeneous points X (3x1) on the line must satisfy L'*X = 0. % % See also PLOT_HOMLINE. % Copyright (C) 1993-2014, by...
github
brennanyama/robotx-master
plot_sphere.m
.m
robotx-master/pathplanning/Version_02/common/plot_sphere.m
2,821
utf_8
694cb92035e8acfcec3a664fba49c3df
%PLOT_SPHERE Draw sphere % % PLOT_SPHERE(C, R, LS) draws spheres in the current plot. C is the % centre of the sphere (3x1), R is the radius and LS is an optional MATLAB % color spec, either a letter or a 3-vector. % % H = PLOT_SPHERE(C, R, COLOR) as above but returns the handle(s) for the % spheres. % % H = PLOT_...
github
brennanyama/robotx-master
mplot.m
.m
robotx-master/pathplanning/Version_02/common/mplot.m
6,798
utf_8
6dc40416b52b7c6e78e4902e91c78cd9
%MPLOT Plot time series data % % MPLOT(Y, OPTIONS) plots the time series data Y(NxM) in multiple % subplots. The first column is assumed to be time, so M-1 plots are % produced. % % MPLOT(T, Y, OPTIONS) plots the time series data Y(NxM) in multiple % subplots. Time is provided explicitly as the first argument so M ...
github
brennanyama/robotx-master
peak.m
.m
robotx-master/pathplanning/Version_02/common/peak.m
4,681
utf_8
dbeb9eb19727cfd5d57a496b384882c7
%PEAK Find peaks in vector % % YP = PEAK(Y, OPTIONS) are the values of the maxima in the vector Y. % % [YP,I] = PEAK(Y, OPTIONS) as above but also returns the indices of the maxima % in the vector Y. % % [YP,XP] = PEAK(Y, X, OPTIONS) as above but also returns the corresponding % x-coordinates of the maxima in the vect...
github
brennanyama/robotx-master
numrows.m
.m
robotx-master/pathplanning/Version_02/common/numrows.m
988
utf_8
ba74d58782904c272669fa2d5e9f18d9
%NUMROWS Number of rows in matrix % % NR = NUMROWS(M) is the number of rows in the matrix M. % % Notes:: % - Readable shorthand for SIZE(M,1); % % See also NUMCOLS, SIZE. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can re...
github
brennanyama/robotx-master
runscript.m
.m
robotx-master/pathplanning/Version_02/common/runscript.m
7,314
utf_8
413b90b4490a5dbba046f6a489e23619
%RUNSCRIPT Run an M-file in interactive fashion % % RUNSCRIPT(FNAME, OPTIONS) runs the M-file FNAME and pauses after every % executable line in the file until a key is pressed. Comment lines are shown % without any delay between lines. % % Options:: % 'delay',D Don't wait for keypress, just delay of D seconds (defa...
github
brennanyama/robotx-master
plot_box.m
.m
robotx-master/pathplanning/Version_02/common/plot_box.m
2,903
utf_8
88e97e1345540ff8c45bca52a5e8dc65
%PLOT_BOX Draw a box % % PLOT_BOX(B, LS) draws a box defined by B=[XL XR; YL YR] on the current % plot with optional MATLAB linestyle options LS. % % PLOT_BOX(X1,Y1, X2,Y2, LS) draws a box with corners at (X1,Y1) and (X2,Y2), % and optional MATLAB linestyle options LS. % % PLOT_BOX('centre', P, 'size', W, LS) draws a b...
github
brennanyama/robotx-master
symexpr2slblock.m
.m
robotx-master/pathplanning/Version_02/common/symexpr2slblock.m
3,141
utf_8
50274d4285157d4352519b25ab9087be
%SYMEXPR2SLBLOCK Create symbolic embedded MATLAB Function block % % symexpr2slblock(VARARGIN) creates an Embedded MATLAB Function block % from a symbolic expression. The input arguments are just as used with % the functions emlBlock or matlabFunctionBlock. % % Notes:: % - In Symbolic Toolbox versions prior to V5.7 (2...
github
brennanyama/robotx-master
tb_optparse.m
.m
robotx-master/pathplanning/Version_02/common/tb_optparse.m
11,578
utf_8
5d576d173989d4f4b042041b149d45de
%OPTPARSE Standard option parser for Toolbox functions % % OPTOUT = TB_OPTPARSE(OPT, ARGLIST) is a generalized option parser for % Toolbox functions. OPT is a structure that contains the names and % default values for the options, and ARGLIST is a cell array containing % option parameters, typically it comes from VARA...
github
brennanyama/robotx-master
rvcpath.m
.m
robotx-master/pathplanning/Version_02/common/rvcpath.m
962
utf_8
eaada08caa0c35fde7ff585a90a470fa
%RVCPATH Install location of RVC tools % % p = RVCPATH is the path of the top level folder for the installed RVC % tools. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of...
github
brennanyama/robotx-master
plotp.m
.m
robotx-master/pathplanning/Version_02/common/plotp.m
1,416
utf_8
d2e096bf43da6f7de89117457a6083f3
%PLOTP Plot trajectories % % PLOTP(P) plots a set of points P, which by Toolbox convention are stored % one per column. P can be Nx2 or Nx3. By default a linestyle of 'bx' % is used. % % PLOTP(P, LS) as above but the line style arguments LS are passed to plot. % % See also PLOT, PLOT2. % Copyright (C) 1993-2014, by ...
github
brennanyama/robotx-master
mlabel.m
.m
robotx-master/pathplanning/Version_02/common/mlabel.m
1,344
utf_8
750cbf0a83a7865e4dd6f0aabe2ad9be
%MLABEL labels for mplot style graph % % mlabel({lab1 lab2 lab3}) % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by %...
github
brennanyama/robotx-master
mtools.m
.m
robotx-master/pathplanning/Version_02/common/mtools.m
1,846
utf_8
8c53b254220f45f670d1747606b83a42
%MTOOLS add simple/useful tools to all windows in figure % % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you can redistribute it and/or modify % it under the terms of the GNU Lesser General Public License as published by % the Fr...
github
brennanyama/robotx-master
bresenham.m
.m
robotx-master/pathplanning/Version_02/common/bresenham.m
2,189
utf_8
6012dd377fd3575f5c8415abfeb8d0bb
%BRESENHAM Generate a line % % P = BRESENHAM(X1, Y1, X2, Y2) is a list of integer coordinates (2xN) for % points lying on the line segement (X1,Y1) to (X2,Y2). % % P = BRESENHAM(P1, P2) as above but P1=[X1,Y1] and P2=[X2,Y2]. % % Notes:: % - Endpoints must be integer values. % % See also ICANVAS. % Copyright (C) 1...
github
brennanyama/robotx-master
multidfprintf.m
.m
robotx-master/pathplanning/Version_02/common/multidfprintf.m
2,085
utf_8
ee06fac222acd20af936d1502c540697
%MULTIDFPRINTF Print formatted text to multiple streams % % COUNT = MULTIDFPRINTF(IDVEC, FORMAT, A, ...) performs formatted output % to multiple streams such as console and files. FORMAT is the format string % as used by sprintf and fprintf. A is the array of elements, to which the % format will be applied similar ...
github
brennanyama/robotx-master
arrow3.m
.m
robotx-master/pathplanning/Version_02/common/arrow3.m
33,573
utf_8
68d51547bfacf65eae53515790a310a7
function hn=arrow3(p1,p2,s,w,h,ip,alpha,beta) % ARROW3 (R13) % ARROW3(P1,P2) draws lines from P1 to P2 with directional arrowheads. % P1 and P2 are either nx2 or nx3 matrices. Each row of P1 is an % initial point, and each row of P2 is a terminal point. % % ARROW3(P1,P2,S,W,H,IP,ALPHA,BETA) can be used to spec...
github
brennanyama/robotx-master
about.m
.m
robotx-master/pathplanning/Version_02/common/about.m
2,225
utf_8
fdfa40951c4fab205d55cdd55c9eb5c3
%ABOUT Compact display of variable type % % ABOUT(X) displays a compact line that describes the class and dimensions of % X. % % ABOUT X as above but this is the command rather than functional form % % Examples:: % >> a=1; % >> about a % a [double] : 1x1 (8 bytes) % % >> a = rand(5,7); ...
github
brennanyama/robotx-master
gaussfunc.m
.m
robotx-master/pathplanning/Version_02/common/gaussfunc.m
1,430
utf_8
46675331674fd4a48f6eb70db2c9c415
%GAUSS1 Gaussian kernel % % k = gauss1(, c, sigma) % % Returns a unit volume Gaussian smoothing kernel. The Gaussian has % a standard deviation of sigma, and the convolution % kernel has a half size of w, that is, k is (2W+1) x (2W+1). % % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robot...
github
brennanyama/robotx-master
numcols.m
.m
robotx-master/pathplanning/Version_02/common/numcols.m
991
utf_8
55c8716aa26a06cafd3487c9e03a6578
%NUMCOLS Number of columns in matrix % % NC = NUMCOLS(M) is the number of columns in the matrix M. % % Notes:: % - Readable shorthand for SIZE(M,2); % % See also NUMROWS, SIZE. % Copyright (C) 1993-2014, by Peter I. Corke % % This file is part of The Robotics Toolbox for MATLAB (RTB). % % RTB is free software: you c...
github
brennanyama/robotx-master
isrot2.m
.m
robotx-master/pathplanning/Version_02/common/isrot2.m
1,300
utf_8
e0689ff97a4368ed6be3e9d1d2bab823
%ISROT2 Test if SO(2) rotation matrix % % ISROT2(R) is true (1) if the argument is of dimension 2x2 or 2x2xN, else false (0). % % ISROT2(R, 'valid') as above, but also checks the validity of the rotation % matrix. % % Notes:: % - A valid rotation matrix has determinant of 1. % % See also ISHOMOG2, ISVEC. % Copyright...
github
brennanyama/robotx-master
wtrans.m
.m
robotx-master/pathplanning/Version_02/robot/wtrans.m
1,242
utf_8
3d7bad7dfd3a4261c0ca6d8c3c19ba5b
%WTRANS Transform a wrench between coordinate frames % % WT = WTRANS(T, W) is a wrench (6x1) in the frame represented by the homogeneous % transform T (4x4) corresponding to the world frame wrench W (6x1). % % The wrenches W and WT are 6-vectors of the form [Fx Fy Fz Mx My Mz]'. % % See also TR2DELTA, TR2JAC. % Cop...