RobotInfo#
rb::RobotInfo is the static metadata snapshot returned by
Robot::GetRobotInfo(). It bundles robot-level metadata and several smaller
records that describe batteries, power devices, EMO channels, and joints.
Header
Header |
|
Declaration
Namespace |
|
Kind |
|
Primary role |
Provide static robot, joint, and device metadata for client code. |
Public Attributes
Field or record |
Meaning |
Notes |
|---|---|---|
|
Robot model, version, SDK version, subsystem joint indices, and lists of device records. |
This is the top-level record most code reads first. |
|
Metadata for one joint. |
Used inside |
|
Metadata for one power-controlled device. |
Used inside |
|
Metadata for one emergency-stop source. |
Used inside |
|
Battery metadata placeholder or future extension record. |
Carried as part of top-level battery metadata. |
Numeric Fields & Encodings
Field |
Unit / encoding |
Notes |
|---|---|---|
|
Joint count |
Total number of actuated degrees of freedom. |
|
Joint indices |
Model-order joint indices for each subsystem partition. |
Detailed Reference
-
struct RobotInfo#
Public Members
-
BatteryInfo battery_info#
-
std::vector<unsigned int> body_joint_idx = {}#
-
int degree_of_freedom = {}#
-
std::vector<unsigned int> head_joint_idx = {}#
-
std::vector<unsigned int> left_arm_joint_idx = {}#
-
std::vector<unsigned int> mobility_joint_idx = {}#
-
std::vector<unsigned int> right_arm_joint_idx = {}#
-
std::string robot_model_name = {}#
-
std::string robot_model_version = {}#
-
std::string robot_version = {}#
- Deprecated:
Use
robot_model_nameinstead.
-
std::string sdk_commit_id = {}#
- Deprecated:
Use
sdk_versioninstead.
-
std::string sdk_version = {}#
-
std::vector<unsigned int> torso_joint_idx = {}#
-
std::string version = {}#
-
BatteryInfo battery_info#
-
struct JointInfo#
-
struct BatteryInfo#
Related Types
Examples
get_robot_state.cppanddemo_motion.cppare the right entry points when you want to compare static metadata with live state.