WebCFace 2.5.2
Web-based Communication Framework & Dashboard-like UI
Loading...
Searching...
No Matches
RobotLinkData Struct Reference

#include <webcface/internal/robot_link_internal.h>

Inheritance diagram for RobotLinkData:
[legend]
Collaboration diagram for RobotLinkData:
[legend]

Public Member Functions

 RobotLinkData ()=default
 
 RobotLinkData (const message::RobotLink &data, const std::vector< std::shared_ptr< RobotLinkData > > &links)
 
void lockJoints (const std::vector< SharedString > &link_names)
 

Public Attributes

SharedString parent_name
 
std::weak_ptr< RobotLinkDataparent_ptr
 
SharedString name
 
SharedString joint_name
 
int joint_parent
 
int joint_type
 
std::array< double, 3 > joint_origin_pos
 
std::array< double, 3 > joint_origin_rot
 
double joint_angle = 0
 
int geometry_type
 
std::vector< double > geometry_properties
 
int color
 

Constructor & Destructor Documentation

◆ RobotLinkData() [1/2]

RobotLinkData ( )
default

◆ RobotLinkData() [2/2]

RobotLinkData ( const message::RobotLink data,
const std::vector< std::shared_ptr< RobotLinkData > > &  links 
)
inlineexplicit

jointのparentをid指定から名前指定に変換

Member Function Documentation

◆ lockJoints()

void lockJoints ( const std::vector< SharedString > &  link_names)

jointのparentを名前指定からid指定に変換 (message送信用)

Member Data Documentation

◆ color

int color
inherited

◆ geometry_properties

std::vector<double> geometry_properties
inherited

◆ geometry_type

int geometry_type
inherited

◆ joint_angle

double joint_angle = 0
inherited

◆ joint_name

SharedString joint_name
inherited

◆ joint_origin_pos

std::array<double, 3> joint_origin_pos
inherited

◆ joint_origin_rot

std::array<double, 3> joint_origin_rot
inherited

◆ joint_parent

int joint_parent
inherited

◆ joint_type

int joint_type
inherited

◆ name

SharedString name
inherited

◆ parent_name

SharedString parent_name

◆ parent_ptr

std::weak_ptr<RobotLinkData> parent_ptr

The documentation for this struct was generated from the following files: