v17.actor.Actor

Warning

This class is autogenerated. More detailed documentation can be found in the SDFormat spec.

class v17.actor.Actor(skin=None, animation=<factory>, script=None, pose=None, link=<factory>, joint=<factory>, plugin=<factory>, name=None)

A special kind of model which can have a scripted motion.

This includes both global waypoint type animations and skeleton animations.

Parameters
skin: Skin file which defines a visual and the underlying skeleton

which moves it.

animation: Animation file defines an animation for the skeleton in

the skin. The skeleton must be compatible with the skin skeleton.

script: Adds scripted trajectories to the actor.
pose: A position(x,y,z) and orientation(roll, pitch yaw) with

respect to the frame named in the relative_to attribute.

link: A physical link with inertia, collision, and visual

properties. A link must be a child of a model, and any number of links may exist in a model.

joint: A joint connects two links with kinematic and dynamic

properties. By default, the pose of a joint is expressed in the child link frame.

plugin: A plugin is a dynamically loaded chunk of code. It can exist

as a child of world, model, and sensor.

name: A unique name for the actor.

Nested Elements

Note that only complex elements are listed here. Elements that resolve to simple types (int, str, bool) are inlined.

v17.actor.Actor.Animation([filename, scale, ...])

Animation file defines an animation for the skeleton in the skin.

v17.actor.Actor.Plugin([any_element, name, ...])

A plugin is a dynamically loaded chunk of code.

v17.actor.Actor.Pose([value, relative_to])

Parameters

v17.actor.Actor.Script([loop, delay_start, ...])

Adds scripted trajectories to the actor.

v17.actor.Actor.Skin([filename, scale])

Skin file which defines a visual and the underlying skeleton which moves it.