9 #include "Transformation.h"
88 void SetBodies(
MultiBody*
const _owner,
const size_t _parentIndex,
89 const size_t _childIndex);
94 void SetBodies(
MultiBody*
const _owner =
nullptr);
100 void SetAdjacentBodies(
MultiBody*
const _owner,
const size_t _firstIndex,
101 const size_t _secondIndex);
108 JointType GetConnectionType() const noexcept;
111 bool IsRevolute() const noexcept;
114 bool IsSpherical() const noexcept;
117 bool IsNonActuated() const noexcept;
122 const
Range<
double>& GetJointRange(const
size_t _i) const noexcept;
128 void SetJointRange(const
size_t _i, const
Range<
double>& _r) noexcept;
135 const
Body* GetPreviousBody() const noexcept;
136 Body* GetPreviousBody() noexcept;
139 size_t GetPreviousBodyIndex() const noexcept;
142 const
Body* GetNextBody() const noexcept;
143 Body* GetNextBody() noexcept;
146 size_t GetNextBodyIndex() const noexcept;
157 Transformation& GetTransformationToBody2() noexcept;
158 const Transformation& GetTransformationToBody2() const noexcept;
161 Transformation& GetTransformationToDHFrame() noexcept;
162 const Transformation& GetTransformationToDHFrame() const noexcept;
172 Transformation m_transformationToBody2;
173 Transformation m_transformationToDHFrame;
176 JointType m_jointType;
177 std::pair<size_t, size_t> m_bodyIndices;
178 std::array<Range<double>, 2> m_jointRange;
std::ostream & operator<<(std::ostream &, const Connection::JointType &)
Definition: Connection.cpp:394
void Read(GenericStateGraph *_g, const std::string &_filename)
Definition: GenericStateGraph.h:1337
Definition: Connection.h:35
Connection & operator=(Connection &&)
Move.
Connection(Connection &&)
Move.
JointType
The supported connection types.
Definition: Connection.h:43
Definition: CountingStreamBuffer.h:20
Definition: DHParameters.h:27
Definition: MultiBody.h:65
A range of numeric values.
Definition: Range.h:17