Frankx  0.2.0
A High-Level Motion API for Franka
Public Types | Public Member Functions | Public Attributes | List of all members
movex::WaypointMotion Struct Reference

#include <motion_waypoint.hpp>

Inheritance diagram for movex::WaypointMotion:
movex::LinearMotion movex::LinearRelativeMotion movex::PositionHold movex::StopMotion

Public Types

using Affine = affx::Affine
 

Public Member Functions

 WaypointMotion ()
 
 WaypointMotion (const std::vector< Waypoint > &waypoints)
 
 WaypointMotion (const std::vector< Waypoint > &waypoints, bool return_when_finished)
 
void setNextWaypoint (const Waypoint &waypoint)
 
void setNextWaypoints (const std::vector< Waypoint > &waypoints)
 
void finish ()
 

Public Attributes

bool reload {false}
 
bool return_when_finished {true}
 
std::vector< Waypointwaypoints
 

Detailed Description

A motion following multiple waypoints (with intermediate zero velocity) in a time-optimal way. Works with aribtrary initial conditions.

Member Typedef Documentation

◆ Affine

using movex::WaypointMotion::Affine = affx::Affine

Constructor & Destructor Documentation

◆ WaypointMotion() [1/3]

movex::WaypointMotion::WaypointMotion ( )
inlineexplicit

◆ WaypointMotion() [2/3]

movex::WaypointMotion::WaypointMotion ( const std::vector< Waypoint > &  waypoints)
inlineexplicit

◆ WaypointMotion() [3/3]

movex::WaypointMotion::WaypointMotion ( const std::vector< Waypoint > &  waypoints,
bool  return_when_finished 
)
inlineexplicit

Member Function Documentation

◆ finish()

void movex::WaypointMotion::finish ( )
inline

◆ setNextWaypoint()

void movex::WaypointMotion::setNextWaypoint ( const Waypoint waypoint)
inline

◆ setNextWaypoints()

void movex::WaypointMotion::setNextWaypoints ( const std::vector< Waypoint > &  waypoints)
inline

Member Data Documentation

◆ reload

bool movex::WaypointMotion::reload {false}

◆ return_when_finished

bool movex::WaypointMotion::return_when_finished {true}

◆ waypoints

std::vector<Waypoint> movex::WaypointMotion::waypoints

The documentation for this struct was generated from the following file: