Skip to content

raisim::urdf::UrdfJoint ​

struct · #include <raisim/object/ArticulatedSystem/loaders.hpp>

Internal: URDF joint element parsed by LoadFromURDF2.

Constructors & destructor ​

UrdfJoint ​

cpp
UrdfJoint()

Public attributes ​

name ​

cpp
std::string name

Joint name.

parent ​

cpp
std::string parent

Parent link name.

child ​

cpp
std::string child

Child link name.

type ​

cpp
Joint::Type type

Joint type.

origin ​

cpp
Vec<3> origin

Joint origin offset in parent frame.

rot ​

cpp
Mat<3, 3> rot

Joint orientation in parent frame.

axis ​

cpp
Vec<3> axis

Joint axis in the joint frame.

limit ​

cpp
Vec<2> limit

Joint limits (lower, upper).

damping ​

cpp
double damping

Joint damping coefficient.

friction ​

cpp
double friction

Joint friction coefficient.

stiffness ​

cpp
double stiffness

Joint stiffness coefficient.

rotor_inertia ​

cpp
double rotor_inertia

Rotor inertia about the joint axis.

torque_limit ​

cpp
double torque_limit

Torque limit ("effort"; non-positive means unlimited).

velocity_limit ​

cpp
double velocity_limit

Velocity limit ("velocity").

springMountPos ​

cpp
Vec<4> springMountPos

Spring mount position for torsional/linear springs.

RaiSim — physics for robotics and AI.