Frankx
0.2.0
A High-Level Motion API for Franka
|
Go to the documentation of this file.
7 #include <Eigen/Geometry>
9 #include <affx/affine.hpp>
86 spiral_motion = {center, revolutions_per_second, radius_per_revolution};
98 void addForceConstraint(std::optional<double> x = std::nullopt, std::optional<double> y = std::nullopt, std::optional<double> z = std::nullopt) {
const double joint_stiffness
Definition: motion_impedance.hpp:58
bool isActive() const
Definition: motion_impedance.hpp:114
void addForceConstraint(Axis axis, double value)
Definition: motion_impedance.hpp:90
Affine target
Definition: motion_impedance.hpp:60
Type
Definition: motion_impedance.hpp:20
Affine center
Definition: motion_impedance.hpp:40
Axis
Definition: motion_impedance.hpp:18
affx::Affine Affine
Definition: motion_impedance.hpp:16
bool initialized
Definition: motion_impedance.hpp:43
void addForceConstraint(std::optional< double > x=std::nullopt, std::optional< double > y=std::nullopt, std::optional< double > z=std::nullopt)
Definition: motion_impedance.hpp:98
bool finish_after
Definition: motion_impedance.hpp:35
SpiralTargetMotion spiral_motion
Definition: motion_impedance.hpp:51
double finish_wait_factor
Definition: motion_impedance.hpp:36
Definition: motion_impedance.hpp:39
bool initialized
Definition: motion_impedance.hpp:34
double radius_per_revolution
Definition: motion_impedance.hpp:42
Definition: motion_impedance.hpp:15
double exponential_decay
Definition: motion_impedance.hpp:49
const double translational_stiffness
Definition: motion_impedance.hpp:56
void setTarget(const Affine &new_target)
Definition: motion_impedance.hpp:73
void finish()
Definition: motion_impedance.hpp:118
Affine getTarget() const
Definition: motion_impedance.hpp:69
Type type
Definition: motion_impedance.hpp:46
ImpedanceMotion(double translational_stiffness, double rotational_stiffness)
Definition: motion_impedance.hpp:66
std::map< Axis, double > force_constraints
Definition: motion_impedance.hpp:53
Affine relative_target
Definition: motion_impedance.hpp:32
affx::Affine Affine
Definition: motion_generator.hpp:15
void setLinearRelativeTargetMotion(const Affine &relative_target, double duration)
Definition: motion_impedance.hpp:80
double revolutions_per_second
Definition: motion_impedance.hpp:41
double duration
Definition: motion_impedance.hpp:33
bool is_active
Definition: motion_impedance.hpp:61
LinearTargetMotion linear_motion
Definition: motion_impedance.hpp:50
TargetMotion target_motion
Definition: motion_impedance.hpp:48
Definition: motion_impedance.hpp:13
void setSpiralTargetMotion(const Affine ¢er, double revolutions_per_second, double radius_per_revolution)
Definition: motion_impedance.hpp:85
Definition: motion_impedance.hpp:31
TargetMotion
Definition: motion_impedance.hpp:25
bool should_finish
Definition: motion_impedance.hpp:62
ImpedanceMotion(double joint_stiffness)
Definition: motion_impedance.hpp:65
ImpedanceMotion()
Definition: motion_impedance.hpp:64
const double rotational_stiffness
Definition: motion_impedance.hpp:57