PosesampleWalk

by Tim C. Lueth, SG-Lib Toolbox: SolidGeometry 5.6 - 4Bar/Linkages
Introduced first in SolidGeometry 5.1, Creation date: 2021-12-16, Last change: 2025-08-18

pose sample will be integrated into Posesample

Description

Posesample(12)


See Also: Posesample

Example Illustration

 missing image of PosesampleWalk

Syntax

PS=PosesampleWalk

Output Parameter

PS: Posesample(12)

Examples


PosesampleWalk; PS=ans;




Copyright 2021-2025 Tim C. Lueth. All rights reserved. The code is the property of Tim C. Lueth and may not be redistributed or modified without explicit written permission. This software may be used free of charge for academic research and teaching purposes only. Commercial use, redistribution, modification, or reverse engineering is strictly prohibited. Access to source code is restricted and granted only under specific agreements. For licensing inquiries or commercial use, please contact: Tim C. Lueth

Algorithm (Workflow)

This algorithm is a MATLAB function named PosesampleWalk that integrates a pose sample into a Posesample object. It is part of the SolidGeometry library and is used for kinematics and frames.

Input Parameters

The function does not take any input parameters directly. It operates on predefined values and functions within the script.

Output

The function returns a structure PS, which is a Posesample object containing specific fields related to pose samples.

Algorithm Steps

  1. Call the function Posesample(12) to initialize or retrieve a Posesample object. The result is stored in the variable PS.
  2. Create a square using the function PLsquare(80,40) and translate it by adding the vector [15 70]. This result is stored in CPLM.
  3. Create two squares using PLsquare(200,80) and PLsquare(200,10), translating them by [15 60] and [15 -10] respectively. Combine these with a nan nan separator to form CPLW.
  4. Assign CPLM and CPLW to the corresponding fields in the PS structure.
  5. Call stripfields(PS,'A0L','B0L','GAL') to remove specified fields from the PS structure.
  6. Use SGfigure to create a new figure window.
  7. Plot the pose space and the pose using Poseplotspace(PS) and Poseplot(PS).
  8. Commented out lines suggest plotting CPLM and CPLW with specific colors, but these are not executed in the current script.

Functions Used

Algorithm explaination created using ChatGPT on 2025-08-18 22:48. (Please note: No guarantee for the correctness of this explanation)

Last html export of this page out of FM database by TL: 2025-09-21