_coordinate_operations
Module Contents
Functions
|
Extract coordinates of modules from a body. |
- coords_from_bodies(bodies: list[revolve2.modular_robot.body.base.Body], cob_heuristics: bool) list[numpy.typing.NDArray[numpy.float64]]
Extract coordinates of modules from a body.
- Parameters:
bodies – The bodies.
cob_heuristics – If change of basis heuristic approximation is used.
- Returns:
The array of coordinates.