modular_robots_v2

Standard modular robots.

Module Contents

Functions

all(→ list[revolve2.modular_robot.body.v2.BodyV2])

Get a list of all standard module robots.

get(→ revolve2.modular_robot.body.v2.BodyV2)

Get a robot by name.

gecko_v2(→ revolve2.modular_robot.body.v2.BodyV2)

Sample robot with new HW config.

spider_v2(→ revolve2.modular_robot.body.v2.BodyV2)

Get the spider modular robot.

ant_v2(→ revolve2.modular_robot.body.v2.BodyV2)

Get the ant modular robot.

snake_v2(→ revolve2.modular_robot.body.v2.BodyV2)

Get the snake modular robot.

all() list[revolve2.modular_robot.body.v2.BodyV2]

Get a list of all standard module robots.

Returns:

The list of robots.

get(name: str) revolve2.modular_robot.body.v2.BodyV2

Get a robot by name.

Parameters:

name – The name of the robot to get.

Returns:

The robot with that name.

Raises:

ValueError – When a robot with that name does not exist.

gecko_v2() revolve2.modular_robot.body.v2.BodyV2

Sample robot with new HW config.

Returns:

the robot

spider_v2() revolve2.modular_robot.body.v2.BodyV2

Get the spider modular robot.

Returns:

the robot.

ant_v2() revolve2.modular_robot.body.v2.BodyV2

Get the ant modular robot.

Returns:

the robot.

snake_v2() revolve2.modular_robot.body.v2.BodyV2

Get the snake modular robot.

Returns:

the robot.