Stores values for joint position motion generation.
More...
#include <control_types.h>
|
std::array< double, 7 > | q {} |
| Desired joint angles in [rad].
|
|
bool | motion_finished = false |
| Determines whether to finish a currently running motion.
|
|
◆ JointPositions() [1/2]
franka::JointPositions::JointPositions |
( |
const std::array< double, 7 > & |
joint_positions | ) |
|
|
noexcept |
Creates a new JointPositions instance.
- Parameters
-
[in] | joint_positions | Desired joint angles in \([rad]\). |
◆ JointPositions() [2/2]
franka::JointPositions::JointPositions |
( |
std::initializer_list< double > |
joint_positions | ) |
|
Creates a new JointPositions instance.
- Parameters
-
[in] | joint_positions | Desired joint angles in \([rad]\). |
- Exceptions
-
std::invalid_argument | if the given initializer list has an invalid number of arguments. |
The documentation for this class was generated from the following file: