ReachabilityMap
- class compas_fab.robots.ReachabilityMap[source]
Bases:
Data
The ReachabilityMap describes the reachability of a robot.
The ReachabilityMap describes the reachability of a robot at certain frames, with valid IK solutions at these frames. The map only makes sense to be calculated with analytic inverse kinematic solvers, as they include all possible solutions to be found.
Notes
See Also reuleaux
- Attributes:
- frameslist of list of
compas.geometry.Frame
The frames at which the IK solutions are calculated.
- configurationslist of list of list of
compas_robots.Configuration
The configurations at the frames.
- scorelist of int
The number of solutions per frame list (2D)
points
list ofcompas.geometry.Point
Returns a 1D list of points from the first frame in the list.
- shapetuple of int
The shape of the frames array
- frameslist of list of
Methods
Calculates the reachability map.
Returns the reachable frames and configurations at a specific ik index.
Inherited Methods
Converts the instance to a string.
Make an independent copy of the data object.
Construct an object of this type from a JSON file.
Construct an object of this type from a JSON string.
Compute a hash of the data for comparison during version control using the sha256 algorithm.
Convert an object to its native data representation and save it to a JSON file.
Convert an object to its native data representation and save it to a JSON string.
Validate the data against the object's data schema.