dyn::Joint#
rb::dyn::Joint represents one joint in the rigid-body model tree. It
provides factories for fixed, prismatic, and revolute joints and exposes the
limit metadata that model-based code often needs.
Header
Header |
|
Declaration
Namespace |
|
Kind |
|
Primary role |
Represent one joint and its connectivity, motion subspace, and limits. |
Public Member Functions
Method group |
Purpose |
Notes |
|---|---|---|
|
Construct new joint objects. |
Static factories for the main joint families. |
|
Attach or detach parent and child links. |
Use while building or editing a model. |
|
Inspect identity and connectivity. |
Useful during model traversal. |
|
Read or write joint, velocity, acceleration, and torque limits. |
Important for controllers and safety checks. |
Detailed Reference
-
class Joint : public std::enable_shared_from_this<Joint>#
Public Functions
-
void Disconnect()#
-
double GetLimitQddotLower() const#
-
double GetLimitQddotUpper() const#
-
double GetLimitQdotLower() const#
-
double GetLimitQdotUpper() const#
-
double GetLimitQLower() const#
-
double GetLimitQUpper() const#
-
double GetLimitTorque() const#
-
std::string GetName() const#
-
bool IsFixed() const#
-
void SetLimitQ(double lower, double upper)#
-
void SetLimitQddot(double lower, double upper)#
-
void SetLimitQddotLower(double val)#
-
void SetLimitQddotUpper(double val)#
-
void SetLimitQdot(double lower, double upper)#
-
void SetLimitQdotLower(double val)#
-
void SetLimitQdotUpper(double val)#
-
void SetLimitQLower(double val)#
-
void SetLimitQUpper(double val)#
-
void SetLimitTorque(double value)#
Public Static Functions
Friends
- friend class Robot
-
void Disconnect()#
Related Types
Examples
dynamics/load_urdf.cppanddynamics/simple_robot.cppare the most relevant entry points.