Frankx  0.2.0
A High-Level Motion API for Franka
motion_joint.hpp
Go to the documentation of this file.
1 #pragma once
2 
3 #include <Eigen/Core>
4 
5 
6 namespace movex {
7 
11 struct JointMotion {
12  using Vector7d = Eigen::Matrix<double, 7, 1>;
13 
15 
16  explicit JointMotion(const std::array<double, 7> target): target(target.data()) { }
17 };
18 
19 } // namespace movex
movex::JointMotion::Vector7d
Eigen::Matrix< double, 7, 1 > Vector7d
Definition: motion_joint.hpp:12
movex::JointMotion
Definition: motion_joint.hpp:11
movex::JointMotion::target
const Vector7d target
Definition: motion_joint.hpp:14
movex::JointMotion::JointMotion
JointMotion(const std::array< double, 7 > target)
Definition: motion_joint.hpp:16
movex
Definition: motion_impedance.hpp:13