link_data.cpp
Go to the documentation of this file.
1 /*******************************************************************************
2 * Copyright 2018 ROBOTIS CO., LTD.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 *******************************************************************************/
16 
17 /*
18  * link_data.cpp
19  *
20  * Created on: June 7, 2016
21  * Author: SCH
22  */
23 
25 
26 namespace thormang3
27 {
28 
30 {
31  name_ = "";
32 
33  parent_ = -1;
34  sibling_ = -1;
35  child_ = -1;
36 
37  mass_ = 0.0;
38 
43  inertia_ =robotis_framework::getInertiaXYZ(1.0, 0.0, 0.0, 1.0, 0.0, 1.0);
44 
45  joint_limit_max_ = 100.0;
46  joint_limit_min_ = -100.0;
47 
48  joint_angle_ = 0.0;
49  joint_velocity_ = 0.0;
50  joint_acceleration_ = 0.0;
51 
54  transformation_ = robotis_framework::getTransformationXYZRPY( 0.0 , 0.0 , 0.0 , 0.0 , 0.0 , 0.0);
55 }
56 
58 
59 }
Eigen::MatrixXd joint_center_of_mass_
Definition: link_data.h:55
Eigen::MatrixXd orientation_
Definition: link_data.h:65
double joint_acceleration_
Definition: link_data.h:62
Eigen::Matrix4d getTransformationXYZRPY(double position_x, double position_y, double position_z, double roll, double pitch, double yaw)
Eigen::Vector3d getTransitionXYZ(double position_x, double position_y, double position_z)
double joint_limit_max_
Definition: link_data.h:57
Eigen::MatrixXd position_
Definition: link_data.h:64
Eigen::Matrix3d convertRPYToRotation(double roll, double pitch, double yaw)
double joint_limit_min_
Definition: link_data.h:58
Eigen::MatrixXd joint_axis_
Definition: link_data.h:52
Eigen::MatrixXd center_of_mass_
Definition: link_data.h:53
Eigen::MatrixXd transformation_
Definition: link_data.h:66
Eigen::Matrix3d getInertiaXYZ(double ixx, double ixy, double ixz, double iyy, double iyz, double izz)
double joint_velocity_
Definition: link_data.h:61
Eigen::MatrixXd relative_position_
Definition: link_data.h:51
Eigen::MatrixXd inertia_
Definition: link_data.h:54
std::string name_
Definition: link_data.h:43


thormang3_kinematics_dynamics
Author(s): SCH
autogenerated on Mon Jun 10 2019 15:37:49