Buran Motion Planning Framework
project
core
robot
include
base
link.h
1
#pragma once
2
3
#include <string>
4
#include <Eigen/Core>
5
#include <utility>
6
#include <vector>
7
#include <memory>
8
9
namespace
bmpf {
13
class
Link
{
14
public
:
18
std::string
modelPath
;
22
std::string
name
;
26
std::shared_ptr<Eigen::Matrix4d>
linkTransformMatrix
;
30
Eigen::Matrix3d
inertia
;
34
std::vector<double>
massCenter
;
35
44
Link
(std::string model_path, std::shared_ptr<Eigen::Matrix4d>
linkTransformMatrix
,
45
std::string
name
, Eigen::Matrix3d
inertia
, std::vector<double>
massCenter
46
) :
modelPath
(std::move(model_path)),
linkTransformMatrix
(std::move(
linkTransformMatrix
)),
47
name
(std::move(
name
)),
inertia
(std::move(
inertia
)),
massCenter
(std::move(
massCenter
)) {}
48
53
std::string
toString
()
const
;
54
};
55
}
bmpf::Link::name
std::string name
Definition:
link.h:22
bmpf::Link::inertia
Eigen::Matrix3d inertia
Definition:
link.h:30
bmpf::Link
Definition:
link.h:13
bmpf::Link::Link
Link(std::string model_path, std::shared_ptr< Eigen::Matrix4d > linkTransformMatrix, std::string name, Eigen::Matrix3d inertia, std::vector< double > massCenter)
Definition:
link.h:44
bmpf::Link::modelPath
std::string modelPath
Definition:
link.h:18
bmpf::Link::linkTransformMatrix
std::shared_ptr< Eigen::Matrix4d > linkTransformMatrix
Definition:
link.h:26
bmpf::Link::massCenter
std::vector< double > massCenter
Definition:
link.h:34
bmpf::Link::toString
std::string toString() const
Definition:
link.cpp:9
Generated by
1.8.17