/dports/misc/ompl/ompl-1.5.2/demos/ |
H A D | KinematicChainPathPlot.py | 58 def getPositions(pose, linkLength, color='red'): argument 61 np.insert(linkLength * np.cumsum([np.cos(angles), np.sin(angles)], \ 69 def drawPose(index, env, poses, linkLength): argument 76 plt.gca().add_patch(getPositions(pose, linkLength, \ 79 plt.gca().add_patch(getPositions(poses[index, :], linkLength)) 82 def makeMovie(fname, env, poses, linkLength): argument 84 fargs=(env, poses, linkLength), frames=poses.shape[0], \ 103 linkLength = 1. / dims variable 106 makeMovie('kinematic_%d.mp4' % dims, env, poses, linkLength) 108 drawPose(-1, env, poses, linkLength)
|
H A D | KinematicChain.h | 91 KinematicChainSpace(unsigned int numLinks, double linkLength, Environment *env = nullptr) 92 : ompl::base::RealVectorStateSpace(numLinks), linkLength_(linkLength), environment_(env) in RealVectorStateSpace() 178 double linkLength() const in linkLength() function 213 double linkLength = space->linkLength(); in isValidImpl() local 220 xN = x + cos(theta) * linkLength; in isValidImpl() 221 yN = y + sin(theta) * linkLength; in isValidImpl()
|
/dports/science/opensim-core/opensim-core-4.1/Bindings/Java/Matlab/examples/ |
H A D | KneeReflex_answers.m | 11 linkLength = 0.5; variable 15 thigh.attachGeometry(Ellipsoid(linkLength/10, linkLength/2, linkLength/10)); 24 Vec3(0, linkLength/2, 0), ... % location in child 39 shank.attachGeometry(Ellipsoid(linkLength/10, linkLength/2, linkLength/10)); 43 % - The location of the joint in the parent body is (0, -linkLength/2, 0). 44 % - The location of the joint in the child body is (0, +linkLength/2, 0). 46 thigh, Vec3(0, -linkLength/2, 0), Vec3(0), ... 47 shank, Vec3(0, linkLength/2, 0), Vec3(0)); 60 vastus.addNewPathPoint('origin', thigh, Vec3(linkLength/10, 0, 0)); 61 insertion = Vec3(0.75 * linkLength/10, 0.7 * linkLength/2, 0); [all …]
|
H A D | KneeReflex.m | 17 % - The location of the joint in the parent body is (0, -linkLength/2, 0). 18 % - The location of the joint in the child body is (0, +linkLength/2, 0).
|
/dports/misc/ompl/ompl-1.5.2/demos/PlanarManipulator/ |
H A D | visualize.py | 87 linkLength = float(metadata[1]) 102 return numLinks, linkLength, origin, path, slices 145 linkLength = 1.0 / len(angles) 149 xN = x + (cos(angle) * linkLength) 150 yN = y + (sin(angle) * linkLength) 173 def AnimatePath(obstacles, bounds, numLinks, linkLength, origin, path, slices): argument 197 numLinks, linkLength, origin, path, slices = readPathFile(pathFile) variable 200 AnimatePath(obs, bounds, numLinks, linkLength, origin, path, slices)
|
H A D | PlanarManipulatorDemo.cpp | 180 double linkLength = 1.0 / numLinks; in getTaskSpaceConfig() local 181 double chainLength = numLinks * linkLength; in getTaskSpaceConfig() 201 double linkLength = 1.0 / numLinks; // TODO: pass this in in getXXLDecomp() local 202 double chainLength = numLinks * linkLength; in getXXLDecomp() 307 const double linkLength = 1.0 / numLinks; in WriteVisualization() local 317 …fout << numLinks << " " << linkLength << " " << basePose.translation()(0) << " " << basePose.trans… in WriteVisualization()
|
/dports/science/simbody/simbody-Simbody-3.7/Simbody/tests/adhoc/ |
H A D | ContactTest.cpp | 211 Real linkLength = 20.; // m in main() local 215 const MassProperties pendMProps(PendBallMass, Vec3(0, -linkLength/2, 0), in main() 216 pendBallInertia.shiftFromMassCenter(Vec3(0, -linkLength/2, 0), PendBallMass)); in main() 219 pendBodyInfo.addContactSurface(Vec3(0, -linkLength/2, 0), in main() 221 pendBodyInfo.addDecoration(Vec3(0,-linkLength/2,0), in main() 224 DecorativeLine(Vec3(0,linkLength/2,0),Vec3(0,-linkLength/2,0))); in main() 227 pendBodyInfo, Transform(Vec3(0, linkLength/2, 0))); in main() 228 MobilizedBody::Ball pend2(pend1, Transform(Vec3(0,-linkLength/2,0)), in main() 229 pendBodyInfo, Transform(Vec3(0, linkLength/2, 0))); in main() 233 pend2, Vec3(0, -linkLength/2, 0), in main() [all …]
|
/dports/games/supertuxkart/SuperTuxKart-1.2-src/lib/sheenbidi/Source/ |
H A D | SBLog.c | 209 SBUInteger linkLength; in IsolatingRunForEach() local 213 linkLength = BidiChainGetOffset(bidiChain, nextLink) - linkOffset; in IsolatingRunForEach() 215 linkLength = BidiChainGetOffset(bidiChain, subsequentLink) - linkOffset; in IsolatingRunForEach() 219 for (index = 1; index < linkLength; index++) { in IsolatingRunForEach() 222 linkLength = index; in IsolatingRunForEach() 228 context->length = linkLength; in IsolatingRunForEach()
|
/dports/science/opensim-core/opensim-core-4.1/OpenSim/Examples/ExampleHopperDevice/ |
H A D | buildHopperModel.cpp | 59 double linkMass = 10., linkLength = 0.5, linkRadius = 0.035; in buildHopper() local 61 Inertia::cylinderAlongY(linkRadius, linkLength/2.); in buildHopper() 75 Vec3 linkDistalPoint(0, -linkLength/2., 0); in buildHopper() 76 Vec3 linkProximalPoint(0, linkLength/2., 0); in buildHopper() 188 auto linkGeometry = new Cylinder(linkRadius, linkLength/2.); in buildHopper()
|
/dports/net-p2p/bitmark-recorder/bitmarkd-0.13.3/transactionrecord/ |
H A D | unpack.go | 243 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 249 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 253 n += linkLength 301 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 307 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 311 n += linkLength 442 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 448 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 452 n += linkLength 545 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) [all …]
|
/dports/net-p2p/bitmark-cli/bitmarkd-0.13.3/transactionrecord/ |
H A D | unpack.go | 243 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 249 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 253 n += linkLength 301 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 307 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 311 n += linkLength 442 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 448 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 452 n += linkLength 545 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) [all …]
|
/dports/net-p2p/bitmark/bitmarkd-0.13.3/transactionrecord/ |
H A D | unpack.go | 243 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 249 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 253 n += linkLength 301 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 307 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 311 n += linkLength 442 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 448 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 452 n += linkLength 545 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) [all …]
|
/dports/net-p2p/bitmark-daemon/bitmarkd-0.13.3/transactionrecord/ |
H A D | unpack.go | 243 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 249 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 253 n += linkLength 301 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 307 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 311 n += linkLength 442 linkLength, linkOffset := util.ClippedVarint64(record[n:], 1, 8192) 448 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) 452 n += linkLength 545 err := merkle.DigestFromBytes(&link, record[n:n+linkLength]) [all …]
|
/dports/irc/dxirc/dxirc-1.40.0/qt/ |
H A D | dxutils.cpp | 1620 int linkLength = 0; in createLinks() local 1642 if(linkLength>7) in createLinks() 1646 i+=linkLength-1; in createLinks() 1647 linkLength=0; in createLinks() 1659 if(linkLength>8) in createLinks() 1663 i+=linkLength-1; in createLinks() 1664 linkLength=0; in createLinks() 1676 if(linkLength>6) in createLinks() 1680 i+=linkLength-1; in createLinks() 1681 linkLength=0; in createLinks() [all …]
|
/dports/irc/dxirc/dxirc-1.40.0/fox/dialogs/ |
H A D | logviewer.cpp | 860 FXint linkLength = 0; in appendLinkText() local 883 linkLength++; in appendLinkText() 886 i+=linkLength-1; in appendLinkText() 887 linkLength=0; in appendLinkText() 902 linkLength++; in appendLinkText() 905 i+=linkLength-1; in appendLinkText() 906 linkLength=0; in appendLinkText() 924 i+=linkLength-1; in appendLinkText() 925 linkLength=0; in appendLinkText() 943 i+=linkLength-1; in appendLinkText() [all …]
|
/dports/irc/dxirc/dxirc-1.40.0/fox/tabitems/ |
H A D | dcctabitem.cpp | 524 FXint linkLength = 0; in appendLinkText() local 547 linkLength++; in appendLinkText() 550 i+=linkLength-1; in appendLinkText() 551 linkLength=0; in appendLinkText() 566 linkLength++; in appendLinkText() 569 i+=linkLength-1; in appendLinkText() 570 linkLength=0; in appendLinkText() 588 i+=linkLength-1; in appendLinkText() 589 linkLength=0; in appendLinkText() 607 i+=linkLength-1; in appendLinkText() [all …]
|
/dports/editors/e93/e93/xgui/ |
H A D | misc.c | 188 linkLength; // length of link returned by readlink in realpath2() local 268 …if((linkLength=readlink(outputPath,linkPath,MAXPATHLEN-1))>=0) // attempt to see what this is link… in realpath2() 272 linkPath[linkLength]='\0'; // terminate the path returned by readlink in realpath2() 288 …if(linkLength+strlen(path)<MAXPATHLEN) // make sure the remainder of the path will fit into the bu… in realpath2()
|
/dports/misc/ompl/ompl-1.5.2/demos/quotientspace/ |
H A D | QuotientSpacePlanningKinematicChain.cpp | 45 const double linkLength = 1.0 / numLinks; variable 63 auto spaceK(std::make_shared<KinematicChainSpace>(links, linkLength, &envs.at(links))); in GetQRRT() 100 auto chain(std::make_shared<KinematicChainSpace>(numLinks, linkLength, &env)); in main()
|
/dports/www/yarr/yarr-2.2/src/content/readability/ |
H A D | readability.go | 232 linkLength := 0.0 234 linkLength += float64(len(htmlutil.Text(a))) 237 return float32(linkLength) / float32(textLength)
|
/dports/irc/dxirc/dxirc-1.40.0/fox/ |
H A D | dxtextfield.cpp | 2342 FXint linkLength=0; in updateStyle() local 2381 if(linkLength>7) in updateStyle() 2388 i+=linkLength; in updateStyle() 2389 linkLength=0; in updateStyle() 2401 if(linkLength>8) in updateStyle() 2408 i+=linkLength; in updateStyle() 2409 linkLength=0; in updateStyle() 2428 i+=linkLength; in updateStyle() 2429 linkLength=0; in updateStyle() 2448 i+=linkLength; in updateStyle() [all …]
|
/dports/shells/ksh93/ast-93u/src/lib/libtksh/src/ |
H A D | filecmd.c | 246 int linkLength; local 262 linkLength = -1; 265 linkLength = readlink(fileName, linkValue, sizeof(linkValue) - 1); 267 if (linkLength == -1) { 273 linkValue[linkLength] = 0;
|
/dports/shells/ksh93-devel/ast-cc1bca27/src/lib/libtksh/src/ |
H A D | filecmd.c | 246 int linkLength; local 262 linkLength = -1; 265 linkLength = readlink(fileName, linkValue, sizeof(linkValue) - 1); 267 if (linkLength == -1) { 273 linkValue[linkLength] = 0;
|
/dports/shells/ast-ksh/ast-ksh93v/src/lib/libtksh/src/ |
H A D | filecmd.c | 246 int linkLength; local 262 linkLength = -1; 265 linkLength = readlink(fileName, linkValue, sizeof(linkValue) - 1); 267 if (linkLength == -1) { 273 linkValue[linkLength] = 0;
|
/dports/misc/ompl/ompl-1.5.2/demos/constraint/ |
H A D | ConstrainedPlanningKinematicChain.cpp | 59 …icChainConstraint(unsigned int links, double linkLength) : ob::Constraint(links, 1), linkLength_(l… in KinematicChainConstraint() argument
|
/dports/devel/hs-git-annex/git-annex-8.20210903/_cabal_deps/feed-1.3.0.1/src/Text/Atom/ |
H A D | Feed.hs | 124 , linkLength :: Maybe Text function 246 , linkLength = Nothing function
|