_body_v2

Module Contents

Classes

BodyV2

Body of a V2 modular robot.

class BodyV2

Bases: modular_robot.body.base.Body

Inheritance diagram of modular_robot.body.v2._body_v2.BodyV2

Body of a V2 modular robot.

property core_v2: modular_robot.body.v2._core_v2.CoreV2

Get the specific v2 core of the body.

This function is usd since the base core has fewer attributes than a V2 core. Using this, allows us to specify the return type without overwriting functions of the base module.

Returns:

The v2 core.