Skip to content

raisin::tcp_viewer::SelectedObjectInfo ​

struct · #include <rayrai/TcpRemoteSceneState.hpp>

Details about a selected object from the remote scene.

Public attributes ​

tag ​

cpp
uint32_t tag

Requested selection tag.

valid ​

cpp
bool valid

The server returned data for the selection.

isArticulated ​

cpp
bool isArticulated

Joint/state fields below are filled only for articulated systems.

gcDim ​

cpp
int32_t gcDim

Generalized-coordinate dimension.

dof ​

cpp
int32_t dof

Degrees of freedom (generalized-velocity dimension).

generalizedCoordinates ​

cpp
std::vector<float> generalizedCoordinates

gcDim values.

generalizedVelocities ​

cpp
std::vector<float> generalizedVelocities

dof values.

jointNames ​

cpp
std::vector<std::string> jointNames

One per movable joint.

jointAngles ​

cpp
std::vector<float> jointAngles

First generalized coordinate of each movable joint.

jointTypes ​

cpp
std::vector<int32_t> jointTypes

raisim::Joint::Type value of each movable joint.

jointGcOffsets ​

cpp
std::vector<int32_t> jointGcOffsets

Offset of each joint into generalizedCoordinates.

jointGcDims ​

cpp
std::vector<int32_t> jointGcDims

Generalized-coordinate count of each joint.

actuators ​

cpp
std::vector<SelectedActuatorInfo> actuators

Actuators; filled only when kProtocolFeatureActuatorState was negotiated.

motorRegionEnforced ​

cpp
bool motorRegionEnforced

Motor torques are clipped to their operating regions.

RaiSim — physics for robotics and AI.