1#include "controllers/impedance/VelocityImpedance.hpp"
3#include "controllers/exceptions/NotImplementedException.hpp"
4#include "state_representation/space/joint/JointState.hpp"
5#include "state_representation/space/joint/JointPositions.hpp"
6#include "state_representation/space/joint/JointVelocities.hpp"
7#include "state_representation/space/cartesian/CartesianState.hpp"
8#include "state_representation/space/cartesian/CartesianPose.hpp"
9#include "state_representation/space/cartesian/CartesianTwist.hpp"
13namespace controllers::impedance {
18 "compute_command(desired_state, feedback_state) not implemented for this input class");
25 using namespace std::chrono_literals;
42 using namespace std::chrono_literals;
46 JointState integrated_desired_state = desired_state;
S compute_command(const S &command_state, const S &feedback_state) override
Compute the command output based on the commanded state and a feedback state To be redefined based on...
S compute_command(const S &desired_state, const S &feedback_state) override
Compute the force (task space) or torque (joint space) command based on the input state of the system...
Class to define CartesianPose in cartesian space as 3D position and quaternion based orientation.
Eigen::VectorXd data() const override
Returns the pose data as an Eigen vector.
Class to represent a state in Cartesian space.
void set_pose(const Eigen::Vector3d &position, const Eigen::Quaterniond &orientation)
Setter of the pose from both position and orientation.
Class to define twist in cartesian space as 3D linear and angular velocity vectors.
Class to define a positions of the joints.
Eigen::VectorXd data() const override
Returns the positions data as an Eigen vector.
Class to define a state in joint space.
void set_positions(const Eigen::VectorXd &positions)
Setter of the positions attribute.
Class to define velocities of the joints.
Core state variables and objects.