Frankx
0.2.0
A High-Level Motion API for Franka
|
#include <motion_waypoint_generator.hpp>
Public Member Functions | |
WaypointMotionGenerator (RobotType *robot, const Affine &frame, WaypointMotion &motion, MotionData &data) | |
void | reset () |
void | init (const franka::RobotState &robot_state, franka::Duration period) |
franka::CartesianPose | operator() (const franka::RobotState &robot_state, franka::Duration period) |
Public Attributes | |
ruckig::Ruckig< RobotType::degrees_of_freedoms > | trajectory_generator {RobotType::control_rate} |
ruckig::InputParameter< RobotType::degrees_of_freedoms > | input_para |
ruckig::OutputParameter< RobotType::degrees_of_freedoms > | output_para |
ruckig::Result | result |
WaypointMotion | current_motion |
std::vector< Waypoint >::iterator | waypoint_iterator |
bool | waypoint_has_elbow {false} |
Vector7d | old_vector |
Affine | old_affine |
double | old_elbow |
double | time {0.0} |
RobotType * | robot |
Affine | frame |
WaypointMotion & | motion |
MotionData & | data |
bool | set_target_at_zero_time {true} |
const size_t | cooldown_iterations {5} |
size_t | current_cooldown_iteration {0} |
Additional Inherited Members | |
Static Public Member Functions inherited from frankx::MotionGenerator | |
static franka::CartesianPose | CartesianPose (const Vector7d &vector, bool include_elbow=true) |
static franka::CartesianPose | CartesianPose (const std::array< double, 7 > &vector, bool include_elbow=true) |
template<class T = double> | |
static std::array< T, 7 > | VectorCartRotElbow (T cart, T rot, T elbow) |
static void | setCartRotElbowVector (Vector7d &vector, double cart, double rot, double elbow) |
static std::array< double, 7 > | toStd (const Vector7d &vector) |
static movex::RobotState< 7 > | convertState (const franka::RobotState &franka) |
template<class RobotType > | |
static std::tuple< std::array< double, 7 >, std::array< double, 7 >, std::array< double, 7 > > | getInputLimits (RobotType *robot, const MotionData &data) |
template<class RobotType > | |
static std::tuple< std::array< double, 7 >, std::array< double, 7 >, std::array< double, 7 > > | getInputLimits (RobotType *robot, const Waypoint &waypoint, const MotionData &data) |
template<class RobotType > | |
static void | setInputLimits (ruckig::InputParameter< 7 > &input_parameters, RobotType *robot, const MotionData &data) |
template<class RobotType > | |
static void | setInputLimits (ruckig::InputParameter< 7 > &input_parameters, RobotType *robot, const Waypoint &waypoint, const MotionData &data) |
|
inlineexplicit |
|
inline |
|
inline |
|
inline |
const size_t frankx::WaypointMotionGenerator< RobotType >::cooldown_iterations {5} |
size_t frankx::WaypointMotionGenerator< RobotType >::current_cooldown_iteration {0} |
WaypointMotion frankx::WaypointMotionGenerator< RobotType >::current_motion |
MotionData& frankx::WaypointMotionGenerator< RobotType >::data |
Affine frankx::WaypointMotionGenerator< RobotType >::frame |
ruckig::InputParameter<RobotType::degrees_of_freedoms> frankx::WaypointMotionGenerator< RobotType >::input_para |
WaypointMotion& frankx::WaypointMotionGenerator< RobotType >::motion |
Affine frankx::WaypointMotionGenerator< RobotType >::old_affine |
double frankx::WaypointMotionGenerator< RobotType >::old_elbow |
Vector7d frankx::WaypointMotionGenerator< RobotType >::old_vector |
ruckig::OutputParameter<RobotType::degrees_of_freedoms> frankx::WaypointMotionGenerator< RobotType >::output_para |
ruckig::Result frankx::WaypointMotionGenerator< RobotType >::result |
RobotType* frankx::WaypointMotionGenerator< RobotType >::robot |
bool frankx::WaypointMotionGenerator< RobotType >::set_target_at_zero_time {true} |
double frankx::WaypointMotionGenerator< RobotType >::time {0.0} |
ruckig::Ruckig<RobotType::degrees_of_freedoms> frankx::WaypointMotionGenerator< RobotType >::trajectory_generator {RobotType::control_rate} |
bool frankx::WaypointMotionGenerator< RobotType >::waypoint_has_elbow {false} |
std::vector<Waypoint>::iterator frankx::WaypointMotionGenerator< RobotType >::waypoint_iterator |