SDFormat v1.2 Bindings

Warning

If you want to use these bindings explicitly, you need to import them first:

import skbot.ignition.sdformat.bindings.v12 as v12

Scikit-bot’s SDFormat bindings are realized as a set of dataclasses. Each class corresponds to a unique element found within SDFormat XML and has an attribute for every attribute and child of the corresponding SDFormat element. Names generally match the names used within SDFormat; however, are adapted to python convention where needed.

Elements

v12.actor.Actor([pose, skin, animation, ...])

Parameters

v12.collision.Collision([laser_retro, ...])

The collision properties of a link.

v12.geometry.Geometry([box, sphere, ...])

The shape of the visual or collision object.

v12.joint.Joint([parent, child, pose, ...])

A joint connections two links with kinematic and dynamic properties.

v12.light.Light([cast_shadows, pose, ...])

The light element describes a light source.

v12.link.Link([gravity, self_collide, ...])

A physical link with inertia, collision, and visual properties.

v12.model.Model([static, ...])

The model element defines a complete robot or any other physical object.

v12.physics.Physics([update_rate, ...])

The physics tag specifies the type and properties of the dynamics engine.

v12.scene.Scene([ambient, background, sky, ...])

Specifies the look of the environment.

v12.sensor.Sensor([always_on, update_rate, ...])

The sensor tag describes the type and properties of a sensor.

v12.state.State([time, model, world_name])

Parameters

v12.visual.Visual([cast_shadows, ...])

The visual properties of the link.

v12.world.World([gui, physics, scene, ...])

The world element encapsulates an entire world description including: models, scene, physics, joints, and plugins.