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 | ericguerrero/IntersectingFieldsStereo2015-master | plot2.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/@SerialLink/old/plot2.m | 16,019 | utf_8 | abc51964e21f3dcca1594f911be8e190 | %SerialLink.plot Graphical display and animation
%
% R.plot(Q, options) displays a graphical animation of a robot based on
% the kinematic model. A stick figure polyline joins the origins of
% the link coordinate frames. The robot is displayed at the joint angle Q (1xN), or
% if a matrix (MxN) it is animated as the ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | teach2.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/@SerialLink/old/teach2.m | 13,936 | utf_8 | 30dfe760b5c411be23f27a79cbb02ae7 | %SerialLink.teach Graphical teach pendant
%
% R.teach(OPTIONS) drive a graphical robot by means of a graphical slider panel.
% If no graphical robot exists one is created in a new window. Otherwise
% all current instances of the graphical robot are driven.
%
% h = R.teach(OPTIONS) as above but returns a handle for the... |
github | ericguerrero/IntersectingFieldsStereo2015-master | ikine3.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/@SerialLink/old/ikine3.m | 4,040 | utf_8 | ace7df7429f35616b852f70c8c8bb324 | %SerialLink.ikine3 Inverse kinematics for 3-axis robot with no wrist
%
% Q = R.ikine3(T) is the joint coordinates corresponding to the robot
% end-effector pose T represented by the homogenenous transform. This
% is a analytic solution for a 3-axis robot (such as the first three joints
% of a robot like the Puma 560).... |
github | ericguerrero/IntersectingFieldsStereo2015-master | animate2.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/@SerialLink/old/animate2.m | 4,575 | utf_8 | fa9077353991fe136b9f56eea7c93b20 | %SerialLink.animate Update a robot animation
%
% R.animate(q) updates an existing animation for the robot R. This will have
% been created using R.plot().
%
% Updates graphical instances of this robot in all figures.
%
% Notes::
% - Not a general purpose method, used for Simulink robot animation.
%
% See also Serial... |
github | ericguerrero/IntersectingFieldsStereo2015-master | ikine2.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/@SerialLink/old/ikine2.m | 4,997 | utf_8 | 80b8fa0d57df39cdef290d173e0a97d7 |
function [qt,histout] = ikine2(robot, tr, varargin)
% set default parameters for solution
opt.ilimit = 1000;
opt.tol = 1e-6;
opt.alpha = 1;
opt.plot = false;
opt.pinv = true;
opt.varstep = false;
tau = 1e-2;
v = 2;
[opt,args] = tb_optparse(opt, varargin);
n = robot.n... |
github | ericguerrero/IntersectingFieldsStereo2015-master | check2.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/mex/check2.m | 505 | utf_8 | 38fa06caaa81d5cf9a8d22532c7c318a | %CHECK2 script to compare M-file and MEX-file versions of RNE
function check2(robot, n, args)
robot = nofriction(robot, 'coulomb');
% create random points in state space
q = rand(n, 6);
qd = rand(n, 6);
qdd = rand(n, 6);
% test M-file
tic;
tau = rne(robot, q, qd, qdd, args{:});
t = toc;
% test MEX-file
t... |
github | ericguerrero/IntersectingFieldsStereo2015-master | server.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/server.m | 1,873 | utf_8 | a22291c8b6cec798fbf2f788672d444e | % SERVER Write a message over the specified port
%
% Usage - server(message, output_port, number_of_retries)
function server(port, number_of_retries)
import java.net.ServerSocket
import java.io.*
if (nargin < 2)
number_of_retries = 2; % set to -1 for infinite
end
retry = 0;
... |
github | ericguerrero/IntersectingFieldsStereo2015-master | SensorLog.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/SensorLog.m | 4,711 | utf_8 | 366412386f09aab56881d8f551f30f5e | %SensorLog Receive data from SensorLog app
%
% Class to receive data from the SensorLog iPhone app
%
% S = SensorLogconnect to a server and read a message
%
% Usage - message = client(host, port, number_of_retries)
%
% Usage:
% start the matlab code
% start the server
%
% Copyright (C) 1993-2015, by Peter I. Corke
... |
github | ericguerrero/IntersectingFieldsStereo2015-master | client.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/client.m | 1,949 | utf_8 | 7476a6c53f3090d6bd2e8ada96e86156 | % CLIENT connect to a server and read a message
%
% Usage - message = client(host, port, number_of_retries)
function message = client(host, port, number_of_retries)
import java.net.Socket
import java.io.*
retry = 0;
input_socket = [];
message = [];
while true
retry = ret... |
github | ericguerrero/IntersectingFieldsStereo2015-master | tb_optparse.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/EV3/tb_optparse.m | 6,793 | utf_8 | c54d0248852f2488eb45879a79daab0c | %OPTPARSE Standard option parser for Toolbox functions
%
% [OPTOUT,ARGS] = TB_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, varargi... |
github | ericguerrero/IntersectingFieldsStereo2015-master | move.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/@Create/move.m | 3,671 | utf_8 | 79fa5d2956cbcc99182a784ce925b457 | function move(robot, speed, angvel, varargin);
%travelDist(serPort, roombaSpeed, distance)
%Moves the Create the distance entered in meters. Positive distances move the
%Create foward, negative distances move the Create backwards.
%roombaSpeed should be between 0.025 and 0.5 m/s
% By; Joel Esposito, US Naval Acade... |
github | ericguerrero/IntersectingFieldsStereo2015-master | Num_Keypad_backnovibe.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/@Create/Num_Keypad_backnovibe.m | 12,578 | utf_8 | 7e71977ac697d6139c1bdb60444f6bea | function varargout = RobotGuiControl(varargin)
%varargout = Num_Keypad_backnovibe(varargin)
%Large Forward Arrow-Moves Roomba forward 10cm
%Small Forward Arrow-Moves Roomba forward 5cm
%Back Arrow-Moves Roomba backward 5cm
%Large Left Arrow-Turns Roomba 15 degrees left
%Small Left Arrow-Turns Roomba 5 degrees left
%La... |
github | ericguerrero/IntersectingFieldsStereo2015-master | teach.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/@Create/teach.m | 12,494 | utf_8 | bde6f61bbfda699e08b8d7e428a6f4ba | function varargout = RobotGuiControl(varargin)
%varargout = RobotGuiControl(varargin)
%Large Forward Arrow-Moves Roomba forward 10cm
%Small Forward Arrow-Moves Roomba forward 5cm
%Back Arrow-Moves Roomba backward 5cm
%Large Left Arrow-Turns Roomba 15 degrees left
%Small Left Arrow-Turns Roomba 5 degrees left
%Large Ri... |
github | ericguerrero/IntersectingFieldsStereo2015-master | VREP_arm.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/interfaces/VREP/VREP_arm.m | 12,872 | utf_8 | f2d3f587eedac1bfd221fb9000c4cc09 | %VREP_arm Mirror of V-REP robot arm object
%
% Mirror objects are MATLAB objects that reflect the state of objects in
% the V-REP environment. Methods allow the V-REP state to be examined or
% changed.
%
% This is a concrete class, derived from VREP_mirror, for all V-REP robot
% arm objects and allows access to joint ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | sensorfield.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/examples/sensorfield.m | 883 | utf_8 | 008858b766ce8d6de163205189772e36 |
% 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 | ericguerrero/IntersectingFieldsStereo2015-master | gait.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/examples/gait.m | 948 | utf_8 | 22062008e997434afdd87699f849811a |
% 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 | ericguerrero/IntersectingFieldsStereo2015-master | braitenberg.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/examples/braitenberg.m | 2,399 | utf_8 | d1c1f577d00882bd6e8a5e4f0b6c40ae |
% 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 | ericguerrero/IntersectingFieldsStereo2015-master | SerialLink.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/SerialLink.m | 3,422 | utf_8 | 6b79f782cc7245759b17bccc567eadfb | %ROBOT robot object constructor
%
% ROBOT
% ROBOT(robot) create a copy of an existing ROBOT object
% ROBOT(LINK, ...) create from a cell array of LINK objects
% ROBOT(DH, ...) create from legacy DYN matrix
% ROBOT(DYN, ...) create from legacy DYN matrix
%
% optional trailing arguments are:
% Name robot type or na... |
github | ericguerrero/IntersectingFieldsStereo2015-master | showlink.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/showlink.m | 1,144 | utf_8 | c7461e742177bef949f7c9c1f29746a4 | %SerialLink.showlink Show parameters of all links
%
% R.showlink() shows details of all link parameters for the robot object,
% including inertial parameters.
%
% See also Link.showlink, Link.
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% Copyright (C) 1993-2011, by Peter I. Corke
%
% This file i... |
github | ericguerrero/IntersectingFieldsStereo2015-master | plot.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/plot.m | 12,227 | utf_8 | a5e1b4b6574996e90a18af55228dd05d | %PLOT Graphical robot animation
%
% PLOT(ROBOT, Q)
% PLOT(ROBOT, Q, options)
%
% Displays a graphical animation of a robot based on the
% kinematic model. A stick figure polyline joins the origins of
% the link coordinate frames.
% The robot is displayed at the joint angle Q, or if a matrix it is
% animated as the rob... |
github | ericguerrero/IntersectingFieldsStereo2015-master | dyn.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/dyn.m | 1,207 | utf_8 | 3c68eba44763c252b2636604f6cd8e84 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | rne_dh.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/rne_dh.m | 4,885 | utf_8 | 1e44d3260a31a7c4fce5eb34a71c71fc |
%SERIALLINK.RNE_DH Compute inverse dynamics via recursive Newton-Euler formulation
%
% Recursive Newton-Euler for standard Denavit-Hartenberg notation. Is invoked by
% R.RNE().
%
% See also SERIALLINK.RNE.
%
% verified against MAPLE code, which is verified by examples
%
% Ryan Steindl based on Robotics Toolbox for ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | ikine6s.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/ikine6s.m | 6,065 | utf_8 | 4f342a905d0c1a34d604e6fa1ed16df5 | %SerialLink.ikine6s Inverse kinematics for 6-axis robot with spherical wrist
%
% Q = R.ikine6s(T) is the joint coordinates corresponding to the robot
% end-effector pose T represented by the homogenenous transform. This
% is a analytic solution for a 6-axis robot with a spherical wrist (such as
% the Puma 560).
%
% Q ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | jacob0.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/jacob0.m | 2,687 | utf_8 | d4357319844fce3feaea8b842aa504d1 | %SerialLink.JACOB0 Jacobian in world coordinates
%
% J0 = R.jacob0(Q, OPTIONS) is a 6xN Jacobian matrix for the robot in pose Q.
% The manipulator Jacobian matrix maps joint velocity to end-effector spatial
% velocity V = J0*QD expressed in the world-coordinate frame.
%
% Options::
% 'rpy' Compute analytical Jacobi... |
github | ericguerrero/IntersectingFieldsStereo2015-master | jacobn.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/jacobn.m | 2,285 | utf_8 | d0a28ea847a72cd2f6438b539ca8bedc | %SerialLink.JACOBN Jacobian in end-effector frame
%
% JN = R.jacobn(Q, options) is a 6xN Jacobian matrix for the robot in
% pose Q. The manipulator Jacobian matrix maps joint velocity to
% end-effector spatial velocity V = J0*QD in the end-effector frame.
%
% Options::
% 'trans' Return translational submatrix of Ja... |
github | ericguerrero/IntersectingFieldsStereo2015-master | subsasgn.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/subsasgn.m | 1,764 | utf_8 | 12b197110489a5436b0f9c7d8346641f |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | isspherical.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/isspherical.m | 1,289 | utf_8 | a8a3dab75cbabe5ce56b5d99f9cbed37 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | islimit.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/islimit.m | 1,196 | utf_8 | 10b2f47bd6a9fdbf33da48c014e3bb33 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | jacob_dot.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/jacob_dot.m | 2,601 | utf_8 | 9f2000212bd6bcf04fa5999185dd9fd6 | %SerialLink.jacob_dot Hessian in end-effector frame
%
% JDQ = R.jacob_dot(Q, QD) is the product of the Hessian, derivative of the
% Jacobian, and the joint rates.
%
% Notes::
% - useful for operational space control
% - not yet tested/debugged.
%
% See also: SerialLink.jacob0, diff2tr, tr2diff.
% Ryan Steindl based on... |
github | ericguerrero/IntersectingFieldsStereo2015-master | jtraj.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/jtraj.m | 1,770 | utf_8 | ea27c1029941256bff4d31f4be8b7f73 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | gravload.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/gravload.m | 1,717 | utf_8 | 03a9c9463c5e3f40ba8d40fe8907fffc | %SerialLink.gravload Gravity loading
%
% TAUG = R.gravload(Q) is the joint gravity loading for the robot in the
% joint configuration Q. Gravitational acceleration is a property of the
% robot object.
%
% If Q is a row vector, the result is a row vector of joint torques. If
% Q is a matrix, each row is interpreted a... |
github | ericguerrero/IntersectingFieldsStereo2015-master | char.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/char.m | 2,312 | utf_8 | 1d0928dd606e427c1cf624e12f7cd15e |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | friction.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/friction.m | 1,264 | utf_8 | 324caf1538af019255ff9332591ec174 | %SerialLink.friction Friction force
%
% TAU = R.friction(QD) is the vector of joint friction forces/torques for the
% robot moving with joint velocities QD.
%
% The friction model includes viscous friction (linear with velocity)
% and Coulomb friction (proportional to sign(QD)).
%
% See also Link.friction.
% Ryan S... |
github | ericguerrero/IntersectingFieldsStereo2015-master | ikine.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/ikine.m | 4,504 | utf_8 | 391a739d99e22dd779dd9fb68317af08 | %SerialLink.IKINE Inverse manipulator kinematics
%
% Q = R.ikine(T) is the joint coordinates corresponding to the robot
% end-effector pose T which is a homogenenous transform.
%
% Q = R.ikine(T, Q0, OPTIONS) specifies the initial estimate of the joint
% coordinates.
%
% Q = R.ikine(T, Q0, M, OPTIONS) specifies the i... |
github | ericguerrero/IntersectingFieldsStereo2015-master | nofriction.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/nofriction.m | 1,537 | utf_8 | 703f45d87978f4e206b0b491525168f5 | %SerialLink.nofriction Remove friction
%
% RNF = R.nofriction() is a robot object with the same parameters as R but
% with non-linear (Couolmb) friction coefficients set to zero.
%
% RNF = R.nofriction('all') as above but all friction coefficients set to zero.
%
% Notes:
% - Non-linear (Coulomb) friction can cause ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | subsref.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/subsref.m | 3,987 | utf_8 | 278306b42a8ab93fa47e1b7062d8fa9f |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | coriolis.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/coriolis.m | 3,406 | utf_8 | 752fc02f5d2bb2dafac400185d4ff702 | %SerialLink.coriolis Coriolis matrix
%
% C = R.CORIOLIS(Q, QD) is the NxN Coriolis/centripetal matrix for
% the robot in configuration Q and velocity QD, where N is the number of
% joints. The product C*QD is the vector of joint force/torque due to velocity
% coupling. The diagonal elements are due to centripetal eff... |
github | ericguerrero/IntersectingFieldsStereo2015-master | accel.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/accel.m | 2,889 | utf_8 | 4cab37c2a136ea9cb47620898bafff08 | %SerialLink.accel Manipulator forward dynamics
%
% QDD = R.accel(Q, QD, TORQUE) is a vector (Nx1) of joint accelerations that result
% from applying the actuator force/torque to the manipulator robot in state Q and QD.
% If Q, QD, TORQUE are matrices with M rows, then QDD is a matrix with M rows
% of acceleration corr... |
github | ericguerrero/IntersectingFieldsStereo2015-master | itorque.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/itorque.m | 1,522 | utf_8 | cc3d52dd02430ec8e7e51b019dd6000a | %SerialLink.itorque Inertia torque
%
% TAUI = R.itorque(Q, QDD) is the inertia force/torque N-vector at the specified
% joint configuration Q and acceleration QDD, that is, TAUI = INERTIA(Q)*QDD.
%
% If Q and QDD are row vectors, the result is a row vector of joint torques.
% If Q and QDD are matrices, each row is inte... |
github | ericguerrero/IntersectingFieldsStereo2015-master | rne_mdh.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/rne_mdh.m | 4,445 | utf_8 | 336e755459929378f84bea818a23b08b |
%SERIALLINK.RNE_MDH Compute inverse dynamics via recursive Newton-Euler formulation
%
% Recursive Newton-Euler for modified Denavit-Hartenberg notation. Is invoked by
% R.RNE().
%
% See also SERIALLINK.RNE.
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% Copyright (C) 1993-2011, by Peter I. Corke... |
github | ericguerrero/IntersectingFieldsStereo2015-master | mtimes.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/mtimes.m | 1,843 | utf_8 | 6c52eb4cccc6f967d5e7786b9ed721e1 | % robot objects can be multiplied r1*r2 which is mechanically equivalent
% to mounting robot r2 on the end of robot r1.
%
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% Copyright (C) 1993-2011, by Peter I. Corke
%
% This file is part of The Robotics Toolbox for MATLAB (RTB).
%
% RTB is free softw... |
github | ericguerrero/IntersectingFieldsStereo2015-master | perturb.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/perturb.m | 1,687 | utf_8 | 021a5522f737b29a05c4b03005bcd14c | %SerialLink.perturb Perturb robot parameters
%
% RP = R.perturb(P) is a new robot object in which the dynamic parameters (link
% mass and inertia) have been perturbed. The perturbation is multiplicative so
% that values are multiplied by random numbers in the interval (1-P) to (1+P).
% The name string of the perturbe... |
github | ericguerrero/IntersectingFieldsStereo2015-master | cinertia.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/cinertia.m | 1,262 | utf_8 | 4b7612402dafd0f93bce5f1d520ee65f | %SerialLink.cinertia Cartesian inertia matrix
%
% M = R.cinertia(Q) is the NxN Cartesian (operational space) inertia matrix which relates
% Cartesian force/torque to Cartesian acceleration at the joint configuration Q, and N
% is the number of robot joints.
%
% See also SerialLink.inertia, SerialLink.rne.
% Ryan Ste... |
github | ericguerrero/IntersectingFieldsStereo2015-master | fkine.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/fkine.m | 2,043 | utf_8 | 8ed8bfe464ffe53e36fe550ac805285e | %SerialLink.fkine Forward kinematics
%
% T = R.fkine(Q) is the pose of the robot end-effector as a homogeneous
% transformation for the joint configuration Q. For an N-axis manipulator
% Q is an N-vector.
%
% If Q is a matrix, the M rows are interpretted as the generalized
% joint coordinates for a sequence of poi... |
github | ericguerrero/IntersectingFieldsStereo2015-master | rne.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/rne.m | 2,475 | utf_8 | 02a4a285327714868d309bb0a561c56a | %SerialLink.rne Inverse dynamics
%
% TAU = R.rne(Q, QD, QDD) is the joint torque required for the robot R
% to achieve the specified joint position Q, velocity QD and acceleration QDD.
%
% TAU = R.rne(Q, QD, QDD, GRAV) as above but overriding the gravitational
% acceleration vector in the robot object R.
%
% TAU = R.r... |
github | ericguerrero/IntersectingFieldsStereo2015-master | teach.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/teach.m | 10,728 | utf_8 | 47647b268a77098aa9ff5d1fa3f5dda0 | %SerialLink.teach Graphical teach pendant
%
% R.teach() drive a graphical robot by means of a graphical slider panel.
% If no graphical robot exists one is created in a new window. Otherwise
% all current instanes of the graphical robots are driven.
%
% R.teach(Q) specifies the initial joint angle, otherwise it is tak... |
github | ericguerrero/IntersectingFieldsStereo2015-master | maniplty.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/maniplty.m | 3,592 | utf_8 | db86403e6ccb78655d8feed3f696f702 | %SerialLink.MANIPLTY Manipulability measure
%
% M = R.maniplty(Q, OPTIONS) is the manipulability index measure for the robot
% at the joint configuration Q. It indicates dexterity, how isotropic the
% robot's motion is with respect to the 6 degrees of Cartesian motion.
% The measure is low when the manipulator is clos... |
github | ericguerrero/IntersectingFieldsStereo2015-master | inertia.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/inertia.m | 1,944 | utf_8 | 4bda3471b7775960cef1f31a8b0b2dcb | %SerialLink.INERTIA Manipulator inertia matrix
%
% I = R.inertia(Q) is the NxN symmetric joint inertia matrix which relates
% joint torque to joint acceleration for the robot at joint configuration Q.
% The diagonal elements I(j,j) are the inertia seen by joint actuator j.
% The off-diagonal elements are coupling iner... |
github | ericguerrero/IntersectingFieldsStereo2015-master | fdyn.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@SerialLink/fdyn.m | 3,481 | utf_8 | 2cf029c0bca1d90d2a4cb9ea9ed78ddb | %SerialLink.fdyn Integrate forward dynamics
%
% [T,Q,QD] = R.fdyn(T1, TORQFUN) integrates the dynamics of the robot over
% the time interval 0 to T and returns vectors of time TI, joint position Q
% and joint velocity QD. The initial joint position and velocity are zero.
% The torque applied to the joints is compute... |
github | ericguerrero/IntersectingFieldsStereo2015-master | dot.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/dot.m | 979 | utf_8 | 20a6e25089ef3d09abe3812e3c78ad39 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | norm.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/norm.m | 1,016 | utf_8 | 03b88aa052109c5e5daca5fae9986aee | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | Quaternion.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/Quaternion.m | 4,034 | utf_8 | f2afd42f26b30a934c594f8e7fb16791 | %QUATERNION constructor for quaternion objects
%
% QUATERNION([s v1 v2 v3]) from 4 elements
% QUATERNION(v, theta) from vector plus angle
% QUATERNION(R) from a 3x3 or 4x4 matrix
% QUATERNION(q) from another quaternion
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% Copyright (C) 1993-201... |
github | ericguerrero/IntersectingFieldsStereo2015-master | display.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/display.m | 1,029 | utf_8 | 5005939253bba5057986ba5e99fcc973 | %DISPLAY display the value of a quaternion object
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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 G... |
github | ericguerrero/IntersectingFieldsStereo2015-master | interp.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/interp.m | 2,037 | utf_8 | 0285ce161dcea6f15ec661917ade554c | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | plot.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/plot.m | 1,334 | utf_8 | a911420db26f46c33659a9d91a300906 | %PLOT plot a quaternion object as a rotated coordinate frame
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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 ter... |
github | ericguerrero/IntersectingFieldsStereo2015-master | double.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/double.m | 1,055 | utf_8 | 3c6907b9af17b78cda4c776b0542d2fc | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | scale.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/scale.m | 2,018 | utf_8 | 2adf3b3004453808797ce265b58b7659 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | mrdivide.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/mrdivide.m | 1,282 | utf_8 | a9c1b7b8b87592a33fc161d28efd23c9 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | qinterp.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/qinterp.m | 1,727 | utf_8 | 2e5be9d99ede2b9ce58a5d2b7db344fd | %QINTERP Interpolate rotations expressed by quaternion objects
%
% QI = qinterp(Q1, Q2, R)
%
% Return a unit-quaternion that interpolates between Q1 and Q2 as R moves
% from 0 to 1. This is a spherical linear interpolation (slerp) that can
% be interpretted as interpolation along a great circle arc on a sphere.
%
% If... |
github | ericguerrero/IntersectingFieldsStereo2015-master | char.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/char.m | 1,040 | utf_8 | b71a701e2d387683b513855d663de42b | %CHAR create string representation of quaternion object
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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... |
github | ericguerrero/IntersectingFieldsStereo2015-master | unit.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/unit.m | 997 | utf_8 | 4745971f54ca4b629a6e8bc55a078408 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | subsref.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/subsref.m | 1,930 | utf_8 | 64b5d237e94c65cd19baefc95598c973 |
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
%... |
github | ericguerrero/IntersectingFieldsStereo2015-master | q2tr.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/q2tr.m | 1,167 | utf_8 | c29ddf72eec74706e77c4bda8b562bde | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | plus.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/plus.m | 1,081 | utf_8 | b0e2a4b5d2c508c817f9a56397002779 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | mpower.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/mpower.m | 1,355 | utf_8 | 7b9a578d511f56a544e2c15d8e15dde2 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | mtimes.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/mtimes.m | 2,478 | utf_8 | 99b0537c96d9e7857dce59ca93da8eb1 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | inv.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/inv.m | 1,023 | utf_8 | 4acf75d995437c869ea1f6e806104619 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | minus.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Quaternion/minus.m | 1,106 | utf_8 | 7844d4807b15185b86f3b9993bf72d66 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | display.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/display.m | 992 | utf_8 | 1744ef8c7924b5841a47207003535695 | %DISPLAY display the value of a LINK object
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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 Les... |
github | ericguerrero/IntersectingFieldsStereo2015-master | show.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/show.m | 1,226 | utf_8 | c90fb8c0e8972f93ea8c30b673633d2e | %SHOW show all parameters of LINK object
%
% SHOW(link)
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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... |
github | ericguerrero/IntersectingFieldsStereo2015-master | subsasgn.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/subsasgn.m | 2,843 | utf_8 | 9a4a1d65fc4137471a6bd218fbd2a960 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | char.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/char.m | 2,817 | utf_8 | a0694168712bc20d14a58df87d0cce09 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | friction.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/friction.m | 1,399 | utf_8 | fd114474c00d7a5a4850ddb1f11e11af | %FRICTION compute friction torque on the LINK object
%
% TAU = FRICTION(LINK, QD)
%
% Return the friction torque on the link moving at speed QD. Depending
% on fields in the LINK object viscous and/or Coulomb friction
% are computed.
%
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% Copyright (C) ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | nofriction.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/nofriction.m | 1,338 | utf_8 | af30540d9fe008e95184816cb1baaea8 | %NOFRICTION return link object with zero friction
%
% LINK = NOFRICTION(LINK)
%
%
% Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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 mod... |
github | ericguerrero/IntersectingFieldsStereo2015-master | subsref.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/subsref.m | 6,453 | utf_8 | 0251a70ca1dfd3e28127b24e79472d31 | % Ryan Steindl based on Robotics Toolbox for MATLAB (v6 and v9)
%
% 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
% ... |
github | ericguerrero/IntersectingFieldsStereo2015-master | Link.m | .m | IntersectingFieldsStereo2015-master/rvctools/robot/Octave/@Link/Link.m | 4,156 | utf_8 | 39a5ccb999393609550d38e629c54d5b | %LINK create a new LINK object
%
% A LINK object holds all information related to a robot link such as
% kinematics of the joint, rigid-body inertial parameters, motor and
% transmission parameters.
%
% LINK
% LINK(link)
%
% Create a default link, or a clone of the passed link.
%
% A = LINK(q)
%
% Compute the link tran... |
github | ericguerrero/IntersectingFieldsStereo2015-master | polar_sfunc.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/polar_sfunc.m | 4,897 | utf_8 | e94a62691fcfd183c87cde7beb3d91ee | function movepoint_sfunc(block)
block.NumInputPorts = 1;
block.NumOutputPorts = 1;
% Setup port properties to be inherited or dynamic
block.SetPreCompInpPortInfoToDynamic;
block.SetPreCompOutPortInfoToDynamic;
% Override input port properties
block.InputPort(1).DatatypeID = 0; % double
block.Inp... |
github | ericguerrero/IntersectingFieldsStereo2015-master | slplotbot.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/slplotbot.m | 1,813 | utf_8 | 59bcb601aa44c722ca1f012179a77193 | %SLPLOTBOT S-function for robot animation
%
% This is the S-function for animating the robot. It assumes input
% data u to be the joint angles q.
%
% Implemented as an S-function so as to update display at the end of
% each Simulink major integration step.
function [sys,x0,str,ts] = splotbot(t,x,u,flag, robot, fps, h... |
github | ericguerrero/IntersectingFieldsStereo2015-master | quadrotor_dynamics.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/quadrotor_dynamics.m | 9,700 | utf_8 | da0727924c94378980ff1f5630f5be41 |
function [sys,x0,str,ts] = quadrotor_dynamics(t,x,u,flag, quad)
% Flyer2dynamics lovingly coded by Paul Pounds, first coded 12/4/04
% A simulation of idealised X-4 Flyer II flight dynamics.
% version 2.0 2005 modified to be compatible with latest version of Matlab
% version 3.0 2006 fixed rotation matr... |
github | ericguerrero/IntersectingFieldsStereo2015-master | quadrotor_plot.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/quadrotor_plot.m | 6,658 | utf_8 | 524b15c175bcfe4c3de56876fe59f425 |
% 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 Lic... |
github | ericguerrero/IntersectingFieldsStereo2015-master | nrotor_dynamics.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/nrotor_dynamics.m | 9,893 | utf_8 | 23fda47131f8169abf23932db268fabc |
function [sys,x0,str,ts] = nrotor_dynamics(t,x,u,flag, vehicle)
% Flyer2dynamics lovingly coded by Paul Pounds, first coded 12/4/04
% A simulation of idealised X-4 Flyer II flight dynamics.
% version 2.0 2005 modified to be compatible with latest version of Matlab
% version 3.0 2006 fixed rotation matr... |
github | ericguerrero/IntersectingFieldsStereo2015-master | slaccel.m | .m | IntersectingFieldsStereo2015-master/rvctools/simulink/slaccel.m | 1,906 | utf_8 | d3eebb9cf75ec52f5fc312348463ef87 | %SLACCEL S-function for robot acceleration
%
% This is the S-function for computing robot acceleration. It assumes input
% data u to be the vector [q qd tau].
%
% Implemented as an S-function to get around vector sizing problem with
% Simulink 4.
function [sys, x0, str, ts] = slaccel(t, x, u, flag, robot)
switch flag... |
github | svndl/mrC-master | Parse_Args.m | .m | mrC-master/tools/Parse_Args.m | 7,997 | utf_8 | f8243344949b5257dbfa2ebae3dd83f7 | function varargout = ParseArgs(vargin,varargin)
% ParseArgs
%
% Description: parse a varargin cell of optional arguments and options.
% optional arguments are arguments that do not need to be included
% in a function call and assume a default value if omitted.
% options are 'key'/value pairs that come at the ... |
github | svndl/mrC-master | distinguishable_colors.m | .m | mrC-master/tools/distinguishable_colors.m | 5,753 | utf_8 | 57960cf5d13cead2f1e291d1288bccb2 | function colors = distinguishable_colors(n_colors,bg,func)
% DISTINGUISHABLE_COLORS: pick colors that are maximally perceptually distinct
%
% When plotting a set of lines, you may want to distinguish them by color.
% By default, Matlab chooses a small set of colors and cycles among them,
% and so if you have more than ... |
github | svndl/mrC-master | FitNakaRushton.m | .m | mrC-master/tools/fitting/FitNakaRushton.m | 6,815 | utf_8 | 180bedf472870e7c91c15d331e566296 | function [ pOpt, R2, Range, hModel ] = FitNakaRushton( x, y , noise,SupplyGradient)
% Written by Spero Nicholas and adapted by Peter J. Kohler, 2017
%
% Description: Fit Naka-Rushton function to Sweep data:
% y = rMax / ( 1 + ( c50 / x )^exponent ) + baseline
%
... |
github | svndl/mrC-master | qtable.m | .m | mrC-master/tools/fitting/dmatoolbox/qtable.m | 4,262 | utf_8 | be653361a6797cbdc9e3c8b6b820eb8a | function varargout = qtable(output,title)
% QTABLE Shows concise summary of an output queue
% QTABLE(OUTPUT), where OUTPUT is an array of output structures from
% DMAT, prints a table with model deviances, degrees of freedom and
% significance values of the sequential changes in model fit, as well as
% AICc (S... |
github | svndl/mrC-master | quantest.m | .m | mrC-master/tools/fitting/dmatoolbox/quantest.m | 8,043 | utf_8 | eaee18e425067e398202be15819c443a | function output=quantest(varargin)
%QUANTEST Fits the diffusion model to a data represented by quantiles only
% OUTPUT = QUANTEST(DSTR,OPTIONS), where DSTR is a structure with all the
% fields:
% .CorrectObs .Number of observations in each X=1 bin
% .IncorrectObs .Number of ob... |
github | svndl/mrC-master | absfit.m | .m | mrC-master/tools/fitting/dmatoolbox/absfit.m | 9,773 | utf_8 | e5e7fd46e56e563450c31df1ae84b20f | function fstr = absfit(param,data,k)
%ABSFIT Calculates model fit measures
% FSTRUCT = ABSFIT(PARAM,DATA,DF), where PARAM is a full parameter set
% (usually the estimated parameter set), DATA is a cell matrix where
% each cell represents a condition, and each cell is formatted as
% explained in the help for FI... |
github | svndl/mrC-master | setnodes.m | .m | mrC-master/tools/fitting/dmatoolbox/setnodes.m | 17,409 | utf_8 | 85ef93ae5a1162fffa6e460012673f42 | function setnodes(nr_nu,nr_z)
%SETNODES Set the number of quadrature nodes used by DMAT
% SETNODES(NR_NU,NR_Z) sets the number of quadrature nodes for the drift
% rate integral (Gauss-Hermite nodes) to NR_NU, and the number of nodes
% for the starting point integral (Gauss-Legendre nodes) to NR_Z. A .C
% ... |
github | svndl/mrC-master | multiestv4.m | .m | mrC-master/tools/fitting/dmatoolbox/multiestv4.m | 10,278 | utf_8 | afcae7c2569646978cc96ebb6213116f | function output=multiestv4(varargin)
%MULTIESTV4 Fits the diffusion model to a data set
% OUTPUT = MULTIESTV4(DATA,OPTIONS), where DATA is a N-by-3 data set with
% columns [condition response seconds] and OPTIONS is an (optional)
% structure with model and optimization information.
% Note: If OPTIONS is an arr... |
github | svndl/mrC-master | installer.m | .m | mrC-master/tools/fitting/dmatoolbox/installer.m | 5,829 | utf_8 | ed60f405dbc8ab326bad02a504532b85 | function varargout = installer
%INSTALLER Adds DMAT folders to your MATLAB path
% INSTALLER() checks if you have all the files for the DMA Toolbox,
% compiles binaries if needed, adds folders to the MATLAB path, runs the
% licenser and asks for extra information if needed.
%
% Author: Joachim Vandekerckhove (j... |
github | svndl/mrC-master | fitdiffv13.m | .m | mrC-master/tools/fitting/dmatoolbox/fitdiffv13.m | 2,695 | utf_8 | ab59bb533756bc2afcb339599b256ba8 | function D = fitdiffv13(param,data,method)
%FITDIFFV13 Calculate deviance for one condition
% D = FITDIFFV13(PARAM,DATA,METHOD), returns a scalar deviance measure.
%
% PARAM is a possible parameter vector for the present condition. If
% PARAM has 7 elements, the Ratcliff diffusion model is used, if it has
% 9 ... |
github | svndl/mrC-master | var2str.m | .m | mrC-master/tools/fitting/dmatoolbox/var2str.m | 2,467 | utf_8 | 3fa03b73f0bd748da83844e714b8ec8d | function str = var2str(var)
% VAR2STR Print variable contents to a MATLAB string
% STR = VAR2STR(VAR), where VAR is any standard matlab variable, returns
% STR, a character string that MATLAB would read as VAR. (It performs
% essentially the opposite function of EVAL.)
%
% Author: Joachim Vandekerckhove (joach... |
github | svndl/mrC-master | inpcheck.m | .m | mrC-master/tools/fitting/dmatoolbox/inpcheck.m | 7,473 | utf_8 | da79dee246e6860fb4c3595bfead248c | function options = inpcheck(options)
%INPCHECK Check if the input structure is valid
% OPTIONS = INPCHECK(OPTIONS), returns a valid OPTIONS structure, based
% on the input OPTIONS structure.
%
% Author: Joachim Vandekerckhove (joachim.vandekerckhove@psy.kuleuven.be)
% Part of the DMA Toolbox. Please read... |
github | svndl/mrC-master | invcdfdif.m | .m | mrC-master/tools/fitting/dmatoolbox/invcdfdif.m | 6,566 | utf_8 | 395da69ef87118ef4e9c78b762f8a5af | function rts = invcdfdif(perc,rep,output,precision)
%INVCDFDIF Inverse of the diffusion defective cumulative density function
% X = INVCDFDIF(PERC,REP,OUTPUT,PRECISION), for output structure OUTPUT
% and response REP, returns the response times associated with the
% percentiles in PERC (for each condition), to a pr... |
github | svndl/mrC-master | plotslm.m | .m | mrC-master/tools/fitting/SLMtools/plotslm.m | 16,039 | utf_8 | a0e643558b868f722252d6214b17b8a6 | function hfig = plotslm(slm)
% plotslm: plots a Shape Language Model (slm) or its derivatives
% usage: plotslm(slm)
% usage: hfig = plotslm(slm)
%
%
% arguments: (input)
% slm - slm struct, as returned by slmengine or slmfit,
% or evaluated by slmeval
%
%
% arguments: (output)
% hfig - figure handle. Only retu... |
github | svndl/mrC-master | slmset.m | .m | mrC-master/tools/fitting/SLMtools/slmset.m | 52,407 | utf_8 | 4aebf679a465f9c2ffe5a24eae02ef2d | function prescription=slmset(varargin)
% slmset: defines the shape prescription for a model
% usage 1: prescription=slmset(prop1,val1,pro2,val2,...)
% usage 2: prescription=slmset(prescription,prop1,val1,pro2,val2,...)
%
% A set of property/value pairs are parsed into a structure
% to use as the prescription for slme... |
github | svndl/mrC-master | slmfit.m | .m | mrC-master/tools/fitting/SLMtools/slmfit.m | 13,600 | utf_8 | 8474c7c8e98c5770ba712e6c06945ee8 | function slm = slmfit(x,y,varargin)
% slmfit: GUI tool to estimate a spline function (Shape Langauge Model) from data
% usage 1: slm = slmfit(x,y);
% usage 3: slm = slmengine(x,y,prop1,val1,prop2,val2,...);
%
% Note: slmfit is a GUI tool for fitting a shape language model
% to data. The user supplies information abou... |
github | svndl/mrC-master | slmengine.m | .m | mrC-master/tools/fitting/SLMtools/slmengine.m | 86,814 | utf_8 | 30491b11830c7fe9204ba06f493b8241 | function [slm,xp,yp] = slmengine(x,y,varargin)
% slmengine: estimates a spline function from data plus a fit prescription
% usage 1: slm = slmengine(x,y);
% usage 2: slm = slmengine(x,y,prescription);
% usage 3: slm = slmengine(x,y,prop1,val1,prop2,val2,...);
% usage 4: slm = slmengine(x,y,prescription,prop1,val1,prop2... |
github | svndl/mrC-master | slmeval.m | .m | mrC-master/tools/fitting/SLMtools/slmeval.m | 18,308 | utf_8 | 8f8295159c616010956ad404b2b631ad | function y = slmeval(x,slm,evalmode)
% slmeval: evaluates a Hermite function, its derivatives, or its inverse
% usage 1: y = slmeval(x,slm) % evaluates y = f(x)
% usage 2: y = slmeval(x,slm,evalmode) % general form
%
% As opposed to extrapolation as I am, slmeval will not extrapolate
% unless explicitly told... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.