Skip to content

raisim::TrackDrive ​

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

A joint that moves the belt of a track: it adds gain * (joint velocity) to the belt speed.

Public attributes ​

joint ​

cpp
std::string joint

Joint name (a revolute, continuous or prismatic joint of the same articulated system).

gain ​

cpp
double gain

Belt speed per unit joint velocity: the pitch radius [m] for a revolute joint, a ratio for a prismatic joint. Negative values run the belt backwards.

gvIndex ​

cpp
size_t gvIndex

Generalized-velocity index of the joint.

bodyIdx ​

cpp
size_t bodyIdx

Local index of the body the joint moves.

RaiSim — physics for robotics and AI.