Extension motion_capture

Basic support for motion capture systems.

Version

-

Tags

experimental

Dependencies

signals

Configuration properties

Table 1. properties
Property Type Default Description

frame_rate

number

10

Frame rate limit.

Maximum number of frames that should be forwarded to UAV drivers. Zero or negative numbers mean no frame limit; otherwise, the extension ensures that UAV drivers do not receive position and attitude information more frequently than this threshold.

mapping

object

Name mapping.

Describe how the names of the rigid bodies from mocap systems should be mapped to UAV IDs in Skybrush. Any name that passes all rules will be accepted; use an explicit rejection rule if needed.

Table 2. properties.mapping
Property Type Default Description

rules

array<object>

Rules

[[properties.mapping.rules[]]] .properties.mapping.rules[]

Property Type Default Description

type

enum<string>

strip_prefix

Type.

Possible parameter values:

accept

Accept

reject

Reject

strip_prefix

Strip prefix

strip_suffix

Strip suffix

regex

Regex match

value

string

Value