Path Generator - GabrielRumpf/RobotComponents GitHub Wiki

Description

Simulation: This component generates and displays the movement path for a defined robot based on a list of Actions. It can be also used for visually simulating the robot movement inside of Rhino.

Input Parameter

Actions: Defines the movement path based on a list of ordered movement instructions. A movement instruction can be defined by using the Action: Movement component. Note: All Actions can be plugged into this input but will be ignored except for movement instructions.

Interpolations: Defines the resolution per movement based on an integer value. This means that for every two movement targets additional targets are generated in between them based on the interpolations count. Increase this value to get a smoother animation. Note: This can dramatically decrease performance.

Animation Slider: Defines the current robot target which the Axis Values output is generated from based on a double input with range from 0 to 1. You can imagine this as sliding through the timeline of the animation.

Robot Info: Defines the robot based on a Robot Info component.

Display Path: Displays and generates the robot movement path in Rhino if set to true. Not: Decreases dramatically performance if the interpolation count is turned up.

Display Names: Display the movement target names if set to true.

Output Parameter

Axis Values: Contains the current robot axis values as a list of doubles.

Movement Paths: Contains all robot movement paths as a list of curves if the Display Path input is set to true. This also visualizes the path in Rhino.

Usage

Simulation: Plug the Axis Values output of this component into the Axis Values input of the Forward Kinematics component. Visualize the robot movement as animation in Rhino by using a slider with range 0.0 to 1.0 for the Animation Slider input of this component.

General: Visualize the robot movement path inside of Rhino by setting the Calculate Path input of this component to true.

Examples

⚠️ **GitHub.com Fallback** ⚠️