|
RapyutaSimulationPlugins
|
Core UE struct housing entity (robot, object) model data, wrapped by FRREntityModelInfo & FRREntityModelTableRow. More...
#include <RREntityStructs.h>

Public Member Functions | |
| FRREntityModelData (const TArray< FString > &InModelNameList) | |
| FRREntityModelData (TArray< FString > &&InModelNameList) | |
| FRREntityModelData () | |
| bool | IsURDF () const |
| bool | IsSDF () const |
| bool | IsUEDataTable () const |
| bool | IsSingleCAD () const |
| FString | GetModelDescTypeName () const |
| bool | IsWorldModel () const |
| FString | GetModelName () const |
| int32 | GetVisualsNum () const |
| bool | IsUEComponentEnabled (const int32 InTypeMask) const |
| bool | IsUEComponentEnabled (const ERRUEComponentType InTypeMask) const |
| void | SetUEComponentEnabled (const int32 InTypeMask) |
| void | SetUEComponentEnabled (const ERRUEComponentType InTypeMask) |
| bool | IsPlainManipulatorModel () const |
| bool | IsPlainWheeledVehicleModel () const |
| bool | HasDriveComponents () const |
| bool | IsRobotModel () const |
| bool | IsObjectModel () const |
| void | UpdateLinksLocationFromJoints () |
| http://wiki.ros.org/urdf/XML/joint More... | |
| void | RemoveLinkJointProp (const FString &InLinkName) |
| Remove all link properties of InLinkName and its corresponding joint properties having their #ParentLinkName as InLinkName. More... | |
| FRRRobotLinkProperty | GetBaseLinkProp () const |
| Get the property of base link of which the name is denoted by BaseLinkName. More... | |
| FRRRobotLinkProperty | GetLinkProp (const FString &InLinkName) const |
| Get the property of a link by name read from URDF/SDF or CAD like FBX/COLLADA. More... | |
| FRRRobotJointProperty | GetJointProp (const FString &InJointName) const |
| Get the property of a joint by name read from URDF/SDF or CAD like FBX/COLLADA. More... | |
| FRRRobotJointProperty | GetJointPropFromChildLinkName (const FString &InChildLinkName) const |
| Get the property of the first joint having its child link name as InChildLinkName. More... | |
| FRRRobotLinkProperty | FindLinkProp (int8 InLinkIndex) const |
| Get the property of a link by its LinkIndex. More... | |
| FRRRobotJointProperty | FindJointPropByLinkIndex (int8 InLinkIndex) const |
| Get the property of a joint of which the child link name matchs the link property fetched by its LinkIndex. More... | |
| FTransform | GetLinkVisualOffset (int8 InLinkIndex) const |
| Get visual offset transform of a link by its LinkIndex. More... | |
| FTransform | GetLinkAbsoluteTransform (int8 InLinkIndex) const |
| Get the absolute transform of a link (in owner robot's frame) by its LinkIndex. More... | |
| FTransform | GetLinkRelativeTransform (int8 InLinkIndex) const |
| Get the relative transform of a link to its parent by its LinkIndex. More... | |
| FTransform | GetLinkRelTransformToBase (int8 InLinkIndex) const |
| Get the relative transform of a link to base link its LinkIndex. More... | |
| FTransform | GetLinkVisualOffsetToBase (int8 InLinkIndex) const |
| Get the visual offset transform of a link to base link its LinkIndex. More... | |
| FRREntityGeometryInfo | GetVisualInfo () const |
| Get model visual info. More... | |
| FRRMaterialProperty | GetBodyMaterialInfo () const |
| FRRMaterialProperty | GetVisualMaterialInfo () const |
| bool | HasWheel (const FString &InWheelName) const |
| bool | operator== (const FRREntityModelData &OtherModelData) |
| bool | IsValid (bool bIsLogged=false) const |
| void | PrintSelf () const |
Public Attributes | |
| ERREntityDescriptionType | ModelDescType = ERREntityDescriptionType::NONE |
| Robot Model Description Type (URDF/SDF) More... | |
| FString | WorldName |
| bool | bHasWorldJoint = false |
| TArray< FString > | ModelNameList |
| World model: [ModelNameList] >= 1. More... | |
| FVector | TotalSize = FVector::ZeroVector |
| Meshes are async loaded, & so their sizes. More... | |
| FString | BaseFolderPath |
| Path to the base package folder, from which meshes' CAD file paths are defined as relative to. More... | |
| FString | DescriptionFilePath |
| Robot Model Description File (URDF/SDF) More... | |
| int32 | CreatedInstancesNum = 0 |
| FString | ParentFrameName |
| FTransform | RelativeTransform = FTransform::Identity |
| int32 | UEComponentTypeFlags = 0 |
| UE Component types. More... | |
| FString | BaseLinkName |
| TArray< FRRRobotLinkProperty > | LinkPropList |
| TArray< FRRRobotJointProperty > | JointPropList |
| TArray< FRREntityModelData > | ChildModelsData |
| Struct recursion is NOT yet supported for UPROPERTY. More... | |
| FString | WholeBodyStaticMeshName |
| FRRMaterialProperty | WholeBodyMaterialInfo |
| TArray< FString > | ArticulatedLinksNames |
| TArray< FString > | EndEffectorNames |
| TArray< FRRRobotWheelProperty > | WheelPropList |
Core UE struct housing entity (robot, object) model data, wrapped by FRREntityModelInfo & FRREntityModelTableRow.
|
inline |
|
inline |
|
inline |
|
inline |
Get the property of a joint of which the child link name matchs the link property fetched by its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get the property of a link by its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get the property of base link of which the name is denoted by BaseLinkName.
|
inline |
|
inline |
Get the property of a joint by name read from URDF/SDF or CAD like FBX/COLLADA.
| InJointName |
|
inline |
Get the property of the first joint having its child link name as InChildLinkName.
| InChildLinkName |
|
inline |
Get the absolute transform of a link (in owner robot's frame) by its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get the property of a link by name read from URDF/SDF or CAD like FBX/COLLADA.
| InLinkName |
|
inline |
Get the relative transform of a link to its parent by its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get the relative transform of a link to base link its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get visual offset transform of a link by its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
Get the visual offset transform of a link to base link its LinkIndex.
NOTE: LinkIndex is assigned indendently from its index in LinkPropList as building robot skeleton structure
| InLinkIndex |
|
inline |
|
inline |
|
inline |
Get model visual info.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Remove all link properties of InLinkName and its corresponding joint properties having their #ParentLinkName as InLinkName.
| InLinkName |
|
inline |
|
inline |
|
inline |
http://wiki.ros.org/urdf/XML/joint
This is only applied to link/joint properties read from URDF, where the joint locates at the origin of the child
link. JointProp's loc info is a relative location of child link to its parent link. Since every Link other than the
base link has to be connected to another link, the number of joints is fixed.
JointInfo's Location --> Child Link Info
http://sdformat.org/spec?elem=joint
http://sdformat.org/tutorials?tut=pose_frame_semantics
For SDF, typically link visual pose (as relative to child link) is defined independently of joint, which is also
attached to child link.
| TArray<FString> FRREntityModelData::ArticulatedLinksNames |
| FString FRREntityModelData::BaseFolderPath |
Path to the base package folder, from which meshes' CAD file paths are defined as relative to.
| FString FRREntityModelData::BaseLinkName |
| bool FRREntityModelData::bHasWorldJoint = false |
| TArray<FRREntityModelData> FRREntityModelData::ChildModelsData |
Struct recursion is NOT yet supported for UPROPERTY.
| int32 FRREntityModelData::CreatedInstancesNum = 0 |
| FString FRREntityModelData::DescriptionFilePath |
Robot Model Description File (URDF/SDF)
| TArray<FString> FRREntityModelData::EndEffectorNames |
| TArray<FRRRobotJointProperty> FRREntityModelData::JointPropList |
| TArray<FRRRobotLinkProperty> FRREntityModelData::LinkPropList |
| ERREntityDescriptionType FRREntityModelData::ModelDescType = ERREntityDescriptionType::NONE |
Robot Model Description Type (URDF/SDF)
| TArray<FString> FRREntityModelData::ModelNameList |
World model: [ModelNameList] >= 1.
Pure model: [ModelNameList] == 1 if Single else > 1
| FString FRREntityModelData::ParentFrameName |
| FTransform FRREntityModelData::RelativeTransform = FTransform::Identity |
| FVector FRREntityModelData::TotalSize = FVector::ZeroVector |
Meshes are async loaded, & so their sizes.
| int32 FRREntityModelData::UEComponentTypeFlags = 0 |
UE Component types.
| TArray<FRRRobotWheelProperty> FRREntityModelData::WheelPropList |
| FRRMaterialProperty FRREntityModelData::WholeBodyMaterialInfo |
| FString FRREntityModelData::WholeBodyStaticMeshName |
| FString FRREntityModelData::WorldName |
1.8.17