gazebosim/sdformat

Add DOM classes for *_state elements

開放

#1,554 建立於 2025年4月7日

 (0 則留言) (0 個反應) (0 位負責人)C++ (122 個分叉)auto 404
enhancementhelp wanted

倉庫指標

星標
 (216 顆星)
PR 合併指標
 (平均合併 10天) (30 天內合併 10 個 PR)

描述

Desired behavior

The syntax for specifying model, link, and joint states was updated in the SDFormat specification in https://github.com/gazebosim/sdformat/pull/1461 (inspired by the prototype in https://github.com/gazebosim/gz-sim/pull/2359). The next step is creating DOM classes for the following SDFormat elements to simplify their use in the C++ and python API:

  • Create JointAxisState class for //joint_state/axis_state and //joint_state/axis2_state
  • Create JointState class for //joint_state
  • Create LinkState class for //link_state
  • Create ModelState class for //model_state

Alternatives considered

Implementation suggestion

Follow the patterns used by our existing DOM classes.

Additional context

貢獻者指南