bitsim
Model, simulate, estimate and control robots in C++
Loading...
Searching...
No Matches
bitsim::trajectory::PointToPoint Class Reference

A straight motion from one point of any dimension, such as the joint angles of an arm, to another, timed by a TimeScaling. More...

#include <time_scaling.h>

Public Member Functions

 PointToPoint (std::vector< real_t > start, std::vector< real_t > end, std::shared_ptr< const TimeScaling > timing)
std::vector< real_t > position (real_t t) const
std::vector< real_t > velocity (real_t t) const
std::vector< real_t > acceleration (real_t t) const
real_t duration () const noexcept
const TimeScaling & timing () const noexcept

Detailed Description

A straight motion from one point of any dimension, such as the joint angles of an arm, to another, timed by a TimeScaling.

Constructor & Destructor Documentation

◆ PointToPoint()

bitsim::trajectory::PointToPoint::PointToPoint ( std::vector< real_t > start,
std::vector< real_t > end,
std::shared_ptr< const TimeScaling > timing )

Member Function Documentation

◆ acceleration()

std::vector< real_t > bitsim::trajectory::PointToPoint::acceleration ( real_t t) const

◆ duration()

real_t bitsim::trajectory::PointToPoint::duration ( ) const
inlinenoexcept

◆ position()

std::vector< real_t > bitsim::trajectory::PointToPoint::position ( real_t t) const

◆ timing()

const TimeScaling & bitsim::trajectory::PointToPoint::timing ( ) const
inlinenoexcept

◆ velocity()

std::vector< real_t > bitsim::trajectory::PointToPoint::velocity ( real_t t) const

The documentation for this class was generated from the following files: