#include <mc_tvm/Frame.h>
Classes | |
struct | NewFrameToken |
Public Member Functions | |
Frame (NewFrameToken, const mc_rbdyn::Frame &frame) | |
const sva::PTransformd & | position () const noexcept |
const sva::MotionVecd & | velocity () const noexcept |
const mc_rbdyn::Frame & | frame () const noexcept |
Protected Member Functions | |
void | updatePosition () |
void | updateVelocity () |
Protected Attributes | |
const mc_rbdyn::Frame & | frame_ |
sva::PTransformd | position_ = sva::PTransformd::Identity() |
sva::MotionVecd | velocity_ = sva::MotionVecd::Zero() |
Friends | |
struct | mc_rbdyn::Frame |
Represent a frame
It is created through an mc_rbdyn::Frame
It caches (for the duration of a TVM graph update) the position and velocity of the related frame
Outputs:
mc_tvm::Frame::Frame | ( | NewFrameToken | , |
const mc_rbdyn::Frame & | frame | ||
) |
|
inlinenoexcept |
|
inlinenoexcept |
The frame's position in world coordinates
|
protected |
|
protected |
|
inlinenoexcept |
The frame's velocity in world coordinates
|
friend |
|
protected |
Parent instance
|
protected |
|
protected |