raisin::tcp_viewer::SelectedObjectInfo
struct · #include <rayrai/TcpRemoteSceneState.hpp>
Details about a selected object from the remote scene.
Public attributes
tag
cpp
uint32_t tagRequested selection tag.
valid
cpp
bool validThe server returned data for the selection.
isArticulated
cpp
bool isArticulatedJoint/state fields below are filled only for articulated systems.
gcDim
cpp
int32_t gcDimGeneralized-coordinate dimension.
dof
cpp
int32_t dofDegrees of freedom (generalized-velocity dimension).
generalizedCoordinates
cpp
std::vector<float> generalizedCoordinatesgcDim values.
generalizedVelocities
cpp
std::vector<float> generalizedVelocitiesdof values.
jointNames
cpp
std::vector<std::string> jointNamesOne per movable joint.
jointAngles
cpp
std::vector<float> jointAnglesFirst generalized coordinate of each movable joint.
jointTypes
cpp
std::vector<int32_t> jointTypesraisim::Joint::Type value of each movable joint.
jointGcOffsets
cpp
std::vector<int32_t> jointGcOffsetsOffset of each joint into generalizedCoordinates.
jointGcDims
cpp
std::vector<int32_t> jointGcDimsGeneralized-coordinate count of each joint.
actuators
cpp
std::vector<SelectedActuatorInfo> actuatorsActuators; filled only when kProtocolFeatureActuatorState was negotiated.
motorRegionEnforced
cpp
bool motorRegionEnforcedMotor torques are clipped to their operating regions.