|
WebCFace 3.2.0
Web-based Communication Framework & Dashboard-like UI
|
modelの関節1つを表すクラス More...
#include <webcface/robot_link.h>
Public Member Functions | |
| RobotJoint () | |
| RobotJoint (const std::shared_ptr< internal::RobotLinkData > &msg_data) | |
| RobotJoint (const SharedString &name, const SharedString &parent_name, RobotJointType type, const Transform &origin, double angle) | |
| ~RobotJoint () | |
| RobotJoint (const RobotJoint &other) | |
| RobotJoint & | operator= (const RobotJoint &other) |
| StringView | name () const |
| jointの名前を取得 | |
| WStringView | nameW () const |
| jointの名前を取得 (wstring) | |
| std::optional< RobotLink > | parent () const |
| 親リンクを取得 | |
| RobotJointType | type () const |
| jointの種類 | |
| Transform | origin () const |
| 親リンクの座標系で子リンクの原点 | |
| double | angle () const |
| 初期状態の回転角 | |
Friends | |
| class | RobotLink |
modelの関節1つを表すクラス
ver2.0からメンバ変数ではなくgetter関数に変更 取得時にはjointの情報をshared_ptrで持っているので、 コピーしても同じjointを指す
| RobotJoint | ( | ) |
|
explicit |
| RobotJoint | ( | const SharedString & | name, |
| const SharedString & | parent_name, | ||
| RobotJointType | type, | ||
| const Transform & | origin, | ||
| double | angle | ||
| ) |
|
default |
| RobotJoint | ( | const RobotJoint & | other | ) |
| double angle | ( | ) | const |
初期状態の回転角
| StringView name | ( | ) | const |
jointの名前を取得
ver3.0〜 std::stringの参照から StringView に変更
| WStringView nameW | ( | ) | const |
jointの名前を取得 (wstring)
ver3.0〜 std::wstringの参照から WStringView に変更
| RobotJoint & operator= | ( | const RobotJoint & | other | ) |
| Transform origin | ( | ) | const |
親リンクの座標系で子リンクの原点
| std::optional< RobotLink > parent | ( | ) | const |
親リンクを取得
| RobotJointType type | ( | ) | const |
jointの種類
|
friend |