8#include <RobotsIO/Utils/SpatialVelocityBuffer.h>
11using namespace RobotsIO::Utils;
14SpatialVelocityBuffer::SpatialVelocityBuffer()
19SpatialVelocityBuffer::~SpatialVelocityBuffer()
23bool SpatialVelocityBuffer::freeze(
const bool blocking)
29void SpatialVelocityBuffer::set_twist(
const Eigen::Vector3d& linear_velocity,
const Eigen::Vector3d& angular_velocity,
const double& elapsed_time)
31 twist_.head<3>() = linear_velocity;
32 twist_.segment<3>(3) = angular_velocity;
33 elapsed_time_ = elapsed_time;
37double SpatialVelocityBuffer::elapsed_time()
43Eigen::VectorXd SpatialVelocityBuffer::twist()