sim.world_gen.entity#

Classes#

Entity

Entity class for dynamically spawning world objects via /world/{competition}/create service

Functions#

quaternion_from_euler(→ tuple[float, float, float, float])

Module Contents#

quaternion_from_euler(roll: float, pitch: float, yaw: float) tuple[float, float, float, float]#
class Entity(/, **data: Any)#

Bases: pydantic.BaseModel

Entity class for dynamically spawning world objects via /world/{competition}/create service

name: str#
path_to_sdf: str = ''#
model: str = ''#
position: tuple[float, float, float]#
rpy: tuple[float, float, float]#
world: str#
post_validate() Entity#
validate_path_to_sdf()#
to_entity_factory_msg()#
to_pose()#