Skip to content

How to identify which features are available from newer URDF versions? #103

@scpeters

Description

@scpeters

We have added some new features in URDF 1.1 and 1.2 (see the urdfdom README), and we consider the URDF version when parsing files in urdfdom 5.1 and 6.0, but I'm now wondering how users of the urdfdom_headers data structure should know which features are available?

Currently the only way I can think to do this is to check the urdfdom_headers package version and map from that version to when features were released:

Feature min urdfdom_headers package version
Capsule geometry 2.1.0
Joint acceleration limit 3.0.0
Joint deceleration limit 3.0.0
Joint jerk limit. 3.0.0

We could consider adding a URDF version field (either a struct or a pair of ints) to the urdf::ModelInterface class, or defining symbols in a header file corresponding to the available features.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions