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
wkentaro/openrave-master
orBodyGetDOF.m
.m
openrave-master/octave_matlab/orBodyGetDOF.m
321
utf_8
b4f10c08ca997cb6c61e2a1927004a98
% dof = orBodyGetDOF(robotid) % % returns the number of active joints of the body function dof = orBodyGetDOF(bodyid) command_str = ['body_getdof ' num2str(bodyid)]; out = orCommunicator(command_str, 1); if(strcmp('error',sscanf(out,'%s',1))) error('Error orBodyGetDOF'); end dof = str2double(out); ...
github
wkentaro/openrave-master
orBodySetJointValues.m
.m
openrave-master/octave_matlab/orBodySetJointValues.m
794
utf_8
e8e8d445bede005f6139ff39151d1240
% orBodySetJointValues(bodyid, values, indices) % % Set the raw joint values of a body. If bodyid is a robot, sets the robot's % joints ignoring its current active degrees of freedom. If a controller on % the robot is running, this function might not have any effect. Instead % use orRobotSetDOFValues % indices [o...
github
wkentaro/openrave-master
orBodyDestroy.m
.m
openrave-master/octave_matlab/orBodyDestroy.m
273
utf_8
2e44cb2126e44ff3efe09253c3db6139
% orBodyDestroy(bodyid) % % Destroys a body of id bodyid. bodyid can also be a robot. function [] = orBodyDestroy(bodyid) out = orCommunicator(['body_destroy ' num2str(bodyid)]); %if(strcmp('error',sscanf(out,'%s',1))) % error('Error destroying body'); %end
github
wkentaro/openrave-master
orEnvTriangulate.m
.m
openrave-master/octave_matlab/orEnvTriangulate.m
1,185
utf_8
abef18bb10e9843d0d547a7d1f573209
% [tripoints, triindices] = orEnvTriangulate(inclusive, ids) % % Returns the triangulation of various objects in the scenes controlled by name and options % Arguments: % inclusive - if 1, will only triangulate the bodies pointed to by ids % if 0, will triangulate all objects except the bodies pointed to...
github
wkentaro/openrave-master
orRobotControllerSet.m
.m
openrave-master/octave_matlab/orRobotControllerSet.m
661
utf_8
6db84a5c7b9c0a193238011a611e0f30
% success = orRobotControllerSet(robotid, controllername, controllerargs) % % Sets a new robot controller and destroys the old. % controllername - name used to query a controller % controllerargs [optional] - the arguments to ControllerBase::Init function success = orRobotControllerSet(robotid, controllername, control...
github
wkentaro/openrave-master
orRobotSetDOFValues.m
.m
openrave-master/octave_matlab/orRobotSetDOFValues.m
919
utf_8
ef3aa5cce0909828706e9b0d74ed37ab
% orRobotSetDOFValues(robotid, values, indices) % % Sets the DOF values of the robot % robotid - unique id of the robot % values - the joint values of the robot % indices [optional] - the indices of the dofs to set of the robot. % If indices is not specified the active degrees of freedom % ...
github
wkentaro/openrave-master
orSetCommunication.m
.m
openrave-master/octave_matlab/orSetCommunication.m
593
utf_8
7e19310ff77b1fda3c942b1d62956acc
% orSetCommunication(ip,port) % % Sets the type of communication to use when sending/receiving OpenRAVE commands. % Arguments: % ip - ip address of computer. If empty, starts internal/in-memory OpenRAVE instance % port - If ip address is vaild, the port to communicate. If ip address was empty, the % OpenRA...
github
wkentaro/openrave-master
orEnvCreateProblem.m
.m
openrave-master/octave_matlab/orEnvCreateProblem.m
897
utf_8
4108e554dd2393b171d161aa07e2337a
% problemid = orEnvCreateProblem(problemname, args, destroyduplicates) % % Creates an instance of a problem and returns its id for future communicate with it % problemname - the problem name % args - a string of arguments to send to the problem's main function % destroyduplicates [optional] - if 1, will destroy any pr...
github
wkentaro/openrave-master
orRobotCheckSelfCollision.m
.m
openrave-master/octave_matlab/orRobotCheckSelfCollision.m
394
utf_8
7574c43c37d5c471dcacf72584f67c57
% dof = orRobotCheckSelfCollision(robotid) % % returns the robot's active degrees of freedom used for planning (not necessary corresponding to joints) function dof = orRobotCheckSelfCollision(robotid) out = orCommunicator(['robot_checkselfcollision ' num2str(robotid)], 1); if(strcmp('error',sscanf(out,'%s',1))) er...
github
wkentaro/openrave-master
orEnvCheckCollision.m
.m
openrave-master/octave_matlab/orEnvCheckCollision.m
1,175
utf_8
8f3db3a4a27b8b4b0e0763e016fd4e00
% [collision, colbodyid,contacts] = orEnvCheckCollision(bodyid,excludeid,getcontacts,linkindex) % % Check collision of the robot with the environment. collision is 1 if the robot % is colliding, colbodyid is the id of the object that body collided with %% bodyid - id of the body %% excludeid - list of ids to exclu...
github
wkentaro/openrave-master
orBodySetJointTorques.m
.m
openrave-master/octave_matlab/orBodySetJointTorques.m
771
utf_8
c9b1da08c65eda8ffc0cf16aeb990ff3
% orBodySetJointTorques(bodyid, values, indices) % % Set the raw joint values of a body. If bodyid is a robot, sets the robot's % joints ignoring its current active degrees of freedom. If a controller on % the robot is running, this function might not have any effect. Instead % use orRobotSetDOFTorques % indices ...
github
wkentaro/openrave-master
orEnvClose.m
.m
openrave-master/octave_matlab/orEnvClose.m
322
utf_8
2efcc16776a615e5ba0265fc38aee4ed
% orEnvClose(figureids) % % closes the figures and plots % figureids - array of ids returned from orEnvPlot or other plotting functions function orEnvClose(figureids) if( exist('figureids','var') && ~isempty(figureids) ) orCommunicator(['close ' sprintf('%d ', figureids(:))]); else orCommunicator('close'); en...
github
wkentaro/openrave-master
loadikfast.m
.m
openrave-master/octave_matlab/examples/loadikfast.m
699
utf_8
3d171b34d0c72c8f5bfbe9ccce8112ea
% loadikfast(robotfile,manipname,iktype) % % Loads an IK solver on a robot's manipulator % Arguments: % robotfile - openrave robot % manipname [optional] - if specified, only tests ik for those manipulators (zero-indexed) function loadikfast(robotfile,manipname,iktype) if( ~exist('robotfile','var') ) robotfile =...
github
wkentaro/openrave-master
QuatFromRotationMatrix.m
.m
openrave-master/octave_matlab/examples/QuatFromRotationMatrix.m
1,886
utf_8
9ea2739616c7066b595b4b1f0efd6ebe
% quat = QuatFromRotationMatrix(R) % % R - 3x3 orthogonal rotation matrix % quat - the format is [cos(angle/2) axis*sin(angle/2)] % Copyright (C) 2008-2009 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % Yo...
github
wkentaro/openrave-master
testik.m
.m
openrave-master/octave_matlab/examples/testik.m
2,352
utf_8
8fa61276eba6a4caa6ef88dc0b3ff0b2
% testik(robotfile,manipname,ikfastlib) % % tests the inverse kinematics solver of a robot % Arguments: % robotfile - openrave robot % manipname [optional] - if specified, only tests ik for that manipulator % rotonly [optional] - if specified and true, only test rotation component of ik solution % ikfastlib [option...
github
wkentaro/openrave-master
testcamerasensor.m
.m
openrave-master/octave_matlab/examples/testcamerasensor.m
699
utf_8
81d6a439e630a24606c01f57e85c4de1
%% Script for simulating a camera and displaying its results in real-time function testcamerasensor(render) more off; % turn off output paging addopenravepaths() if( ~exist('render','var') ) render = [0]; end orEnvLoadScene('data/testwamcamera.env.xml',1); % reset the scene robots = orEnvGetRobots(); robotid = r...
github
wkentaro/openrave-master
testlasersensor.m
.m
openrave-master/octave_matlab/examples/testlasersensor.m
1,292
utf_8
e97b87591c0c394f0a094073acdba3f7
%% Script for simulating a laser range finder and interacting with matlab %% load a robot with a sensor mounted on it function testlasersensor(render) more off; % turn off output paging addopenravepaths() if( ~exist('render','var') ) render = [0,1,2]; end orEnvLoadScene('data/testwamcamera.env.xml',1); % reset t...
github
wkentaro/openrave-master
MakeManusHandTables.m
.m
openrave-master/octave_matlab/examples/doormanipulation/MakeManusHandTables.m
1,524
utf_8
df077566a136bc7c7841850f340a8364
% MakeManusHandTables() % % Makes Manus Hand caging tables % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICEN...
github
wkentaro/openrave-master
RobotGoInitial.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotGoInitial.m
1,257
utf_8
b7fb595dfb29f2a27299c59675ae2008
% RobotGoInitial(robot, home,probid) % % plan to move a robot to its home position (default is all 0s) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License a...
github
wkentaro/openrave-master
rundoormanipulation.m
.m
openrave-master/octave_matlab/examples/doormanipulation/rundoormanipulation.m
4,621
utf_8
aed4f9a2baeaac84e274f282234db926
% rundoormanipulation(plannertype, scenetype) % % Various robots open doors/cupboards from random positions. The function will % continuously sample new robot starting states. % Arguments: % plannertype - 0 for relaxed randomized caging planner % - 1 for discrete caging planner % - 2 for s...
github
wkentaro/openrave-master
PruneGraspSet.m
.m
openrave-master/octave_matlab/examples/doormanipulation/PruneGraspSet.m
1,478
utf_8
4bd33d5e63a99b4b79db0331ba36ae8f
% Gpruned = PruneGraspSet(G, nsize, thresh) % % Prunes region of the grasp set that are too close % nsize - final grasp set size % thresh - pruning threshold (higher reduces grasp set) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not us...
github
wkentaro/openrave-master
WaitForRobot.m
.m
openrave-master/octave_matlab/examples/doormanipulation/WaitForRobot.m
1,114
utf_8
2e98c3c7ae1f25b1ab9e01bfb9e11bf6
% if transform_offset is specified, will return with success = 0 % otherwise will wait until the robot is done and will return with success = 1 % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License....
github
wkentaro/openrave-master
RobotCreateManus.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotCreateManus.m
1,403
utf_8
80196d64f1988f7ee95e49f400b8a8aa
% robot = RobotCreateManus(name, right) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless ...
github
wkentaro/openrave-master
SimpleConstrainedPlanner.m
.m
openrave-master/octave_matlab/examples/doormanipulation/SimpleConstrainedPlanner.m
1,836
utf_8
23ac2c38a3345d518d5339123e55d878
% [success, startgoal, trajname, time, bodytrajname] = SimpleConstrainedPlanner(targettraj,G,Gcontact,target,extraopts) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy...
github
wkentaro/openrave-master
RobotCreatePerMMA.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotCreatePerMMA.m
1,752
utf_8
f3e5368e72e2426808cf5c7d1293f840
% robot = RobotCreatePerMMA(name, right) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless...
github
wkentaro/openrave-master
SetupManusScene.m
.m
openrave-master/octave_matlab/examples/doormanipulation/SetupManusScene.m
2,198
utf_8
247e2c108e5eebed2afba739fcb4a14b
% [robot, P, Gfilename, Gcfilename, target, preshape] = SetupManusScene(withhand) % % setup manus arm scene % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the Lice...
github
wkentaro/openrave-master
RobotCreateBarrettHand.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotCreateBarrettHand.m
1,382
utf_8
891788140bb3190fa8a59aafdcb9f694
% creates the barrett hand robot % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unles...
github
wkentaro/openrave-master
RobotCreateManusHand.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotCreateManusHand.m
1,317
utf_8
db635a445d9136fc267945cebc21a006
% robot = RobotCreatePerMMAHand(name) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless re...
github
wkentaro/openrave-master
RobotCreateBarrettWAM.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotCreateBarrettWAM.m
2,226
utf_8
19347e5fdc200249383821892d0a12c0
% robot = RobotCreateBarrettWAM(name, use4dofarm) % % fills a robot structure with info about the robot, if the robot % exists in the environment, creates it. otherwise % use4dofarm must be specified if robot doesn't exist in the current world % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Ap...
github
wkentaro/openrave-master
TaskConstrainedPlanner.m
.m
openrave-master/octave_matlab/examples/doormanipulation/TaskConstrainedPlanner.m
2,255
utf_8
f301d9790f58b413f3f6c80e7e126ed5
% [success, startgoal, trajname, time, bodytrajname] = % TaskConstrainedPlanner(targettraj,G,Gcontact,target, extraopts) % % Plans with relaxed task constraints % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in com...
github
wkentaro/openrave-master
RobotMoveHand.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RobotMoveHand.m
1,530
utf_8
5685ab8c057aa7c765d5b2a9fb821fe4
% success = RobotMoveHand(robot, preshape) % % moves the robot arm and hand so that the hand can achieve % a collision free preshape % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may ...
github
wkentaro/openrave-master
GenerateGraspSet.m
.m
openrave-master/octave_matlab/examples/doormanipulation/GenerateGraspSet.m
1,833
utf_8
02cc7ae397333be5f515f16d9f2bfe61
% [G, contact] = GenerateGraspSet(robot, setsize, stepsize, targetname, % targetlink, targetjoints, cagesides) % % generate a grasp set for a given target object % G - 7xn grasp set % Gcontact - 7xm contact grasp set % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (...
github
wkentaro/openrave-master
RandomizedRelaxedPlanner.m
.m
openrave-master/octave_matlab/examples/doormanipulation/RandomizedRelaxedPlanner.m
2,824
utf_8
52ff68d4ff07106da5f1e34dbe1166a2
% [success, startgoal, trajname, time, bodytrajname] = % RandomizedRelaxedPlanner(targetgoal,G,Gcontact,target, extraopts) % % Plans with relaxed task constraints using Randomized A* % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file...
github
wkentaro/openrave-master
addopenravepaths_door.m
.m
openrave-master/octave_matlab/examples/doormanipulation/addopenravepaths_door.m
1,155
utf_8
e635956448570d590ac473058c2122f7
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
MakeBarrettHandTables.m
.m
openrave-master/octave_matlab/examples/doormanipulation/MakeBarrettHandTables.m
1,638
utf_8
709f76560130284b086428d83be02852
% MakeBarrettHandTables() % % Makes Barrett Hand caging tables % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/L...
github
wkentaro/openrave-master
SetupWAMScene.m
.m
openrave-master/octave_matlab/examples/doormanipulation/SetupWAMScene.m
3,023
utf_8
f6639693dc042c12a68c7a30447b2c9a
% [robot, P, Gfilename, Gcfilename, target] = SetupWAMScene(withhand, index) % Copyright (C) 2006-2008 Rosen Diankov (rdiankov@cs.cmu.edu) % % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public License as published by % the Free Software Foundation, eith...
github
wkentaro/openrave-master
MakeBarrettHandTable.m
.m
openrave-master/octave_matlab/examples/grasping/MakeBarrettHandTable.m
2,350
utf_8
5a108ad44c8d5bcd9ac72efa933cdafa
% GraspTable = MakeBarrettHandTable(targetfilename, grasptablefilename) % % Makes grasp tables for a particular name and targetfilename combination. % For example: MakeBarrettHandTable('mug1','data/mug1.kinbody.xml') % % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "L...
github
wkentaro/openrave-master
MakeHRP2JSKHandTable.m
.m
openrave-master/octave_matlab/examples/grasping/MakeHRP2JSKHandTable.m
2,467
utf_8
00c4f0b6f3748938342c41130bf9fcdb
% GraspTable = MakeHRP2JSKHandTable(targetfilename, grasptablefilename) % % Makes grasp tables for a particular name and targetfilename combination. % For example: MakeBarrettHandTable('mug1','data/mug1.kinbody.xml') % % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "L...
github
wkentaro/openrave-master
RunGrasps.m
.m
openrave-master/octave_matlab/examples/grasping/RunGrasps.m
1,642
utf_8
e4bde64b00c561798863cf9fa720fa00
% RunGrasps(tablefilename) % % Load and runs each individual grasp in the OpenRAVE window from a GraspTable file % generated by MakeXTable % Copyright (C) 2008-2010 Rosen Diankov, Dmitry Berenson % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with ...
github
wkentaro/openrave-master
AnalyzeGrasp3Dlp.m
.m
openrave-master/octave_matlab/examples/grasping/AnalyzeGrasp3Dlp.m
1,672
utf_8
64dd572086ab6c037b2957de26f3df8b
% mindist = AnalyzeGrasp3Dlp(contacts) % % linear programming way of solving for force closure (similar to AnalyzeGrasp3D) % Copyright (C) 2008 Rosen Diankov (rdiankov@cs.cmu.edu), Dmitry Berenson % This program is free software: you can redistribute it and/or modify % it under the terms of the GNU General Public Lice...
github
wkentaro/openrave-master
RunGrasp.m
.m
openrave-master/octave_matlab/examples/grasping/RunGrasp.m
1,950
utf_8
d38bb80f9d86a5c03830fcb98660fde5
% data = RunGrasp(robot, grasp, Target, noise, mu, affinedof) % % Copyright (C) 2008-2010 Rosen Diankov, Dmitry Berenson % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http:/...
github
wkentaro/openrave-master
RobotCreateHand.m
.m
openrave-master/octave_matlab/examples/grasping/RobotCreateHand.m
1,355
utf_8
f7fe59769fae288100d0cc3b1a0c5dfa
% creates the barrett hand robot % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless require...
github
wkentaro/openrave-master
DrawContacts.m
.m
openrave-master/octave_matlab/examples/grasping/DrawContacts.m
2,019
utf_8
695b56b1ddb7f525c63a5ab21690d469
% handles = DrawContacts(contacts, friction, conelength, transparency) % % draws the contact cones with a specific friction in OpenRAVE % contacts - 6xN vector of N contacts. First 3 rows are position, last 3 are normals % friction - coefficient friction, tan of cone angle % length (optional) - how long to make the con...
github
wkentaro/openrave-master
MakeGraspTable.m
.m
openrave-master/octave_matlab/examples/grasping/MakeGraspTable.m
7,103
utf_8
99c8875467b631017816c259f1421d2c
% [GraspTable, GraspStats] = MakeGraspTable(robot,Target,preshapes,standoffs,rolls,use_noise,stepsize,add_spherenorms) % % this script executes the grasper planner for one environment % filename is the environment file that should be loaded % preshapes (optional) - Dxn table specifying n preshape joint configurati...
github
wkentaro/openrave-master
addopenravepaths_grasping.m
.m
openrave-master/octave_matlab/examples/grasping/addopenravepaths_grasping.m
1,158
utf_8
422450f6fe74e61eaca10b9271d876fe
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
GetBoxApproachDirections.m
.m
openrave-master/octave_matlab/examples/grasping/GetBoxApproachDirections.m
1,858
utf_8
1743f9d71ce26386fe932d0507a7673b
% ApproachDirs = GetBoxApproachDirections(ab,step) % % finds the approach directions given a uniform box sampling around the object of interest % center - 3x1 matrix for center of box % extents - 3x1 matrix for extents of box % step - stepsize between samples on surface of box % ApproachDirs is a 6xN vector where the f...
github
wkentaro/openrave-master
putblock.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/putblock.m
3,691
utf_8
c155634e01c245aeaa550c96d2be547f
% success = putblock(robot, diskid, srcpeg, destpeg, height) % % Given that the arm is grasping a disk, puts the disk onto another peg % a peg's axis is always parallel to its local y axis % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use thi...
github
wkentaro/openrave-master
addopenravepaths_hanoi.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/addopenravepaths_hanoi.m
1,156
utf_8
c68ded482b53d6f4ef575c95bc849c00
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
MoveToHandPosition.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/MoveToHandPosition.m
1,324
utf_8
5569753758cc917e393784ba8b3da6e7
% success = MoveToHandPosition(T) % % moves to the hand position specified by the 3x4 matrix T % success is 1 if succeed or 0 if it didn't % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % Yo...
github
wkentaro/openrave-master
hanoimove.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/hanoimove.m
2,946
utf_8
cc1a3dd7e14f625398ae6035c48041ee
% success = hanoimove(robot, diskname, radius, srcpeg, destpeg, height) % % perform one atomic pick-and-place operation with the arm % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may ...
github
wkentaro/openrave-master
hanoisolve.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/hanoisolve.m
1,484
utf_8
aad59a6691b1433d360d59a1cd5e79df
% conf = hanoisolve(n, from, to, by, oldconf, robot, disknames, diskradius, heights) % % recursive function to solve the hanoi problem % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You ma...
github
wkentaro/openrave-master
RobotCreatePuma.m
.m
openrave-master/octave_matlab/examples/hanoi_puzzle/RobotCreatePuma.m
1,866
utf_8
032157554e2d02a686ee253104734072
% robot = RobotCreatePuma(name) % % create and intiialize a puma robot object structure % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://...
github
wkentaro/openrave-master
SerializeTrajData.m
.m
openrave-master/octave_matlab/examples/graspplanning/SerializeTrajData.m
828
utf_8
aa6d23955e07fed008c0e58dddeb2c05
%trajdata = SerializeTrajData(trajvals,transvals,timevals) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICEN...
github
wkentaro/openrave-master
ParseTrajData.m
.m
openrave-master/octave_matlab/examples/graspplanning/ParseTrajData.m
979
utf_8
55336cc162d7b2f9c89de70bca87b278
%% [trajvals,transvals,timevals] = ParseTrajData(trajdata) %% %% parses a trajectory file % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http...
github
wkentaro/openrave-master
RobotGoInitial.m
.m
openrave-master/octave_matlab/examples/graspplanning/RobotGoInitial.m
1,345
utf_8
00a3dba9330adfe8b61db9dbd30a3749
% success = RobotGoInitial(robot, home) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless ...
github
wkentaro/openrave-master
SetupSceneFromGraspTables.m
.m
openrave-master/octave_matlab/examples/graspplanning/SetupSceneFromGraspTables.m
4,521
utf_8
40f0fd5be7d591fc0ded4fd7b27ea7e7
% [robot,scenedata] = SetupSceneFromGraspTables(scenefile,grasptablefile) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org...
github
wkentaro/openrave-master
RotationMatrixFromAxisAngle.m
.m
openrave-master/octave_matlab/examples/graspplanning/RotationMatrixFromAxisAngle.m
902
utf_8
9e75c0e166deed169f5765f312571396
%% R = RotationMatrixFromAxisAngle(axisangle) %% %% v - is a 3x1 matrix that is axis*angle %% R - 3x3 rotation matrix % Copyright (C) 2008-2009 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy o...
github
wkentaro/openrave-master
WaitForRobot.m
.m
openrave-master/octave_matlab/examples/graspplanning/WaitForRobot.m
1,051
utf_8
23de83c0ed86b096eb6fcc40cb158537
% success = WaitForRobot(robotid) % % waits for the robot to complete its trajectory/become idlwe % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % ...
github
wkentaro/openrave-master
RotationMatrixFromQuat.m
.m
openrave-master/octave_matlab/examples/graspplanning/RotationMatrixFromQuat.m
1,205
utf_8
08aa2a239baef270520921458e709265
% R = RotationMatrixFromQuat(quat) % % quat - the format is [cos(angle/2) axis*sin(angle/2)] % Copyright (C) 2008-2009 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at ...
github
wkentaro/openrave-master
StartTrajectory.m
.m
openrave-master/octave_matlab/examples/graspplanning/StartTrajectory.m
1,519
utf_8
cae063e59603e63e207d86bbb8bd2de9
% success = StartTrajectory(robotid, trajdata) % % Starts a trajectory on the real robot and waits for it, in the end sets the new robot values % in the cloned (current) world. % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file excep...
github
wkentaro/openrave-master
GraspAndPlaceObject.m
.m
openrave-master/octave_matlab/examples/graspplanning/GraspAndPlaceObject.m
12,493
utf_8
f493cb463fc312ec49e08cb82ef87b77
% [success, full_solution_index] = GraspAndPlaceObject(robot, curobj, squeeze, MySwitchModels, SwitchModelPatterns) % % finds a grasp for the current object depending on the environment % The object will be placed on the table % curobj has the following members % - id - unique identifier % - name - openrave name of obj...
github
wkentaro/openrave-master
SetupProblems.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/SetupProblems.m
1,086
utf_8
db6663e10bab78a90d9b5a51c40e0311
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
FindTarget.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/FindTarget.m
861
utf_8
7879bf56a102aeaee1edce27218a17ef
% [name,id] = FindTarget(pattern) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless requir...
github
wkentaro/openrave-master
RobotGoInitial.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/RobotGoInitial.m
1,550
utf_8
3a802939c14c7d63e9ec8808343c8c6e
% success = RobotGoInitial(robot, home) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless ...
github
wkentaro/openrave-master
RotationMatrixFromAxisAngle.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/RotationMatrixFromAxisAngle.m
902
utf_8
9e75c0e166deed169f5765f312571396
%% R = RotationMatrixFromAxisAngle(axisangle) %% %% v - is a 3x1 matrix that is axis*angle %% R - 3x3 rotation matrix % Copyright (C) 2008-2009 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy o...
github
wkentaro/openrave-master
WaitForRobot.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/WaitForRobot.m
1,054
utf_8
77d7eeba1f1e230294ded917446076a3
%% success = WaitForRobot(robotid) %% %% waits for the robot to complete its trajectory/become idlwe % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at ...
github
wkentaro/openrave-master
ImageRegionProps.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/ImageRegionProps.m
925
utf_8
6935b47ec5eccac757bb8404fa3cc9a1
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
InsertRandomObjects.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/InsertRandomObjects.m
3,342
utf_8
decf869d04c2b0eea9912e54afee8a00
% dests = InsertRandomObjects(randomize,tableid,avoidbodyids,targetid) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/li...
github
wkentaro/openrave-master
QuatFromRotationMatrix.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/QuatFromRotationMatrix.m
1,886
utf_8
824f9f527f83a89808eb34f2742955c5
% quat = QuatFromRotationMatrix(R) % % R - 3x3 orthogonal rotation matrix % quat - the format is [cos(angle/2) axis*sin(angle/2)] % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % Yo...
github
wkentaro/openrave-master
GetLargestFreeConvexPolygon.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/GetLargestFreeConvexPolygon.m
5,232
utf_8
6f2236557239de15053a26db0932a3e5
%% GetLargestFreeConvexPolygon(Imask) % % find the biggest area and all the edges around it % randomly sample the edges and record all convex polygons that pass % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance...
github
wkentaro/openrave-master
SetupPA10Scene.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/SetupPA10Scene.m
2,974
utf_8
384f0469c60fa765a91611b37e51d2e2
% [robot, scenedata] = SetupPA10Scene(scene,realrobot,randomize) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses...
github
wkentaro/openrave-master
addopenravepaths_visibilitygrasping.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/addopenravepaths_visibilitygrasping.m
1,169
utf_8
d46067964557a618c4c839894a0a1796
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
RotationMatrixFromQuat.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/RotationMatrixFromQuat.m
1,205
utf_8
08aa2a239baef270520921458e709265
% R = RotationMatrixFromQuat(quat) % % quat - the format is [cos(angle/2) axis*sin(angle/2)] % Copyright (C) 2008-2009 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at ...
github
wkentaro/openrave-master
PrunePoints.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/PrunePoints.m
1,591
utf_8
9c9c297884f0ac719446dc93237daa51
% Gpruned = PrunePoints(G, nsize, thresh2,neighsize,ispose) % % Prunes region of the grasp set that are too close % nsize - final grasp set size % thresh2 - pruning threshold squared (higher reduces grasp set) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); ...
github
wkentaro/openrave-master
RobotMoveJointValues.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/RobotMoveJointValues.m
830
utf_8
dc104143f8ffb97f4c9f3169d5e32d46
% Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by applicable law or agreed to i...
github
wkentaro/openrave-master
StartTrajectory.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/StartTrajectory.m
1,262
utf_8
f579d92f824bc121c9192c87126dc3aa
%% success = StartTrajectory(robotid, trajdata) %% %% Starts a trajectory on the real robot and waits for it, in the end sets the new robot values %% in the cloned (current) world. % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file e...
github
wkentaro/openrave-master
showcameraimage.m
.m
openrave-master/octave_matlab/examples/visibilitygrasping/showcameraimage.m
828
utf_8
d533686230bb03f479629c3b6953f5df
% I=showcameraimage(robotid) % Copyright (C) 2008-2010 Rosen Diankov % % Licensed under the Apache License, Version 2.0 (the "License"); % you may not use this file except in compliance with the License. % You may obtain a copy of the License at % http://www.apache.org/licenses/LICENSE-2.0 % % Unless required by...
github
pratesufop/ReID_framework-master
ICB.m
.m
ReID_framework-master/ICB.m
10,848
utf_8
4df74250917cdc7494dd3321523d0711
function ICB(dataset) % This code is the implementation of the paper : % Appearance-Based Person Re-identification by Intra-Camera Discriminative % Models and Rank Aggregation, ICB (2015). % If you find it useful, please cite our work. % @inproceedings{Prates:2015:ICB, % author = {R. F. de C. Prates and W. ...
github
pratesufop/ReID_framework-master
AVSS2016.m
.m
ReID_framework-master/AVSS2016.m
13,537
utf_8
b52b8524a352a96dee2d5a24c91ce62c
function AVSS2016(fileName,dataset) % dataset viper or prid450s % fileName is the name of the graphic archives, e.g.'myGraph'. In fact, it % will generate one graphic for supervised and other to unsupervised % experiments (e.g., 'myGraph_supervised' and 'myGraph_unsupervised'). % This code implements the method descr...
github
pratesufop/ReID_framework-master
ICPR2016.m
.m
ReID_framework-master/ICPR2016.m
7,672
utf_8
c8ef7976da0166e7f26c20ceb1e93c0b
function ICPR2016(fileName,dataset) % dataset viper or prid450s % fileName is the name of the graphic archives, e.g.'myGraph'. In fact, it % will generate one graphic for supervised and other to unsupervised % % experiments (e.g., 'myGraph_supervised' and 'myGraph_unsupervised'). % This code implements the method des...
github
pratesufop/ReID_framework-master
stuart.m
.m
ReID_framework-master/ranking_aggregation/stuart.m
2,225
utf_8
5034d16c5a0469c454aa0c3b6ac62855
function aggR = stuart(rmat) %STUART Compute aggregated rank with Stuart-Aerts method % aggR = STUART(rmat) % - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - % INPUTS: % rmat numeric matrix with as many rows as the number of % unique elements and with as ma...
github
pratesufop/ReID_framework-master
KernelXCRC_VIPER.m
.m
ReID_framework-master/auxiliary/KernelXCRC_VIPER.m
9,507
utf_8
8102b688180a985e50cd9bba1db696ac
function KernelXCRC close all dataset ='viper'; params.N = 316; % Parameters params.scale =8e-1; params.lambda = 1e-2; params.saveDir = strcat('.\Graphics\',dataset,'\'); workDir = pwd; answer={};legend={}; % loading the partitions that we used in our experiments load(fullfile(workDir,'data',spr...
github
pratesufop/ReID_framework-master
KernelXCRC_CUHK01.m
.m
ReID_framework-master/auxiliary/KernelXCRC_CUHK01.m
9,841
utf_8
d90817f62861d11e54f651580549f220
function KernelXCRC_CUHK01 close all dataset ='cuhk01'; params.N = 485; % Parameters params.scale =1e0; params.lambda = 1e-2; params.saveDir = strcat('.\Graphics\',dataset,'\'); workDir = pwd; answer={};legend={}; % loading the partitions that we used in our experiments load(fullfile(workDir,'dat...
github
xyh2016/MTLF-master
demo.m
.m
MTLF-master/demo.m
5,471
utf_8
c5e29f111e0411a8e512f3c5ab0a237d
function demo warning('off'); close all; % load data disp('Load data...'); data = load('usps-mnist.mat'); data.src_n = size(data.data.train.source,1); data.tar_ntra = size(data.data.train.target,1); data.tar_ntes = size(data.data.test.target,1); data.dim = size(data.data.train.source,2); % init parameters di...
github
PushpakJagtap/Extreme-ANFIS-master
extremeanfis.m
.m
Extreme-ANFIS-master/classification_extreme ANFIS/banana/extremeanfis.m
3,303
utf_8
0fbb3ca2861671ece697001e74f462e7
%Purpose : To train parameters of Extreme-ANFIS % The function extremeANFIS requires following arguments: % 1) trainData => training data in the form of columns % {training data -> [input_1 input_2 ... input_n , output_1, output_2, ... output_k] % size=>(Number of sample)X(n+k) % 2) nMemberFunction => number of...
github
PushpakJagtap/Extreme-ANFIS-master
simextremeanfis.m
.m
Extreme-ANFIS-master/classification_extreme ANFIS/banana/simextremeanfis.m
1,238
utf_8
6c64034a83077ceadb8f6f429a696faf
%Purpose : To simulate final Extreme-ANFIS %The function extremeanfis2fis requires following arguments: % 1) data => as used in extremeanfis % 2) Parameters => structure provided by extremeanfis command %The output of function are: % 1)output => gives final simulated output function output = simextremeanfis...
github
PushpakJagtap/Extreme-ANFIS-master
extremeanfis2fis.m
.m
Extreme-ANFIS-master/classification_extreme ANFIS/banana/extremeanfis2fis.m
1,542
utf_8
22f21225ac09c9ad97aa6f82b992d3db
%Purpose : To creat Takagi Sugeno FIS structure using Extreme-ANFIS trained % Parameters %The function extremeanfis2fis requires following arguments: % 1) trainData => as used in extremeanfis command % 2) Parameters => structure provided by extremeanfis command %The output of function are: % 1) Outp...
github
PushpakJagtap/Extreme-ANFIS-master
extremeanfis.m
.m
Extreme-ANFIS-master/Extreme-ANFIS Algorithm/extremeanfis.m
3,342
utf_8
9f3370cb22d82812be6ebc745af7e8e1
%Purpose : To train parameters of Extreme-ANFIS % The function extremeANFIS requires following arguments: % 1) trainData => training data in the form of columns % {training data -> [input_1 input_2 ... input_n , output_1, output_2, ... output_k] % size=>(Number of sample)X(n+k) % 2) nMemberFunction => number of...
github
PushpakJagtap/Extreme-ANFIS-master
simextremeanfis.m
.m
Extreme-ANFIS-master/Extreme-ANFIS Algorithm/simextremeanfis.m
1,259
utf_8
ccf4fa85de00bcb12503b46349e7385f
%Purpose : To simulate final Extreme-ANFIS %The function extremeanfis2fis requires following arguments: % 1) data => as used in extremeanfis (Only input columns) % 2) Parameters => structure provided by extremeanfis command %The output of function are: % 1)output => gives final simulated output function out...
github
PushpakJagtap/Extreme-ANFIS-master
extremeanfis2fis.m
.m
Extreme-ANFIS-master/Extreme-ANFIS Algorithm/extremeanfis2fis.m
1,537
utf_8
811c2abbf8765add8212fe5fc7a30886
%Purpose : To creat Takagi Sugeno FIS structure using Extreme-ANFIS trained % Parameters %The function extremeanfis2fis requires following arguments: % 1) trainData => as used in extremeanfis command % 2) Parameters => structure provided by extremeanfis command %The output of function are: % 1) Outp...
github
socib/HFRadarReports-master
t_synth.m
.m
HFRadarReports-master/t_tide_octave/t_synth.m
8,134
utf_8
dbc895afd3a727fdeaee554e1e30c4d7
function [sm,lm,tcon]=t_synth(varargin) % T_SYNTH Monte-Carlo test of the error estimation using synthetic data % A single test of the harmonic analysis involves: % % 1) Generation of a "pure" tidal signal with known constituents. % 2) Contamination with noise (according to some statistical model). % 3) The...
github
socib/HFRadarReports-master
t_tide.m
.m
HFRadarReports-master/t_tide_octave/t_tide.m
42,757
utf_8
d95a551c2bc97cf119a8d51ea7171261
function [nameu,fu,tidecon,xout]=t_tide(xin,varargin); pkg load all % T_TIDE Harmonic analysis of a time series % [NAME,FREQ,TIDECON,XOUT]=T_TIDE(XIN) computes the tidal analysis % of the (possibly complex) time series XIN. % % [TIDESTRUC,XOUT]=T_TIDE(XIN) returns the analysis information in % a structure forme...
github
imisra/caffe-icnm-master
classification_demo.m
.m
caffe-icnm-master/matlab/demo/classification_demo.m
4,913
utf_8
e867b082ddf96078b3cba23caf99f0ef
function [scores, maxlabel] = classification_demo(im, use_gpu) % [scores, maxlabel] = classification_demo(im, use_gpu) % % Image classification demo using BVLC CaffeNet. % % IMPORTANT: before you run this demo, you should download BVLC CaffeNet % from Model Zoo (http://caffe.berkeleyvision.org/model_zoo.html) % % *****...
github
terablade2001/CCEXP-master
CCEXP_WRITE.m
.m
CCEXP-master/MATLAB/src/CCEXP_WRITE.m
2,717
utf_8
859445fd0c2e46586ce9dcfcdbf831fd
% MIT License % Copyright (c) 2016 - 2020 Vasileios Kon. Pothos (terablade2001) % https://github.com/terablade2001/CCEXP % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal % in the Software without restriction,...
github
terablade2001/CCEXP-master
CCEXP.m
.m
CCEXP-master/MATLAB/src/CCEXP.m
3,885
utf_8
474d45362e3be2a0c4b14e9aa7d93790
% MIT License % Copyright (c) 2016 - 2020 Vasileios Kon. Pothos (terablade2001) % https://github.com/terablade2001/CCEXP % Permission is hereby granted, free of charge, to any person obtaining a copy % of this software and associated documentation files (the "Software"), to deal % in the Software without restriction,...
github
caomw/period-master
loadjson.m
.m
period-master/tools/marvin/tools/viewer_matlab/loadjson.m
22,559
ibm852
09a85cd74f0d5c9b0eb6ba3396e252d5
function data = loadjson(fname,varargin) % % data=loadjson(fname,opt) % or % data=loadjson(fname,'param1',value1,'param2',value2,...) % % parse a JSON (JavaScript Object Notation) file or string % % authors:Qianqian Fang (fangq<at> nmr.mgh.harvard.edu) % created on 2011/09/09, including previous works from % % ...
github
caomw/period-master
rot2eul.m
.m
period-master/tools/matlab/prep/rot2eul.m
4,250
utf_8
73bfafd0ad5bd14675b989d2c22d87b4
function eul2 = rot2eul( R, varargin ) %ROTM2EUL Convert rotation matrix to Euler angles % EUL = ROTM2EUL(R) converts a 3D rotation matrix, R, into the corresponding % Euler angles, EUL. R is an 3-by-3-by-N matrix containing N rotation % matrices. The output, EUL, is an N-by-3 matrix of Euler rotation angles. % ...
github
caomw/period-master
label.m
.m
period-master/tools/matlab/prep/label.m
6,274
utf_8
7e24dadd047e9dc1e23b81411d1485b0
function label() close all; seqDir = '../../../data/raw/glue/000000'; %% Load all RGB-D frames and create a point cloud % List RGB-D frames colorFiles = dir(fullfile(seqDir,'*.color.png')); depthFiles = dir(fullfile(seqDir,'*.depth.png')); % Load intrinsics K = dlmread(fullfile(seqDir,'intrinsics.K.txt')); % Use ex...
github
caomw/period-master
estimateRt.m
.m
period-master/tools/matlab/recon/estimateRt.m
501
utf_8
d7ad6f4ea024b18ceb9915fec69b9a71
% Usage: Rt = estimateRt(x1, x2) % Rt = estimateRt(x) % % Arguments: % x1, x2 - Two sets of corresponding 3xN set of homogeneous % points. % % x - If a single argument is supplied it is assumed that it % is in the form x = [x1; x2] % Returns: % ...
github
caomw/period-master
show.m
.m
period-master/tools/matlab/recon/lib/peter/show.m
4,944
utf_8
e2225be3d05b416c72fc6f1acbde02d0
% SHOW - Displays an image with the right size and colors and with a title. % % Usage: % h = show(im) % h = show(im, figNo) % h = show(im, title) % h = show(im, figNo, title) % % Arguments: im - Either a 2 or 3D array of pixel values or the name % of an image f...